update/patch-alarm
mmachado 5985fd9ab6 Use patch-alarm to raise software alarms
The patch-alarm package was previously used to raise useful
sw-patch alarms. This change modifies the package to raise
software alarms when the following states are identified:

Raise 900.023 alarm when a software release is in progress
Raise 900.021 alarm when a deploy fails on a host
Raise 900.024 alarm when an unavailable release is present

Keeps mechanism for raising 500.101 alarm (dev patch enabled)
in case it is needed for USM in the future.

Depends-On: https://review.opendev.org/c/starlingx/fault/+/931963
Depends-On: https://review.opendev.org/c/starlingx/nfv/+/931964

Test Plan:
PASS: Deploy software release with no unwanted alarms
PASS: Force a failed deploy host and verify alarm
PASS: Deploy a major release and verify 900.024 alarm
PASS: Use sw-manager to deploy major & minor releases

Story: 2010676
Task: 51120

Change-Id: I36701e66bc99aeadd22befd1b0bf82030047256a
Signed-off-by: mmachado <mmachado@windriver.com>
2024-10-16 14:00:24 -03:00
..
debian Update debian package versions to use git commits 2023-02-09 17:26:41 +00:00
patch-alarm Use patch-alarm to raise software alarms 2024-10-16 14:00:24 -03:00
scripts Update patch-alarm tox for python3 2023-04-12 18:28:07 +00:00