diff options
author | carey.xu <carey.xuhan@huawei.com> | 2016-01-05 11:34:47 +0800 |
---|---|---|
committer | carey.xu <carey.xuhan@huawei.com> | 2016-01-05 12:35:39 +0800 |
commit | 17f7976ddcfb41a9c805cc9a5cb9f5db3518787f (patch) | |
tree | 896a5a95b2d3bc27c752be53d67e19b94a33ac8c | |
parent | b5160506030443b5abe2bda7112110e236b387a1 (diff) |
set nova default floating pool for functest
JIRA: COMPASS-241
Change-Id: I53528db5162aa8149e0edce88efc2aa158d175bd
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
-rw-r--r-- | deploy/adapters/ansible/openstack/templates/nova.conf | 4 | ||||
-rw-r--r-- | deploy/client.py | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/deploy/adapters/ansible/openstack/templates/nova.conf b/deploy/adapters/ansible/openstack/templates/nova.conf index cec11440..52773598 100644 --- a/deploy/adapters/ansible/openstack/templates/nova.conf +++ b/deploy/adapters/ansible/openstack/templates/nova.conf @@ -22,9 +22,7 @@ api_paste_config=/etc/nova/api-paste.ini volumes_path=/var/lib/nova/volumes enabled_apis=osapi_compute,metadata -vif_plugging_is_fatal: false -vif_plugging_timeout: 0 - +default_floating_pool={{ public_net_info.network }} auth_strategy = keystone rpc_backend = rabbit diff --git a/deploy/client.py b/deploy/client.py index 9bb0c5ed..62d12885 100644 --- a/deploy/client.py +++ b/deploy/client.py @@ -856,6 +856,7 @@ class CompassClient(object): ) break else: + time.sleep(5) continue elif cluster_state['state'] == 'SUCCESSFUL': @@ -926,9 +927,9 @@ def deploy(): client.set_all_hosts_roles(cluster_id) client.deploy_clusters(cluster_id) - threading.Thread(target=client.get_installing_progress, args=(cluster_id,)).start() LOG.info("compass OS installtion is begin") - print_ansible_log() + threading.Thread(target=print_ansible_log).start() + client.get_installing_progress(cluster_id) client.check_dashboard_links(cluster_id) def redeploy(): |