Do not show fuelmenu while applying 9.x

The updater script is still on development so we have to use
bootstrap_admin_node.sh. Also there is an issue in devops that
is preventing fuelmenu appearing. Lasts, we are not able to
quit from fuelmenu after it appears.

Change-Id: Ifea88dde2e7ccb045172603eed182bd8db12ba79
Related-bug:1607402
This commit is contained in:
Vladimir Khlyunev 2016-08-12 13:27:29 +03:00
parent e2806c0778
commit 475754156c
1 changed files with 16 additions and 1 deletions

View File

@ -672,6 +672,10 @@ class EnvironmentModel(object):
logger.info('{0} package(s) were updated'.format(updates_count))
logger.warning(
"'bootstrap_admin_node.sh' is used for applying 9.x release."
"It should be replaced with proper procedure when it will be "
"merged - https://review.openstack.org/#/c/346119/ ")
# this is temporary solution for disabling 50min timeout;
# should be removed when the main script for 9.0->9.x will be merged
self.ssh_manager.execute_on_remote(
@ -680,7 +684,18 @@ class EnvironmentModel(object):
'"s/wait_for_external_config=yes/wait_for_external_config=no/"'
' /etc/fuel/bootstrap_admin_node.conf',
raise_on_assert=False)
# end of temporary solution
# devops is creating ssh connection without associated tty
# which leads to broken fuelmenu. we do not need to call fuelmenu
# while applying 9.x so turn it off
# this is only addition to fix for fuel-devops for unlocking usb thread
# without devops bump
self.ssh_manager.execute_on_remote(
ip=self.ssh_manager.admin_ip,
cmd='sed -i '
'"s/showmenu=yes/showmenu=no/"'
' /etc/fuel/bootstrap_admin_node.conf',
raise_on_assert=False)
# end of temporary solutions
cmd = 'bootstrap_admin_node.sh;'