Support Support Downloads Knowledge Base Service Request Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[CSO] How to reset user cspadmin password using CLI

0

0

Article ID: KB34760 KB Last Updated: 27 Jan 2020Version: 2.0
Summary:

This article describes an alternative way for resetting the cspadmin password from the Command Line Interface (CLI).

Note: The password can also be reset with the registered e-mail address.

 

Solution:

For CSO version 4.1.1, use the following instructions:

  1. Log in to one of the central Infra VMs.
  2. Authenticate by using the following command:

# source /etc/keystone/keystonerc
  1. Use the following command to reset the cspadmin password:
# openstack user set --password '<password>' cspadmin

Snippet

root@centralinfravm:~# openstack user set --password '<password>' cspadmin

Password

  1. For Password, enter the Keystone Password for admin user obtained from the CSO installer VM:

#./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:

  1. Log in to the Startup server.
  2. 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"

Snippet

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 Embe1mpls! 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.

 

Modification History:

2020-01-27: Updated instructions for CSO 5.1.0

 

Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Security Alerts and Vulnerabilities

Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search