From 712f98bc5abd36f36cf5c47556b96c3e49202ad9 Mon Sep 17 00:00:00 2001 From: Anton Chevychalov Date: Thu, 29 Sep 2016 19:03:07 +0300 Subject: [PATCH] [Jenkins] fix order in do_update procedure Starting update after api geting ready Change-Id: Ia484e076f89de1817e465820ce7d9153d890eb16 --- jenkins/build_cluster/build_cluster.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jenkins/build_cluster/build_cluster.py b/jenkins/build_cluster/build_cluster.py index 3a3ba39..50e1ae7 100755 --- a/jenkins/build_cluster/build_cluster.py +++ b/jenkins/build_cluster/build_cluster.py @@ -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() -- 2.45.2