From e97d7c590f5800c26aae71993481ce6efa4f91fd Mon Sep 17 00:00:00 2001 From: meimei Date: Fri, 2 Sep 2016 11:48:48 +0800 Subject: 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 (cherry picked from commit 6eaa6c7f62f2f11eb082f911188d7c1109a93051) --- .../adapters/ansible/openstack_mitaka/roles/ext-network/tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'deploy/adapters') 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 -- cgit 1.2.3-korg