aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/client.py
diff options
context:
space:
mode:
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():