While upgrading one of my vCSA (vCenter Server) to newer version VCSA 7, while connecting to source appliance I was receiving error A problem occurred while getting data from the source vCenter server.
This is typical issue of expired root password. due to this vCenter is unable to rotate the Logs based on the fact cron jobs are unable to run and vCenter is unable to be upgraded or patched.
To resolve this issue reset simply reset root password.
- 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 --enabled true
- shell
- Change the root password using passwd command: .
- Verify the root account password has been changed using chage -l root command:
- In order to prevent this issue from happening again in the future, you could set the root password to never expire at the VAMI page or by running this command: chage -I -1 -m 0 -M 99999 -E -1 root
- Reattempt the upgrade again.
Useful Articles
Deploy install VCSA (vCenter server appliance 6.5) on VMWare Workstation
Enable or disable SSH on VMWare vCenter Server Appliance (VCSA)
The top 10 reasons to upgrade to VMware vSphere 6.5
vCenter server appliance 6.5 deployment Error The supplied system is not valid
How to deploy vCenter server appliance on VMware Workstation
Enable Access to the VCSA Bash shell or Appliance Shell
Patching the vCenter Server Appliance VCSA
Install and Configure VMware UMDS on Linux