Backup does not check cert alarms

Bug #2062087 reported by Joshua Kraitberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Joshua Kraitberg

Bug Description

Brief Description
-----------------
Health check for backup is missing cert alarm check.

Severity
--------
Major

Steps to Reproduce
------------------
1. Have expired CA cert + alarm
2. Do backup

Expected Behavior
------------------
Backup not allowed due to expired cert

Actual Behavior
----------------
Backup works

Reproducibility
---------------
100%

System Configuration
--------------------
Any

Branch/Pull Time/Commit
-----------------------
2024-04-17

Last Pass
---------
N/A

Timestamp/Logs
--------------
N/A

Test Activity
-------------
Regression Testing

Workaround
----------
Not required

Changed in starlingx:
assignee: nobody → Joshua Kraitberg (jkraitbe-wr)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ansible-playbooks (master)
Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ansible-playbooks (master)

Reviewed: https://review.opendev.org/c/starlingx/ansible-playbooks/+/916150
Committed: https://opendev.org/starlingx/ansible-playbooks/commit/0c941aec1df1c1a0872dde3241ca7699efcaf429
Submitter: "Zuul (22348)"
Branch: master

commit 0c941aec1df1c1a0872dde3241ca7699efcaf429
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
    Change-Id: I5a66fc4b59c619623b9da8c688d576e67f262d33
    Signed-off-by: Joshua Kraitberg <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Medium
tags: added: stx.10.0 stx.update
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.