summaryrefslogtreecommitdiffstats
path: root/plugins/odl_cluster/roles/setup-odl/tasks/control-agents-1.yml
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-07-23 11:01:16 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2018-07-25 01:23:39 +0000
commitb2e6652fe13ee557e0d7a107e3bb426a9214a102 (patch)
treeacccbc9afe8bb429215f3ad16667ecc99e105e69 /plugins/odl_cluster/roles/setup-odl/tasks/control-agents-1.yml
parentc93bdd489e9f8270b69f19ee233ebd82aa708b80 (diff)
Fix ODL failure
JIRA: COMPASS-604 1. add delay in ovs restart 2. modify physnet mapping Change-Id: I5a7cef2fb03f355c00a1ea442694715643ae4ab8 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'plugins/odl_cluster/roles/setup-odl/tasks/control-agents-1.yml')
-rwxr-xr-xplugins/odl_cluster/roles/setup-odl/tasks/control-agents-1.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/odl_cluster/roles/setup-odl/tasks/control-agents-1.yml b/plugins/odl_cluster/roles/setup-odl/tasks/control-agents-1.yml
index bc2f53d7..91ca514c 100755
--- a/plugins/odl_cluster/roles/setup-odl/tasks/control-agents-1.yml
+++ b/plugins/odl_cluster/roles/setup-odl/tasks/control-agents-1.yml
@@ -39,6 +39,8 @@
- name: Stop the Open vSwitch service and clear existing OVSDB
shell: >
service {{ service_ovs_name }} stop ;
+ sleep 3;
rm -rf /var/log/openvswitch/* ;
rm -rf /etc/openvswitch/conf.db ;
+ sleep 3;
service {{ service_ovs_name }} start ;