summaryrefslogtreecommitdiffstats
path: root/build
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 13:44:54 -0500
commit0e0a291295998e77820e4b55f380d845fb509842 (patch)
tree8356d7dfeb0595e82ce8b8bbf0b946b066a31f98 /build
parent46bf00b967844dc712dfe409e55fc5fe18fa119f (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>
Diffstat (limited to 'build')
-rw-r--r--build/csit-environment.yaml5
-rw-r--r--build/csit-queens-environment.yaml5
-rw-r--r--build/csit-rocky-environment.yaml5
3 files changed, 9 insertions, 6 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:
diff --git a/build/csit-rocky-environment.yaml b/build/csit-rocky-environment.yaml
index 74e0c1fc..9572504a 100644
--- a/build/csit-rocky-environment.yaml
+++ b/build/csit-rocky-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: