From: Tim Rozet Date: Fri, 6 Apr 2018 17:44:27 +0000 (-0400) Subject: Fix functional issues after nosdn deployment X-Git-Tag: opnfv-7.0.0~68^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=fc3f52862e181967e861eb8bce4604ac47c176ac;p=apex.git Fix functional issues after nosdn deployment After deploying with nosdn, it looks like there is some out of state issue between the services. First guess looks like something is going on with the services and timing of registering to each other through rabbit. Simply restarting the services seems to sync them back up correctly. Change-Id: I417911067c841725ee12eb9354e5759054724e01 Signed-off-by: Tim Rozet --- diff --git a/lib/ansible/playbooks/post_deploy_overcloud.yml b/lib/ansible/playbooks/post_deploy_overcloud.yml index af1c648a..13623f26 100644 --- a/lib/ansible/playbooks/post_deploy_overcloud.yml +++ b/lib/ansible/playbooks/post_deploy_overcloud.yml @@ -51,3 +51,20 @@ owner: root group: tacker become: yes + - name: Restart Controller Neutron/Nova Services (Pike Workaround) + shell: "systemctl restart {{ item }}" + become: yes + when: + - "'controller' in ansible_hostname" + - os_version == 'pike' + with_items: + - neutron-server + - openstack-nova-api + - openstack-nova-scheduler + - openstack-nova-conductor + - name: Restart Compute Nova Compute (Pike Workaround) + shell: "systemctl restart openstack-nova-compute" + become: yes + when: + - "'compute' in ansible_hostname" + - os_version == 'pike'