aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/install_fuel_master.py
diff options
context:
space:
mode:
authorPeter Barabas <peter.barabas@ericsson.com>2016-01-18 15:03:07 +0100
committerStefan Berg <sfb@consultron.com>2016-01-29 14:25:53 +0100
commite411b37291297105770229f06a95edcb3ff4be49 (patch)
treeba2a4169c6cc9113a12288e4be1b797adc1a5b8e /deploy/install_fuel_master.py
parent19f52239658b8e8b905acf4e8613db51f8d03e02 (diff)
Uplift deployment code for Fuel 8.0
Change-Id: If784cbd7371133bd35e95004a11e9802660ac332 Signed-off-by: Peter Barabas <peter.barabas@ericsson.com> (cherry picked from commit 91257ff4ee78f32081af2e652f58a5ba9e834f61)
Diffstat (limited to 'deploy/install_fuel_master.py')
-rw-r--r--deploy/install_fuel_master.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/deploy/install_fuel_master.py b/deploy/install_fuel_master.py
index e3a7327c0..4f6a0527b 100644
--- a/deploy/install_fuel_master.py
+++ b/deploy/install_fuel_master.py
@@ -87,7 +87,7 @@ class InstallFuelMaster(object):
log('Found FUEL menu as PID %s, now killing it' % fuel_menu_pid)
self.ssh_exec_cmd('kill %s' % fuel_menu_pid, False)
- log('Wait until installation complete')
+ log('Wait until installation is complete')
self.wait_until_installation_completed()
log('Waiting for one minute for Fuel to stabilize')
@@ -117,6 +117,7 @@ class InstallFuelMaster(object):
plugin_files = []
with self.ssh as s:
for plugin_location in [PLUGINS_DIR, LOCAL_PLUGIN_FOLDER]:
+ s.exec_cmd('mkdir -p %s' % plugin_location)
r = s.exec_cmd('find %s -type f -name \'*.rpm\''
% plugin_location)
plugin_files.extend(r.splitlines())
@@ -130,7 +131,7 @@ class InstallFuelMaster(object):
'failed: %s' % (f, e))
def wait_for_node_up(self):
- WAIT_LOOP = 60
+ WAIT_LOOP = 240
SLEEP_TIME = 10
success = False
for i in range(WAIT_LOOP):