sw-manager patch-strategy failed to install due to timeout

As part of this fix, alarm clear wait time is
increased to 3600sec. 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.

The change in timeout will not affect the orchestration
time. This time is only to wait for the another api/service
to finish the application apply.

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:
Vanathi.Selvaraju 2024-03-27 15:53:55 -04:00 committed by Vanathi Selvaraju
parent b65a9f2539
commit f71e226f51
1 changed files with 3 additions and 3 deletions

View File

@ -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