Update Credentials Used by Subcloud for Install Registry (registry.central)

On a subcloud that uses the System Controller’s Docker registry (registry.central) as its install registry, you should use the System Controller’s sysinv service credentials for accessing registry.central. This makes access to registry.central independent of changes to the Distributed Cloud’s Keystone admin user password.

Warning

If the following registry information/credentials are changed, a new subcloud backup must be taken to avoid having a backup that contains old registry credentials.

Use the following procedure to update credentials used by the Subcloud to access its install registry (registry.central) to the sysinv service credentials of the System Controller.

Procedure

  1. On the System Controller, get the password for the sysinv services.

    $ keyring get sysinv services
    
  2. On each subcloud, run the following script to update the Docker registry credentials to sysinv:

    $ update_docker_registry_auth.sh sysinv <sysinv_password>
    
  3. Lock and Unlock the Controller.

    ~(keystone_admin)]$ system host-lock controller-0
    
    ~(keystone_admin)]$ system host-unlock controller-0
    

Note

If the system is a AIO-DX, each controller will need to be locked and unlocked.