docs/doc/source/dist_cloud/kubernetes/changing-the-admin-password...

2.0 KiB

Change the Admin Password on Distributed Cloud

You can change the keystone admin user password across the entire system.

Ensure that all subclouds are managed and online.

  1. Change the password.
    1. Do one of the following to change a keystone admin user password on System Controller.

      • From the Horizon Web Interface, select the RegionOne mode, navigate to the Identity dashboard and click on the Users panel. Select Change Password from the Edit menu for the Admin user. For more information, see RegionOne and SystemController Modes <regionone-and-systemcontroller-modes>.

      • From the :

        ~(keystone_admin)]$ openstack --os-region-name SystemController user password set

        Respond to the prompts to complete the process.

    2. Source the script /etc/platform/openrc if you will continue to use the environment from the previous command.

      $ source /etc/platform/openrc
      ~(keystone_admin)]$

      Note

      In a subcloud, if the command returns an authentication error after you source the script /etc/platform/openrc, you can verify the password on the subcloud by using the env \| grep OS_PASSWORD command . If it returns the old password, you will need to run the keyring set CGCS admin command and provide the new admin password.

partner