Resetting the admin@local password in VMware Aria Suite Lifecycle (vRealize Suite Lifecycle Manager)
search cancel

Resetting the admin@local password in VMware Aria Suite Lifecycle (vRealize Suite Lifecycle Manager)

book

Article ID: 314669

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

This article provides steps to reset:

  • The admin@local in VMware Aria Suite Lifecycle (formerly known as vRealize Suite Lifecycle 8.x)
  • The admin@locahost in vRealize Suite Lifecycle 2.x.

Environment

VMware vRealize Suite Lifecycle Manager 2.x
VMware Aria Suite Lifecycle Manager 8.x
VCF Operations 9.x

Resolution

Note: For VCF 9.x and above, please use the Fleet Management > Password section in the VCF OPs UI.

 

In VMware Aria Suite Lifecycle (Aria Suite Lifecycle Manager) 8.18.x to reset the forgotten admin@local password:

  1. Log in to Aria Suite Lifecycle Manager 8.18.x Appliance as root via SSH or Console.
  2. Run the below command:
    /opt/vmware/share/vami/vami-vlcm-passwd-reset
  3. Provide a new admin@local password and confirm it.

In VMware Aria Suite Lifecycle (vRealize Suite Lifecycle Manager) 8.17.x and below to reset the forgotten admin@local password:

    1. Log in to Aria Suite Lifecycle Manager 8.17.x Appliance as root via SSH or Console.
    2. Run the below command and make a backup of the vami-vlcm-passwd-reset script:
      cp /opt/vmware/share/vami/vami-vlcm-passwd-reset /opt/vmware/share/vami/vami-vlcm-passwd-reset.bak
    3. Next edit the script by running command: "vi /opt/vmware/share/vami/vami-vlcm-passwd-reset"
    4. Update line #!/usr/bin/python to #!/usr/bin/python3 then save 
    5. After saving the update run the command: ./opt/vmware/share/vami/vami-vlcm-passwd-reset
    6. Provide a new admin@local password and confirm it.

In VMware Aria Suite LifeCycle Manager 1.x & 2.0 to reset the forgotten admin@localhost password:

  1. Log in to Aria Suite Lifecycle Manager 1.x / 2.0 Appliance as root via SSH or Console.
  2. Run the below command:
    /opt/vmware/share/vami/vami-vlcm-passwd-reset
  3. Provide a new admin@localhost password and confirm it
Note:
For a vRSLCM Instance deployed in a VCF Environment, please use the attached vami-vlcm-passwd-reset_vcf script instead and follow the below steps
  1. Copy the attached vami-vlcm-passwd-reset_vcf script into any of the Aria suite lifecycle manager folder.
  2. Log in to Aria Suite Lifecycle Manager Appliance as root via SSH or Console.
  3. Navigate to the folder where the script is copied.
  4. Change folder permissions to make the file runnable as a script using command chmod +x vami-vlcm-passwd-reset-vcf
  5. Run the below command:
    • ./vami-vlcm-passwd-reset-vcf
  6. Provide a new vcfadmin@local password and confirm it.

Additional Information

Possible issues

  1. If the retry count continues to increase and then exits without changing the password:
    • Check root disk space on the system with command df -h and make space on the disk if needed.
    • Engage Broadcom Support referencing this article (#314669) if help is needed with this
    • Output would look like this:
      • retrying--- count for get password: 1. Sleeping for 10 seconds
        retrying--- count for get password: 2. Sleeping for 10 seconds
        retrying--- count for get password: 3. Sleeping for 10 seconds
        retrying--- count for get password: 4. Sleeping for 10 seconds
        retrying--- count for get password: 5. Sleeping for 10 seconds
        retrying--- count for get password: 6. Sleeping for 10 seconds
        retrying--- count for get password: 7. Sleeping for 10 seconds
        retrying--- count for get password: 8. Sleeping for 10 seconds
        retrying--- count for get password: 9. Sleeping for 10 seconds
        retrying--- count for get password: 10. Sleeping for 10 seconds
        retrying--- count for get password: 11. Sleeping for 10 seconds
  2. If you hit error: exception while updating password for user a bytes-like object is required, not 'str' while resetting the password:
    • Copy the /opt/vmware/share/vami/vami-vlcm-passwd-reset file from a another Aria Suite Lifecycle and proceed to reset the password.
    • Error Screenshot : 

 

 

Main article:   

Child articles:

Attachments

vami-vlcm-passwd-reset-vcf get_app