aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/client.py
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2016-01-05 11:34:47 +0800
committercarey.xu <carey.xuhan@huawei.com>2016-01-05 12:35:39 +0800
commit17f7976ddcfb41a9c805cc9a5cb9f5db3518787f (patch)
tree896a5a95b2d3bc27c752be53d67e19b94a33ac8c /deploy/client.py
parentb5160506030443b5abe2bda7112110e236b387a1 (diff)
set nova default floating pool for functest
JIRA: COMPASS-241 Change-Id: I53528db5162aa8149e0edce88efc2aa158d175bd Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/client.py')
-rw-r--r--deploy/client.py5
1 files changed, 3 insertions, 2 deletions
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():