Do not allow backups when cert related errors present
This is to update the health check in backup to match the new output
that includes alarm info related to certs.
Presently, it is possible to create backups when expired certs are
present. After this change that will no longer be possible.
TEST PLAN
PASS: AIO-SX backup fails when expired certs present
PASS: AIO-SX backup fails when mgmt affecting alarms present
PASS: AIO-SX backup works when no alarms present
PASS: AIO-SX backup works when only minor alarms present
Reviewed: https:/ /review. opendev. org/c/starlingx /ansible- playbooks/ +/916150 /opendev. org/starlingx/ ansible- playbooks/ commit/ 0c941aec1df1c1a 0872dde3241ca76 99efcaf429
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 0c941aec1df1c1a 0872dde3241ca76 99efcaf429
Author: Joshua Kraitberg <email address hidden>
Date: Wed Apr 17 20:03:38 2024 -0400
Do not allow backups when cert related errors present
This is to update the health check in backup to match the new output
that includes alarm info related to certs.
Presently, it is possible to create backups when expired certs are
present. After this change that will no longer be possible.
TEST PLAN
PASS: AIO-SX backup fails when expired certs present
PASS: AIO-SX backup fails when mgmt affecting alarms present
PASS: AIO-SX backup works when no alarms present
PASS: AIO-SX backup works when only minor alarms present
Closes-Bug: 2062087 623b9da8c688d57 6e67f262d33
Change-Id: I5a66fc4b59c619
Signed-off-by: Joshua Kraitberg <email address hidden>