VMware vCenter operations Manager custom UIs fails Error

Login to the VMware vCenter operations Manager because changing the admin password the custom UIs get fails

Indications

Via script “resetadminpwd.sh” the password identification of the admin user for VMware vCenter Operations Manager has been reset recently. With the help of the admin account, the access to Analytics virtual machines and UI is functioning. Custom UIs and therefore the vSphere are inaccessible.

An error: Invalid password identification or username seems whereas making an attempt to log into the UI.

Reason

After the admin password for the VMware vCenter Operations Manager is modified, but the hash value of the password within the Postgres database doesn’t get updated.

Resolution

Update the hash value of the admin password for the VMware vCenter Operations Manager in the Postgres database.

  1. Sign in as the admin user in the UI virtual machine.
  2. Generate the hash value by running the command for the admin password.
vcops-admin encrypt admin_user_password

Note: following output of similar kind will be returned.

migh37DFXib3pMyU8+Gfpw==@

 

3. Login as root user to the Analytics virtual machine.

4. Run the following command to shift to the Postgres user account.

su – Postgres

5. Run the command to launch the psql utility.

psql –d alivevm

[alert]Note: prompt changes to alivevm=#.[/alert]

6. Using the hash value returned in the 2nd step update the admin user password, by executing a command analogous to:

update useraccount set password=’migh37DFXib3pMyU8+Gfpw ==@’
where useraccount=’admin’;

Note: Replace

migh37DFXib3pMyU8+Gfpw==@

with the value returned in the 2nd step.

7. By running the following command exit psql utility.

\q