To resolve this issue, update the admin and/or root account passwords and run the upgrade again.
These steps can also be used before the upgrade to avoid possible issues.
To start, log into all of the vRealize Operations Manager nodes as root via SSH or Console.
Complete each section below.
Set Passwords to Not Expire
- Run the following commands to disable the password expiration for the admin, root, and postgres users.
chage -m 0 -M 99999 -I -1 -E -1 admin
chage -m 0 -M 99999 -I -1 -E -1 root
chage -m 0 -M 99999 -I -1 -E -1 postgres
- Repeat step 1 on all nodes in the vRealize Operations Manager cluster.
Reset the Passwords
- To reset the root password see How to reset the root password in vRealize Operations .
- Log into the master node as root and run the following command to reset the admin password:
$VMWARE_PYTHON_BIN $VCOPS_BASE/../vmware-vcopssuite/utilities/sliceConfiguration/bin/vcopsSetAdminPassword.py --reset
Note: Follow the prompts to enter a new admin password.
- Repeat step 1 on all nodes in the vRealize Operations Manager cluster.
Unlock the Accounts
- Run the following commands to ensure the admin and root accounts are not locked.
pam_tally2 --user admin --reset
pam_tally2 --user root --reset
Note: Re-run the commands until you receive output stating 0 failures
- Repeat step 1 on all nodes in the vRealize Operations Manager cluster.
Reset Failed Attempts
Follow the steps below to reset failed attempts for the application portion of the admin user.
- Open /storage/vcops/user/conf/adminuser.properties with a text editor.
- Delete the line that starts with failed_attempts=.
- Save and close the file.
- Repeat steps 1-4 on all nodes in the vRealize Operations Manager cluster.