diff options
author | Tim Rozet <trozet@redhat.com> | 2018-04-06 13:44:27 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2018-04-10 00:49:49 +0000 |
commit | 814c37ee17c9e797b5a4f1944bd52facf22fb513 (patch) | |
tree | 5365262539147b95597ed6220287acb0336931d0 /lib/ansible | |
parent | 08da57b0c19b9d1236b36d6b82a39fba6a10c0f1 (diff) |
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 <trozet@redhat.com>
(cherry picked from commit fc3f52862e181967e861eb8bce4604ac47c176ac)
Diffstat (limited to 'lib/ansible')
-rw-r--r-- | lib/ansible/playbooks/post_deploy_overcloud.yml | 17 |
1 files changed, 17 insertions, 0 deletions
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' |