nfv/nfv/nfv-vim
Vanathi.Selvaraju eca1a05b83 sw-manager patch-strategy failed to install due to timeout
As part of this fix, new parameter ignore_alarm_conditional
is added, which has the list of stale alarms that needs to
ignored after 30mins.
Alarm clear wait step checks for stale alarm 750.006 for
30mins. If the alarm is still not cleared, patch-strategy
ignores the alarm.
Now, since the stale alarms are monitored for 30mins,
the overall alarm clear timeout is increased to 2400sec.

In the current case alarm 750.006 is not getting cleared
and also it is not part of the ignore alarm list
so the patch-strategy times out.

Test Plan:
PASSED: Applying a patch - On DX system(VM),
Create and apply patch strategy,
fm alarm-list to have an uncleared alarm(for test purpose
100.103 - Memory threshold alarm was used). After 30mins
alarm was ignored and patch strategy successfully applied.
PASSED: Removing a patch - On DX system(VM),
Create and apply patch strategy,
fm alarm-list to have an uncleared alarm(for test purpose
100.103 - Memory threshold alarm was used). After 1800sec
alarm was ignored and patch strategy successfully applied.
PASSED: On DX system(lab), 4 consecutive patch orchestration
successfully applied. 750.006 - stale alarm tested.
PASSED: On DX system, create and apply strategy,
with alarm existing on system(not part of ignore list)
strategy would wait for 2400sec before timing out.
PASSED: On DX system, k8s upgrade from v1.21.8 to
v1.22.5 successfully executed.

Closes-Bug: 2059305
Change-Id: I7ebaf5a24fa45a7e45f3af7e5ca588ce3ee06156
Signed-off-by: Vanathi.Selvaraju <vanathi.selvaraju@windriver.com>
2024-04-10 17:33:09 +00:00
..
nfv_vim sw-manager patch-strategy failed to install due to timeout 2024-04-10 17:33:09 +00:00
scripts Detect and kill hung vim process 2022-06-28 15:07:52 -03:00
LICENSE small cleanup required by OBS badness check - exec rights on non executable not allowed 2019-09-17 08:54:22 +02:00
setup.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00