Go to file
Marcelo de Castro Loebens d04d0210ae Add RPC call to audit local registry secrets
As part of rehoming, the keystone password for sysinv is updated for
the new SystemController value. A callback then comes from keystone
to sysinv in which the secrets that contain the password used to
authenticate to the docker registry for each namespace are updated.

However, since the rehoming playbook needs to restart sysinv right
away, a race condition where sysinv restarts before the keystone
callback is completely executed can leave old values in the secrets.

This review adds a RPC method to 'audit_local_registry_secrets',
which updates the credentials in the secrets. This RPC method will
be called from the rehoming ansible playbook, removing the
dependency on the keystone callback.

Test Plan:
PASS: Rehome SX subcloud
      Confirm that the registry secrets were updated

PASS: Enroll SX subcloud

Partial-bug: 2126680

Change-Id: I674111330587c2ecbf966771f4efa2c3b023158f
Signed-off-by: Marcelo de Castro Loebens <Marcelo.DeCastroLoebens@windriver.com>
2025-10-07 11:05:21 -04:00
2019-04-19 19:52:42 +00:00
2021-08-27 08:39:06 -04:00
2018-05-31 07:35:52 -07:00
2023-07-19 12:18:04 -03:00

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


  1. https://docs.starlingx.io/cli_ref/system.html↩︎

  2. https://opendev.org/starlingx/manifest.git↩︎

Description
StarlingX System Configuration Management
Readme 103 MiB
Languages
Python 98%
Shell 1.6%
CSS 0.2%