Disable "wait_for_external_config" while applying 9.x

Right now 9.x deployment contains 50min timeout created for astute.yaml
modifications but it useless and consumes time when we want to apply
9.x over 9.0 via bootsrtap_admin_node.sh
Updater script https://review.openstack.org/346119 without this timeout
is under development. We can save about 1h of deployment with this
temporary solution before the updater script will be released.

Change-Id: Icd2b9906c3c3195970f858a4164920b959616352
This commit is contained in:
Vladimir Khlyunev 2016-08-04 10:27:08 +03:00
parent f73341b7c5
commit 54dfee94d7
1 changed files with 9 additions and 0 deletions

View File

@ -670,6 +670,15 @@ class EnvironmentModel(object):
logger.info('{0} package(s) were updated'.format(updates_count))
# 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(
ip=self.ssh_manager.admin_ip,
cmd='sed -i '
'"s/wait_for_external_config=yes/wait_for_external_config=no/"'
' /etc/fuel/bootstrap_admin_node.conf')
# end of temporary solution
cmd = 'bootstrap_admin_node.sh;'
self.ssh_manager.execute_on_remote(