config/api-ref/source
Yuxing Jiang bc40879eca Improve kube-rootca-get-id API and error handling
This commit corrects a error in the API reference introduced in:
Ie78121d0c21d2c6033c8b5d4919e251fc4d98050.

This commit also improves the error handling to return understandable
error message, avoids print exception if the cert missed in the
file system.

Reduces the info logs from utils to prevent the dc audit dump too many
logs into the sysiv.log.

Test plan:
Passed - deploy an AIOSX, check the cert id by:
         system kube-rootca-get-cert-id.
Passed - manually remove the kube-rootca cert and key from the system,
         check the output of "system kube-rootca-get-cert-id", verified
         the error message w/o exceptions.
Passed - verify the dc audit doesn't dump logs about the cert id in
         sysinv.log.

Story: 2010852
Task: 49091

Signed-off-by: Yuxing Jiang <Yuxing.Jiang@windriver.com>
Change-Id: I47f1a9ca617bf0daf9c25e7b4552e52d3e9d1811
2023-11-24 09:16:48 -05:00
..
api-ref-sysinv-v1-config.rst Improve kube-rootca-get-id API and error handling 2023-11-24 09:16:48 -05:00
conf.py Switch to newer openstackdocstheme and reno versions 2020-06-04 14:13:51 +02:00
index.rst Update landing pages for docs, api-ref, and release notes: 2020-01-21 16:35:28 -08:00