Comment 0 for bug 2029412

Revision history for this message
ayyappa (mantri425) wrote :

Brief Description
-----------------
The dc certs names in the output of "show-certs.sh" script are not in relation to the cert alarms

Severity
------
Minor - this is a minor inconsistency, but is causing customer confusion

Steps to Reproduce
-------------------

Using a system where the DC admin endpoint certificate is nearing expiry, compare the output of the certificate expiry alarm with the output of the "show-certs.sh" script.

show-certs output snippet

 DC-AdminEp-Server CERTIFICATE:
 ------------------------------------------
         Renewal : Automatic [Managed by Cert-Manager]
         Filename : /etc/ssl/private/admin-ep-cert.pem
         Subject : CN = 192.168.1.2
         Issuer : CN = subcloud1-adminep-ca-certificate
         Issue Date : Aug 2 13:03:11 2023 GMT
         Expiry Date : May 28 13:03:11 2024 GMT
         Residual Time : 299d

[sysadmin@controller-0 ~(keystone_admin)]$ fm alarm-list
+---------+------------------------------------------------------------+-------------------------+----------+-------------+
| Alarm | Reason Text | Entity ID | Severity | Time Stamp |
| ID | | | | |
+---------+------------------------------------------------------------+-------------------------+----------+-------------+
| 500.200 | Certificate namespace=sc-cert, certificate=sc-adminep- | namespace=sc-cert. | major | 2023-06-21T |
| | certificate is expiring soon on 2023-07-21, 06:08:47 | certificate=sc-adminep- | | 07:07:27. |
| | | certificate | | 089607 |
| | | | | |
+---------+------------------------------------------------------------+-------------------------+----------+-------------+

In the above two outputs, the names are not consistent

Expected Behavior
----------------

Based on the customer facing team, it needs to be easier for the customer to correlate the output of the two commands. The current output is causing confusion.

Actual Behavior
--------------

The output is still correct, but is displaying different fields and therefore is hard to correlate.

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

System Configuration
------------------

DC systems

Load info (eg: 2022-03-10_20-00-07)

22.12 GA

Branch/Pull Time/Commit
-----------------------
NA.

Last Pass
--------
N/A Day one config

Timestamp/Logs
------------
NA.

Alarms
------
N/A

Test Activity
--------------
Customer Field Request

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