This article describes an alternative way for resetting the cspadmin password from the Command Line Interface (CLI).
cspadmin
Note: The password can also be reset with the registered e-mail address.
For CSO version 4.1.1, use the following instructions:
Authenticate by using the following command:
# source /etc/keystone/keystonerc
# openstack user set --password '<password>' cspadmin
Snippet
root@centralinfravm:~# openstack user set --password ' <password> ' cspadmin
Password
#./python.sh deploy_manager/utils/decrypt_password.py utility
Note: The new password needs to be set in single quotes; replace <password> with the intended password.
For CSO version 5.1.0, use the following instructions:
Run the following command in the Startup server.
kubectl exec -it -n infra $(kubectl get pods -n infra | grep jkeystone | awk '{print $1}'| head -1) -- bash -c "source /root/openrc && openstack user set --password <new_password> cspadmin"
root@startupserver1:~/Contrail_Service_Orchestration_5.1.0# kubectl exec -it -n infra $(kubectl get pods -n infra | grep jkeystone | awk '{print $1}'| head -1) -- bash -c "source /root/openrc && openstack user set --password Junipertest cspadmin" root@startupserver1:~/Contrail_Service_Orchestration_5.1.0#
Verification: Log in to the Admin portal with the username cspadmin and the new password.
If you encounter any issues, please contact your JTAC Representative.
2020-01-27: Updated instructions for CSO 5.1.0 2020-02-06: minor non-technical update.