"Appliance (OS) root password is expired or is going to expire soon" when updating vCenter Server Appliance 6.5/6.7
Symptoms
- Updating vCenter Server Appliance 6.5/6.7 from VAMI UI fails with the error:
Appliance (OS) root password is expired or is going to expire soon. Please change the root password before installing an update.
- Changing the password from the VAMI fails with the error:
Could not set the password
Cause
This issue occurs when VAMI is not able to change an expired root password.
Resolution
To resolve this issue, reset the root password from the vCenter Server Appliance command line:
4.Verify the root account password has been changed using:
- Connect to the vCenter Server Appliance with an SSH session and the root user credentials.
- Use the following commands to get to the command prompt:
- shell.set --enable true
- shell
- Note: If you cannot login to the SSH connection using the root password use these steps to change the password How to reset the lost or forgotten root password in vCenter Server Appliance 6.5 & 6.7
4.Verify the root account password has been changed using:
chage -l root
5.Re-attempt the upgrade again.
Comments
Post a Comment