From 814c37ee17c9e797b5a4f1944bd52facf22fb513 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Fri, 6 Apr 2018 13:44:27 -0400 Subject: 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 (cherry picked from commit fc3f52862e181967e861eb8bce4604ac47c176ac) --- lib/ansible/playbooks/post_deploy_overcloud.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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' -- cgit 1.2.3-korg