summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2018-12-10 11:31:33 -0500
committerTim Rozet <trozet@redhat.com>2018-12-10 17:22:17 -0500
commite8c24d82adaf05d2a2e09a5c55ce31b555bffb09 (patch)
tree0b793629dbd84dd68ef489254151f8c18f501b14
parent21ac6e686defbb97c73ec03aa8fd3d65c8f63767 (diff)
Fixes mount issues with NFS
There were issues related to moving to NFS for CSIT that included random failures when mounting the NFS. Big thanks to radez for figuring out that the issue was because the mounts were sharing the same root dir, and thus the same context. Using nosharecache fixes the problem. JIRA: APEX-654 Change-Id: Ic52d91a4abfe3db6289ce6a880c1f85ce5af7d0e Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 0e0a291295998e77820e4b55f380d845fb509842)
-rw-r--r--build/csit-environment.yaml5
-rw-r--r--build/csit-queens-environment.yaml5
2 files changed, 6 insertions, 4 deletions
diff --git a/build/csit-environment.yaml b/build/csit-environment.yaml
index 74e0c1fc..9572504a 100644
--- a/build/csit-environment.yaml
+++ b/build/csit-environment.yaml
@@ -20,10 +20,11 @@ parameter_defaults:
dport: 2049
GlanceNfsEnabled: true
GlanceNfsShare: overcloud-controller-0.opnfvlf.org:/root/nfs/glance
- GlanceNfsOptions: 'rw,sync,context=system_u:object_r:glance_var_lib_t:s0'
+ GlanceNfsOptions:
+ 'rw,sync,nosharecache,context=system_u:object_r:glance_var_lib_t:s0'
NovaNfsEnabled: true
NovaNfsShare: overcloud-controller-0.opnfvlf.org:/root/nfs/nova
- NovaNfsOptions: 'rw,sync,context=system_u:object_r:nfs_t:s0'
+ NovaNfsOptions: 'rw,sync,nosharecache,context=system_u:object_r:nfs_t:s0'
DockerPuppetProcessCount: 10
NeutronNetworkVLANRanges: 'datacentre:500:525'
SshServerOptions:
diff --git a/build/csit-queens-environment.yaml b/build/csit-queens-environment.yaml
index 2ecb1fc5..2cf3f02b 100644
--- a/build/csit-queens-environment.yaml
+++ b/build/csit-queens-environment.yaml
@@ -20,10 +20,11 @@ parameter_defaults:
dport: 2049
GlanceNfsEnabled: true
GlanceNfsShare: overcloud-controller-0.opnfvlf.org:/root/nfs/glance
- GlanceNfsOptions: 'rw,sync,context=system_u:object_r:glance_var_lib_t:s0'
+ GlanceNfsOptions:
+ 'rw,sync,nosharecache,context=system_u:object_r:glance_var_lib_t:s0'
NovaNfsEnabled: true
NovaNfsShare: overcloud-controller-0.opnfvlf.org:/root/nfs/nova
- NovaNfsOptions: 'rw,sync,context=system_u:object_r:nfs_t:s0'
+ NovaNfsOptions: 'rw,sync,nosharecache,context=system_u:object_r:nfs_t:s0'
DockerPuppetProcessCount: 10
NeutronNetworkVLANRanges: 'datacentre:500:525'
SshServerOptions: