From 32b3b5dd6290ae5c33edee2860a3edd9f3044d43 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Fri, 14 Dec 2018 12:59:09 -0500 Subject: Fix NFS issues with Nova There are problems with Nova launching instantces due to permissions with nova being able to read/write certain directories on the NFS. The permissions are right on the NFS and the folders the NFS mounts to, but there still seems to be issues. The cause may be using a directory under /root as the NFS mount. This patch moves the NFS mounts to be individual folders under /. The patch also restart nova_compute docker container as NFS problems still persist unless this is done. JIRA: APEX-654 Change-Id: I25eee98c1a6516dfa44c686c2e614f6dc7000d98 Signed-off-by: Tim Rozet --- build/csit-environment.yaml | 4 ++-- build/csit-queens-environment.yaml | 4 ++-- build/csit-rocky-environment.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'build') diff --git a/build/csit-environment.yaml b/build/csit-environment.yaml index 9572504a..58676dc6 100644 --- a/build/csit-environment.yaml +++ b/build/csit-environment.yaml @@ -19,11 +19,11 @@ parameter_defaults: '139 allow NFS': dport: 2049 GlanceNfsEnabled: true - GlanceNfsShare: overcloud-controller-0.opnfvlf.org:/root/nfs/glance + GlanceNfsShare: overcloud-controller-0.opnfvlf.org:/glance 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 + NovaNfsShare: overcloud-controller-0.opnfvlf.org:/nova NovaNfsOptions: 'rw,sync,nosharecache,context=system_u:object_r:nfs_t:s0' DockerPuppetProcessCount: 10 NeutronNetworkVLANRanges: 'datacentre:500:525' diff --git a/build/csit-queens-environment.yaml b/build/csit-queens-environment.yaml index 2cf3f02b..2252bb02 100644 --- a/build/csit-queens-environment.yaml +++ b/build/csit-queens-environment.yaml @@ -19,11 +19,11 @@ parameter_defaults: '139 allow NFS': dport: 2049 GlanceNfsEnabled: true - GlanceNfsShare: overcloud-controller-0.opnfvlf.org:/root/nfs/glance + GlanceNfsShare: overcloud-controller-0.opnfvlf.org:/glance 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 + NovaNfsShare: overcloud-controller-0.opnfvlf.org:/nova NovaNfsOptions: 'rw,sync,nosharecache,context=system_u:object_r:nfs_t:s0' DockerPuppetProcessCount: 10 NeutronNetworkVLANRanges: 'datacentre:500:525' diff --git a/build/csit-rocky-environment.yaml b/build/csit-rocky-environment.yaml index 9572504a..58676dc6 100644 --- a/build/csit-rocky-environment.yaml +++ b/build/csit-rocky-environment.yaml @@ -19,11 +19,11 @@ parameter_defaults: '139 allow NFS': dport: 2049 GlanceNfsEnabled: true - GlanceNfsShare: overcloud-controller-0.opnfvlf.org:/root/nfs/glance + GlanceNfsShare: overcloud-controller-0.opnfvlf.org:/glance 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 + NovaNfsShare: overcloud-controller-0.opnfvlf.org:/nova NovaNfsOptions: 'rw,sync,nosharecache,context=system_u:object_r:nfs_t:s0' DockerPuppetProcessCount: 10 NeutronNetworkVLANRanges: 'datacentre:500:525' -- cgit 1.2.3-korg