nfv/nfv/nfv-vim/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
..
alarm Implement system_config_update orchestration 2023-07-17 17:36:44 -04:00
api sw-deploy-strategy to take 'release' parameter 2024-04-08 13:46:37 -04:00
audits py3: nfv wrap dict.keys() in list() 2021-07-26 13:13:11 -04:00
database Implement system_config_update orchestration 2023-07-17 17:36:44 -04:00
directors sw-deploy-strategy to take 'release' parameter 2024-04-08 13:46:37 -04:00
dor py3: nfv use real division operator 2021-07-26 13:12:00 -04:00
event_log Implement system_config_update orchestration 2023-07-17 17:36:44 -04:00
events sw-deploy-strategy to take 'release' parameter 2024-04-08 13:46:37 -04:00
host_fsm Remove HostTask actions of guest related services 2023-01-24 09:51:58 -03:00
instance_fsm py3: nfv use real division operator 2021-07-26 13:12:00 -04:00
network_rebalance py3: nfv update range compatibility 2021-07-26 13:11:52 -04:00
nfvi Account for new Kubernetes upgrade statuses 2024-02-13 14:57:23 -03:00
objects sw-deploy-strategy to take 'release' parameter 2024-04-08 13:46:37 -04:00
rpc sw-deploy-strategy to take 'release' parameter 2024-04-08 13:46:37 -04:00
strategy sw-manager patch-strategy failed to install due to timeout 2024-04-10 17:33:09 +00:00
tables py3: nfv wrap dict.keys() in list() 2021-07-26 13:13:11 -04:00
webserver py3: Fix http server request handler wfile write parameter 2021-07-26 13:12:58 -04:00
__init__.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
config.ini small cleanup required by OBS badness check - exec rights on non executable not allowed 2019-09-17 08:54:22 +02:00
debug.ini Implement system_config_update orchestration 2023-07-17 17:36:44 -04:00
vim.py py3: nfv use real division operator 2021-07-26 13:12:00 -04:00
vim_api.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
vim_manage.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
vim_webserver.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00