aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/openstack_mitaka_xenial
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2016-07-27 03:54:11 +0800
committerQiLiang <liangqi1@huawei.com>2016-07-27 17:03:27 +0800
commitc472aacf66bc655a83979df9193380021a205ada (patch)
tree562a7c5343acefbdfcc7a83f90d15c5c4958f2a5 /deploy/adapters/ansible/openstack_mitaka_xenial
parent066462ec9d7c5c19134cdafb74144244a336ccaf (diff)
Fix br-int check timeout issues
JIRA: COMPASS-444 Change-Id: I0bf2de6b3a18e198e00fdde9cee262f2e3c57169 Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/openstack_mitaka_xenial')
-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