1 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2 Date: Wed, 17 Aug 2016 16:18:26 +0200
3 Subject: [PATCH] deploy: Fix/add bootstrap DEA override delay
5 Previous change adding support for DEA to override bootstrap config
6 did not account for slow execution on remote servers, so add a
7 one minute sleep before checking for completition of fuel install.
9 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
11 deploy/install_fuel_master.py | 4 +++-
12 1 file changed, 3 insertions(+), 1 deletion(-)
14 diff --git a/deploy/install_fuel_master.py b/deploy/install_fuel_master.py
15 index 808d0b1..1a7685a 100644
16 --- a/deploy/install_fuel_master.py
17 +++ b/deploy/install_fuel_master.py
18 @@ -196,11 +196,13 @@ class InstallFuelMaster(object):
19 self.work_dir, os.path.basename(self.dea_file)))
21 def wait_until_installation_completed(self):
25 CMD = 'ps -ef | grep %s | grep -v grep' % BOOTSTRAP_ADMIN
27 install_completed = False
29 + self.wait_for_node_up()
31 for i in range(WAIT_LOOP):
32 ret = self.ssh.exec_cmd(CMD)