aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormeimei <meimei@huawei.com>2016-09-02 11:48:48 +0800
committermeimei <meimei@huawei.com>2016-09-02 11:48:48 +0800
commit6eaa6c7f62f2f11eb082f911188d7c1109a93051 (patch)
treee835fff5a11d05d464eebf20be8af6d01b9d424b
parente09136c215f9166a98ced9bcced6e068a3ed73d4 (diff)
sleep 10 second after restart neutron server
the reason is creating external net random failed after restarting neutron server. Change-Id: I955eb072a06ad71e795c154c52ccf0e19c505897 Signed-off-by: meimei <meimei@huawei.com>
-rw-r--r--deploy/adapters/ansible/openstack_mitaka/roles/ext-network/tasks/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/openstack_mitaka/roles/ext-network/tasks/main.yml b/deploy/adapters/ansible/openstack_mitaka/roles/ext-network/tasks/main.yml
index 4d2afc24..b52b9178 100644
--- a/deploy/adapters/ansible/openstack_mitaka/roles/ext-network/tasks/main.yml
+++ b/deploy/adapters/ansible/openstack_mitaka/roles/ext-network/tasks/main.yml
@@ -17,6 +17,9 @@
- name: restart neutron server
service: name=neutron-server state=restarted enabled=yes
+- name: wait for neutron time
+ shell: "sleep 10"
+
- name: create external net
neutron_network:
login_username: ADMIN