summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2018-12-14 12:59:09 -0500
committerTim Rozet <trozet@redhat.com>2018-12-14 22:32:21 -0500
commit2957ee6912f1c7a2cb71da7ece878bd2b188e5c9 (patch)
tree01cf059e5d2d8d5dec2fbd83651ab4932da14b88 /lib
parent06da44b76d254987d41b083960b2f3637175a791 (diff)
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 <trozet@redhat.com> (cherry picked from commit 32b3b5dd6290ae5c33edee2860a3edd9f3044d43)
Diffstat (limited to 'lib')
-rw-r--r--lib/ansible/playbooks/post_deploy_overcloud.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/ansible/playbooks/post_deploy_overcloud.yml b/lib/ansible/playbooks/post_deploy_overcloud.yml
index 882b0126..f3dbfbd2 100644
--- a/lib/ansible/playbooks/post_deploy_overcloud.yml
+++ b/lib/ansible/playbooks/post_deploy_overcloud.yml
@@ -54,12 +54,10 @@
- openstack-nova-api
- openstack-nova-scheduler
- openstack-nova-conductor
- - name: Restart Compute Nova Compute (Pike Workaround)
- shell: "systemctl restart openstack-nova-compute"
+ - name: Restart Compute Nova Compute (workaround for NFS)
+ shell: "docker restart nova_compute"
become: yes
- when:
- - "'compute' in ansible_hostname"
- - os_version == 'pike'
+ when: "'compute' in ansible_hostname or all_in_one"
- name: Update ODL container restart policy to always
shell: "docker update --restart=always opendaylight_api"
become: yes