sw-manager patch-strategy failed to install due to timeout
As part of this fix, alarm clear wait time is increased to 2400sec. Alarm 750.006 takes more than 30mins to get cleared. So, the current alarm clear wait time of 1800sec is not sufficient and so the patch-strategy times out. Test Plan: PASSED: On DX system, Create patch-strategy with timeout of 1800 sec, strategy apply times out. todo : On DX system, Create patch-strategy with timeout of 2400 sec, strategy apply completes successfully. Closes-Bug: 2059305 Change-Id: I7ebaf5a24fa45a7e45f3af7e5ca588ce3ee06156 Signed-off-by: Vanathi.Selvaraju <vanathi.selvaraju@windriver.com>
This commit is contained in:
parent
b65a9f2539
commit
f2b081c418
|
@ -992,7 +992,7 @@ class UpdateControllerHostsMixin(object):
|
|||
# OSDs configured, but the alarms should clear quickly in
|
||||
# that case so this will not delay the update strategy.
|
||||
stage.add_step(strategy.WaitAlarmsClearStep(
|
||||
timeout_in_secs=30 * 60,
|
||||
timeout_in_secs=40 * 60,
|
||||
ignore_alarms=self._ignore_alarms))
|
||||
else:
|
||||
# Less time required if host is not rebooting
|
||||
|
@ -1025,7 +1025,7 @@ class UpdateControllerHostsMixin(object):
|
|||
# OSDs configured, but the alarms should clear quickly in
|
||||
# that case so this will not delay the update strategy.
|
||||
stage.add_step(strategy.WaitAlarmsClearStep(
|
||||
timeout_in_secs=30 * 60,
|
||||
timeout_in_secs=40 * 60,
|
||||
ignore_alarms=self._ignore_alarms))
|
||||
else:
|
||||
# Less time required if host is not rebooting
|
||||
|
@ -1297,7 +1297,7 @@ class UpdateWorkerHostsMixin(object):
|
|||
for host in hosts_to_lock + hosts_to_reboot]):
|
||||
# Multiple personality nodes that need to wait for OSDs to sync:
|
||||
stage.add_step(strategy.WaitAlarmsClearStep(
|
||||
timeout_in_secs=30 * 60,
|
||||
timeout_in_secs=40 * 60,
|
||||
ignore_alarms=self._ignore_alarms))
|
||||
else:
|
||||
if any([host.openstack_control or host.openstack_compute
|
||||
|
|
Loading…
Reference in New Issue