config/sysinv/sysinv/sysinv/sysinv
Carmen Rata ac2604e9a0 OpenLDAP certificate support in sysinv apis
A secure openldap server requires support for openldap certificates.
Internal sysinv rest api "cerificate_install" and system certificate
management CLIs "certificate-install" and "certificate-list" need to
have sysinv cert-mon support for openldap certificate.
This commit is the first step in making rest api "certificate-install"
and CLI "certificate-list" fully functional.
Subsequent "sysinv/conductor/manager.py" support code changes for
openldap certificate configuration will complete the sysinv cert-mon
implementation as they would need to be accompanied by openldap
schema updates for ssl certificate and key, updates done using puppet
configuration and part of a follow up commit.
New “mode=openldap” was added to internal sysinv rest api
"certificate_install" but it's usage is disallowed in the system CLI
"certificate-install".
The new secure endpoint for openldap/slapd is not yet being used.
In future next step, when SSSD (System Security Services Daemon)
client is introduced, security will be enhanced with use of LDAPS
for openldap/slapd.

Tests performed:
PASS: Add new mode=openldap to sysinv rest api "certificate_install".
Testing verifies the instrumentation of the rest api option
"m=openldap" in the sysinv cert-mon code and does not verifies the
full functionality of the option that is not enabled yet beyond
cert-mon. Testing shows in debug mode that the option is working and
cert-mon calls are logged. The option triggers cert-mon apis for
openldap as expected.
PASS: Disable mode-openldap in the system CLI "certificate-install".
PASS: Create new certificate and secret.
PASS: List all certificates. This test is to ensure installed
certificates are listed and CLI "certificate-list" is not broken.
The openldap certificate is expected not to be in the list.
PASS: Delete a certificate and secret.

Story: 2009834
Task: 44655

Change-Id: I01db5a7ea9848187655174b1b5451f73d9c5c220
Signed-off-by: Carmen Rata <carmen.rata@windriver.com>
2022-03-07 18:01:50 -05:00
..
agent debian: Fix root partition detection for ostree 2022-01-25 15:32:14 +00:00
api OpenLDAP certificate support in sysinv apis 2022-03-07 18:01:50 -05:00
cert_alarm Add 180d alarm-before default for kube root CA 2022-02-04 23:06:26 +00:00
cert_mon OpenLDAP certificate support in sysinv apis 2022-03-07 18:01:50 -05:00
cmd Fix sanitize on IPv6 for docker_no_proxy list 2022-01-26 17:10:52 -03:00
common OpenLDAP certificate support in sysinv apis 2022-03-07 18:01:50 -05:00
conductor Merge "[PTP dual NIC config] Fix parameters from legacy" 2022-02-23 16:47:42 +00:00
db Fix PTP parameter deletion error messages 2022-02-22 07:04:01 -05:00
fpga_agent Display retimer version of the FPGA device 2021-10-13 16:29:27 -04:00
helm Merge "Using general naming for app openstack" 2021-11-24 22:19:30 +00:00
objects Fix DetachedInstanceError 2022-01-27 08:27:07 +00:00
openstack Handle PEP479 2022-01-20 15:18:54 +02:00
puppet Merge "Support puppet's network configuration for Debian" 2022-02-24 14:34:33 +00:00
tests Merge "Support puppet's network configuration for Debian" 2022-02-24 14:34:33 +00:00
__init__.py Fix tox certificate issues in python2 2021-11-18 15:14:51 -06:00
_i18n.py Eliminate sdist step from sysinv zuul 2021-04-12 09:34:17 -05:00
netconf.py Fix bad syntax in requirements.txt file 2021-09-14 09:15:56 -05:00
sanity_coverage.py Specify the nodeset for zuul jobs 2021-05-19 13:51:15 -05:00
version.py Fix zuul for bandit target 2021-05-20 08:43:15 -05:00