From 17f7976ddcfb41a9c805cc9a5cb9f5db3518787f Mon Sep 17 00:00:00 2001 From: "carey.xu" Date: Tue, 5 Jan 2016 11:34:47 +0800 Subject: set nova default floating pool for functest JIRA: COMPASS-241 Change-Id: I53528db5162aa8149e0edce88efc2aa158d175bd Signed-off-by: carey.xu --- deploy/client.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'deploy/client.py') 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(): -- cgit 1.2.3-korg