StarlingX System Configuration Management
Go to file
Sabeel Ansari 9fe3cb3e65 Refactor code to update entity_id in cert-alarm
During the active-alarm-audit cycle, the internal data structure
of CERT_SNAPSHOT was being overwritten to remove the corresponding
entity_id. Refactored the code to make it intrinsically update
when add_cert_snapshot() is called to avoid such scenarios.

Also fixing the case of an alarm transitioning from expired state
to expiring-soon state (which results in both alarms active).

Test Plan:
PASS: Active-alarm-audit thread will not clobber existing
      entity_id in internal data structure
PASS: When alarm transitions from expired to expiring-soon,
      the expired alarm gets cleared as expected and no duplicates
      are present against one entity.

Story: 2008946
Task: 42852

Signed-off-by: Sabeel Ansari <Sabeel.Ansari@windriver.com>
Change-Id: I6025ca45f7b39426aad6ae7678655945d8d0fcfd
2021-11-18 10:36:38 -05:00
api-ref/source Display retimer version of the FPGA device 2021-10-13 16:29:27 -04:00
config-gate Add debian package for config-gate 2021-10-05 03:58:30 -04:00
controllerconfig Fix unit tests 2021-09-28 14:20:23 -04:00
devstack Followup opendev cleanup and test jobs 2019-04-20 21:04:15 -05:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-04 14:13:51 +02:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:13:51 +02:00
storageconfig Add auto-versioning to starlingx/config packages 2020-05-20 14:11:21 +00:00
sysinv Refactor code to update entity_id in cert-alarm 2021-11-18 10:36:38 -05:00
tmp/patch-scripts/EXAMPLE_SYSINV/scripts StarlingX open source release updates 2018-05-31 07:35:52 -07:00
tools/docker/images Enable kubernetes SCTPSupport feature 2019-09-03 19:23:05 +00:00
tsconfig Update debian packaging for tsconfig 2021-09-29 10:17:57 -04:00
workerconfig Add debian packaging directory for workerconfig 2021-09-28 09:51:54 -04:00
.gitignore Minor zuul and tox file cleanup after manifest re-org 2019-09-06 15:40:37 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:42 +00:00
.yamllint clear yamllint errors under stx-config 2018-09-12 21:11:57 +08:00
.zuul.yaml Add gate for python 3.9 2021-09-08 10:38:39 -04:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:35:52 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:35:52 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:35:52 -07:00
bindep.txt py3: Add py39 gate for sysinv 2021-08-27 08:39:06 -04:00
centos_build_layer.cfg Build layering, add layer build config file 2019-10-15 12:29:05 +08:00
centos_dev_wheels.inc Config file changes to add 'tsconfig' after relocation from 'update' 2019-09-05 11:51:05 -04:00
centos_helm.inc Infrastructure and Cluster Monitoring 2019-08-21 17:19:54 -04:00
centos_iso_image.inc Add cert-alarm service 2021-07-22 08:29:23 -04:00
centos_pkg_dirs Add cert-alarm service 2021-07-22 08:29:23 -04:00
centos_pkg_dirs_containers Config file changes for packages relocated to repo 'openstack-armada-app' 2019-09-05 10:42:00 -04:00
centos_stable_wheels.inc Config file changes to add 'tsconfig' after relocation from 'update' 2019-09-05 11:51:05 -04:00
test-requirements.txt Calling an additional shell lint command from zuul 2021-06-03 17:35:50 -05:00
tox.ini Calling an additional shell lint command from zuul 2021-06-03 17:35:50 -05:00

README.rst

stx-config

StarlingX Configuration Management