9fe3cb3e65
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 |
||
---|---|---|
api-ref/source | ||
config-gate | ||
controllerconfig | ||
devstack | ||
doc | ||
releasenotes | ||
storageconfig | ||
sysinv | ||
tmp/patch-scripts/EXAMPLE_SYSINV/scripts | ||
tools/docker/images | ||
tsconfig | ||
workerconfig | ||
.gitignore | ||
.gitreview | ||
.yamllint | ||
.zuul.yaml | ||
CONTRIBUTORS.wrs | ||
LICENSE | ||
README.rst | ||
bindep.txt | ||
centos_build_layer.cfg | ||
centos_dev_wheels.inc | ||
centos_helm.inc | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
centos_pkg_dirs_containers | ||
centos_stable_wheels.inc | ||
test-requirements.txt | ||
tox.ini |
README.rst
stx-config
StarlingX Configuration Management