From 62fda5d298be4c4c8ec5834362afc10926414217 Mon Sep 17 00:00:00 2001 From: "Vanathi.Selvaraju" Date: Mon, 9 Dec 2024 13:02:32 -0500 Subject: [PATCH] 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 --- nfv/nfv-vim/nfv_vim/strategy/_strategy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfv/nfv-vim/nfv_vim/strategy/_strategy.py b/nfv/nfv-vim/nfv_vim/strategy/_strategy.py index a70d20cd..e05ef0ad 100755 --- a/nfv/nfv-vim/nfv_vim/strategy/_strategy.py +++ b/nfv/nfv-vim/nfv_vim/strategy/_strategy.py @@ -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