diff options
author | Tim Rozet <trozet@redhat.com> | 2018-12-11 12:30:11 -0500 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2018-12-11 12:30:11 -0500 |
commit | 0f627cb3baa816b2eebb4dd786482edd582db86c (patch) | |
tree | 93290ec03cfe41add04c72e81bd036541c9042f5 | |
parent | 0e0a291295998e77820e4b55f380d845fb509842 (diff) |
Fixes permissions issue for Nova with NFS
There is an issue when nova user in the nova compute container tries to
write a file a in the nova instance path when using NFS. It looks to be
resolved by fixing permissions on the NFS directory.
JIRA: APEX-654
Change-Id: Ifbf3b17a8c13938fd1e7c2dabf3086322be82c69
Signed-off-by: Tim Rozet <trozet@redhat.com>
-rw-r--r-- | apex/overcloud/deploy.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apex/overcloud/deploy.py b/apex/overcloud/deploy.py index 41b2d56b..f40c8bd4 100644 --- a/apex/overcloud/deploy.py +++ b/apex/overcloud/deploy.py @@ -445,6 +445,9 @@ def prep_image(ds, ns, img, tmp_dir, root_pw=None, docker_tag=None, {con.VIRT_RUN_CMD: "mkdir -p /root/nfs/glance"}, {con.VIRT_RUN_CMD: "mkdir -p /root/nfs/cinder"}, {con.VIRT_RUN_CMD: "mkdir -p /root/nfs/nova"}, + {con.VIRT_RUN_CMD: "chmod 777 /root/nfs/glance"}, + {con.VIRT_RUN_CMD: "chmod 777 /root/nfs/cinder"}, + {con.VIRT_RUN_CMD: "chmod 777 /root/nfs/nova"}, {con.VIRT_RUN_CMD: "echo '/root/nfs/glance *(rw,sync," "no_root_squash,no_acl)' > /etc/exports"}, {con.VIRT_RUN_CMD: "echo '/root/nfs/cinder *(rw,sync," |