update/software
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 Script to call software_sync api 2024-09-13 09:33:13 -04:00
scripts Merge "Update Postgres Auth and Password Encryption" 2024-10-03 21:48:49 +00:00
service-files Avoid duplicate gpg-verify lines in ostree config 2024-09-17 17:58:11 -03:00
software Use patch-alarm to raise software alarms 2024-10-16 14:00:24 -03:00
.coveragerc Upload skeleton for unified software management 2023-04-03 14:03:04 +00:00
Hacking.rst Upload skeleton for unified software management 2023-04-03 14:03:04 +00:00
LICENSE Upload skeleton for unified software management 2023-04-03 14:03:04 +00:00
pylint.rc Add version to software-api and software client 2024-02-08 04:23:29 -05:00
README.rst Upload skeleton for unified software management 2023-04-03 14:03:04 +00:00
requirements.txt Add version to software-api and software client 2024-02-08 04:23:29 -05:00
setup.cfg Activate-rollback implementation 2024-06-21 13:59:00 +00:00
setup.py Bash completion for USM 2023-08-03 16:21:00 +00:00
test-requirements.txt Zuul/Tox: Update software tests 2024-10-07 10:45:15 -03:00
tox.ini Zuul/Tox: Update software tests 2024-10-07 10:45:15 -03:00

software

StarlingX Unified Software Delivery and Management