Alarm 750.006 alarm takes too long to clear up

Alarm 750.006 is waiting for vim operation to
complete and vim waits for 750.006 to get cleared
creating a deadlock case. The current patch strategy
has a timeout of 30mins to clear the alarm if exists.
The timeout has been reduced to 2mins to avoid
longer wait time.

Test Plan:
PASSED: Verified patch update, after 2mins
the alarm is ignored and vim operation continues.
PASSED: Verified that patch update continues,
when configuration is reapplied and alarm 750.006
is cleared.

Closes-Bug: 2091315

Change-Id: I050e424c65fa741d8807fc813aced6f060f80286
Signed-off-by: Vanathi.Selvaraju <vanathi.selvaraju@windriver.com>
This commit is contained in:
Vanathi.Selvaraju 2024-12-09 13:02:32 -05:00 committed by Vanathi Selvaraju
parent 430fc58417
commit 62fda5d298

View File

@ -1454,7 +1454,7 @@ class SwPatchStrategy(SwUpdateStrategy,
'100.119', # PTP alarm for SyncE
'900.701', # Node tainted
]
IGNORE_ALARMS_CONDITIONAL = {'750.006': 1800}
IGNORE_ALARMS_CONDITIONAL = {'750.006': 120}
self._ignore_alarms += IGNORE_ALARMS
self._single_controller = single_controller