summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2018-04-09 21:33:49 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-04-09 21:33:49 +0000
commit049cf8ea3e0074fc42bcfd3c23df71517c530ca2 (patch)
tree391b72c23d419108c44bee5184dcf714523d64b0 /lib
parent3812d0987d078a8a0ad93724e8188994b7579e50 (diff)
parentfc3f52862e181967e861eb8bce4604ac47c176ac (diff)
Merge "Fix functional issues after nosdn deployment"
Diffstat (limited to 'lib')
-rw-r--r--lib/ansible/playbooks/post_deploy_overcloud.yml17
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'