60749eeed3de0e6b9cf22389d46fc0e92596c41f
Previously, cert-mon obtained subcloud sysinv endpoints through
keystone's token catalogue. Since these endpoints will be removed from
keystone on the SystemController, this commit has cert-mon build them
using the subcloud management IP retrieved via a dcmanager API call.
A new endpoint cache is populated during the periodic cert-mon audit
and refreshed whenever the subcloud network configuration changes.
Test Plan:
The following tests were validated on an IPv4 and an IPv6 lab:
1. PASS - Deploy a subcloud and verify cert-mon audits it, with
'in-sync' dc-cert_sync_status.
2. PASS - Restart cert-mon service, verify initial audit triggers and
completes successfully.
3. PASS - Run subcloud update with network reconfig, verify endpoint
updates with the new URL.
4. PASS - Verify DC_CertWatcher -> DCIntermediateCertRenew certificate
update still functions as expected.
Story: 2011106
Task: 50505
Change-Id: I91178a6cbad23a915423f8015967092a71c99635
Signed-off-by: Gustavo Herzmann <gustavo.herzmann@windriver.com>
config
The starlingx/config repository handles the StarlingX configuration management services.
Its key component is the System Inventory Service (Sysinv), which provides the system command-line interface (CLI)1.
This repository is not intended to be developed standalone, but rather as part of the StarlingX Source System, which is defined by the StarlingX manifest2.
References
Description
Languages
Python
98%
Shell
1.6%
CSS
0.2%