nfv/nfv
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
..
centos Kube rootca update orchestration integration 2021-09-02 12:53:36 -05:00
debian Update debian package versions to use git commits 2023-02-09 17:00:49 +00:00
nfv-client sw-deploy-strategy to take 'release' parameter 2024-04-08 13:46:37 -04:00
nfv-common Implement system_config_update orchestration 2023-07-17 17:36:44 -04:00
nfv-debug-tools/histogram_analysis Not require recreate of tox env when running tox 2021-04-06 09:48:36 -05:00
nfv-plugins Alarm 900.701 raised on failing to remove node taint. 2024-02-15 12:12:32 -05:00
nfv-tests sw-manager patch-strategy failed to install due to timeout 2024-04-10 17:33:09 +00:00
nfv-tools small cleanup required by OBS badness check - exec rights on non executable not allowed 2019-09-17 08:54:22 +02:00
nfv-vim sw-manager patch-strategy failed to install due to timeout 2024-04-10 17:33:09 +00:00
opensuse Add opensuse specfiles to nfv 2019-10-02 10:34:02 -05:00
.coveragerc Convert NFV unit tests from nose to stestr 2018-09-18 12:56:44 -05:00
.gitignore Add bugbear to flake8 and cleanup some errors 2018-09-13 14:12:48 -05:00
.stestr.conf Fix relative imports in nfv 2023-01-24 22:16:39 +00:00
PKG-INFO StarlingX open source release updates 2018-05-31 07:36:51 -07:00
pylint.rc pylint cleanup for nfv to use standard modules 2023-03-15 15:28:54 +00:00
test-requirements.txt Replace mock with unittest.mock 2023-01-24 22:13:59 +00:00
tox.ini Cleanup pep8 un-used variable warnings 2023-03-08 15:18:00 +00:00