]> review.fuel-infra Code Review - tools/sustaining.git/commitdiff
[Jenkins] fix order in do_update procedure 36/27036/1
authorAnton Chevychalov <achevychalov@mirantis.com>
Thu, 29 Sep 2016 16:03:07 +0000 (19:03 +0300)
committerAnton Chevychalov <achevychalov@mirantis.com>
Thu, 29 Sep 2016 16:04:56 +0000 (19:04 +0300)
Starting update after api geting ready

Change-Id: Ia484e076f89de1817e465820ce7d9153d890eb16

jenkins/build_cluster/build_cluster.py

index 3a3ba39ddc2550d3cb7f527e12326ca47c7c8e34..50e1ae7c0c5609b50175e5dc86632243d5094f60 100755 (executable)
@@ -703,6 +703,10 @@ def main():
 
     inject_ifconfig_ssh()
 
+    start_slaves()
+
+    wait_for_api_is_ready()
+
     if cfg["UPDATE_FUEL"]=="true":
         if do_update(
             admin_ssh_conn_line(usr = cfg["FUEL_SSH_USERNAME"],subnet=cfg["ADMIN_SUBNET"]),
@@ -711,10 +715,6 @@ def main():
         else:
             print("ERROR: unable to update fuel")
 
-    start_slaves()
-
-    wait_for_api_is_ready()
-
     configure_nailgun()
 
     wait_for_cluster_is_ready()