Skip to content

Commit 3cec59b

Browse files
committed
fix: Intermittent compute errors on GCP multi-zone and single-zone(PSCLOUD-338)
1 parent c300919 commit 3cec59b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

roles/baseline/defaults/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ CSI_DRIVER_NFS_CONFIG:
135135
mountPermissions: "0777"
136136
mountOptions:
137137
- "{{ 'vers=3' if (PROVIDER == 'gcp' and STORAGE_TYPE_BACKEND == 'netapp') else 'vers=4.1' }}"
138-
- nolock
139138
- noatime
140139
- nodiratime
141140
- rsize=262144

roles/baseline/tasks/nfs-csi-provisioner.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,7 @@
179179
volumeBindingMode: Immediate
180180
allowVolumeExpansion: true
181181
mountOptions:
182-
- "{{ 'nfsvers=3' if (PROVIDER == 'gcp' and STORAGE_TYPE_BACKEND == 'netapp') else ('nfsvers=4.1' if (V4_CFG_RWX_FILESTORE_PATH != '/volumes' and '-export' not in V4_CFG_RWX_FILESTORE_PATH) else 'nfsvers=4.1') }}"
183-
- nolock
182+
- "{{ 'nfsvers=3' if (PROVIDER == 'gcp' and STORAGE_TYPE_BACKEND == 'netapp') else ('nfsvers=4.1' if (V4_CFG_RWX_FILESTORE_PATH != '/volumes' and '-export' not in V4_CFG_RWX_FILESTORE_PATH) else 'nolock') }}"
184183
- noatime
185184
- nodiratime
186185
- rsize=262144

0 commit comments

Comments
 (0)