config/sysinv/cgts-client/cgts-client
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
..
cgtsclient Improve kube-rootca-get-id API and error handling 2023-11-24 09:16:48 -05:00
tools StarlingX open source release updates 2018-05-31 07:35:52 -07:00
.coveragerc Updates for cgtsclient to work with python3 2020-01-20 13:46:46 -06:00
.gitignore Convert from testrepository to stestr 2019-12-04 09:56:57 -06:00
.stestr.conf Convert from testrepository to stestr 2019-12-04 09:56:57 -06:00
LICENSE StarlingX open source release updates 2018-05-31 07:35:52 -07:00
pylint.rc Fix failing tox and zuul for cgtsclient 2023-04-13 17:14:01 +00:00
README.rst Convert cgtsclient from setuptools to pbr. Add tox. 2018-06-28 22:07:37 -04:00
requirements.txt cgts: Add missing dependencies 2021-04-16 13:39:12 +00:00
setup.cfg Fix dependency path in cgts-client tox.ini 2018-08-21 03:34:40 +00:00
setup.py Fix dependency path in cgts-client tox.ini 2018-08-21 03:34:40 +00:00
test-requirements.txt Fix failing tox and zuul for cgtsclient 2023-04-13 17:14:01 +00:00
tox.ini Fix failing tox and zuul for cgtsclient 2023-04-13 17:14:01 +00:00