From 0e0a291295998e77820e4b55f380d845fb509842 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Mon, 10 Dec 2018 11:31:33 -0500 Subject: 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 --- build/csit-environment.yaml | 5 +++-- build/csit-queens-environment.yaml | 5 +++-- build/csit-rocky-environment.yaml | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) (limited to 'build') 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: -- cgit 1.2.3-korg