diff options
author | QiLiang <liangqi1@huawei.com> | 2016-07-27 03:54:11 +0800 |
---|---|---|
committer | QiLiang <liangqi1@huawei.com> | 2016-07-27 17:03:27 +0800 |
commit | c472aacf66bc655a83979df9193380021a205ada (patch) | |
tree | 562a7c5343acefbdfcc7a83f90d15c5c4958f2a5 /deploy/adapters | |
parent | 066462ec9d7c5c19134cdafb74144244a336ccaf (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')
-rwxr-xr-x | deploy/adapters/ansible/openstack_mitaka_xenial/roles/odl_cluster/tasks/openvswitch.yml | 5 |
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 |