aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters
diff options
context:
space:
mode:
authorshuai chen <chenshuai@huawei.com>2016-07-27 03:12:03 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-27 03:12:03 +0000
commit3f8f101b2559e0e3e96a7780658488defc57114d (patch)
tree2486e17dbeee27947984e9c7fc5026f13b5e2192 /deploy/adapters
parentb6deb316ef82f2b5dedfb1de8fa8b573c2bedbcf (diff)
parentc472aacf66bc655a83979df9193380021a205ada (diff)
Merge "Fix br-int check timeout issues"
Diffstat (limited to 'deploy/adapters')
-rwxr-xr-xdeploy/adapters/ansible/openstack_mitaka_xenial/roles/odl_cluster/tasks/openvswitch.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/openstack_mitaka_xenial/roles/odl_cluster/tasks/openvswitch.yml b/deploy/adapters/ansible/openstack_mitaka_xenial/roles/odl_cluster/tasks/openvswitch.yml
index 33099104..021143fc 100755
--- a/deploy/adapters/ansible/openstack_mitaka_xenial/roles/odl_cluster/tasks/openvswitch.yml
+++ b/deploy/adapters/ansible/openstack_mitaka_xenial/roles/odl_cluster/tasks/openvswitch.yml
@@ -41,6 +41,11 @@
- name: set opendaylight as the manager
command: su -s /bin/sh -c "ovs-vsctl set-manager tcp:{{ internal_vip.ip }}:6640;"
+- name: restart keepalived to recover external IP before check br-int
+ shell: service keepalived restart
+ when: inventory_hostname in groups['odl']
+ ignore_errors: True
+
- name: check br-int
shell: ovs-vsctl list-br | grep br-int; while [ $? -ne 0 ]; do sleep 10; ovs-vsctl list-br | grep br-int; done