diff options
author | meimei <meimei@huawei.com> | 2016-09-02 11:48:48 +0800 |
---|---|---|
committer | mei mei <meimei@huawei.com> | 2016-09-06 01:59:43 +0000 |
commit | e97d7c590f5800c26aae71993481ce6efa4f91fd (patch) | |
tree | 42dffd2b609c6789f7b5f0b191b6f7d240c4788e /deploy/adapters/ansible/openstack_mitaka/roles | |
parent | 0960913b0d973299b2d93d32d0f558ce607c5f5a (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>
(cherry picked from commit 6eaa6c7f62f2f11eb082f911188d7c1109a93051)
Diffstat (limited to 'deploy/adapters/ansible/openstack_mitaka/roles')
-rw-r--r-- | deploy/adapters/ansible/openstack_mitaka/roles/ext-network/tasks/main.yml | 3 |
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 |