aboutsummaryrefslogtreecommitdiffstats
path: root/patches/opnfv-fuel/0039-deploy-Fix-add-bootstrap-DEA-override-delay.patch
blob: 94b3071e808c87a260d7e9ca43d7992bcb0a0b22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Date: Wed, 17 Aug 2016 16:18:26 +0200
Subject: [PATCH] deploy: Fix/add bootstrap DEA override delay

Previous change adding support for DEA to override bootstrap config
did not account for slow execution on remote servers, so add a
one minute sleep before checking for completition of fuel install.

Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
---
 deploy/install_fuel_master.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/deploy/install_fuel_master.py b/deploy/install_fuel_master.py
index 808d0b1..404474c 100644
--- a/deploy/install_fuel_master.py
+++ b/deploy/install_fuel_master.py
@@ -201,6 +201,8 @@ class InstallFuelMaster(object):
         CMD = 'ps -ef | grep %s | grep -v grep' % BOOTSTRAP_ADMIN
 
         install_completed = False
+        time.sleep(60)
+        self.wait_for_node_up()
         with self.ssh:
             for i in range(WAIT_LOOP):
                 ret = self.ssh.exec_cmd(CMD)