docker: build: Fix docker connectivity loss
[armband.git] / patches / opnfv-fuel / 0039-deploy-Fix-add-bootstrap-DEA-override-delay.patch
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
4
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.
8
9 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
10 ---
11  deploy/install_fuel_master.py | 2 ++
12  1 file changed, 2 insertions(+)
13
14 diff --git a/deploy/install_fuel_master.py b/deploy/install_fuel_master.py
15 index 808d0b1..404474c 100644
16 --- a/deploy/install_fuel_master.py
17 +++ b/deploy/install_fuel_master.py
18 @@ -201,6 +201,8 @@ class InstallFuelMaster(object):
19          CMD = 'ps -ef | grep %s | grep -v grep' % BOOTSTRAP_ADMIN
20  
21          install_completed = False
22 +        time.sleep(60)
23 +        self.wait_for_node_up()
24          with self.ssh:
25              for i in range(WAIT_LOOP):
26                  ret = self.ssh.exec_cmd(CMD)