1. December 2021

Error 500 after upgrading VMware vCenter to 7.0.2.00200

By H. Cemre Günay

I tried to update my ESXi hosts after updating to ESXi 7.0 U2 with build 17867351, but I received the following error message:

After reviewing the logs and restarting the vCenter, I found no solution until I became aware of this Knowledge Base article from VMware, which subsequently solved my problem.

To fix this error message, the VMware Update Manager database of the vCenter must be reset and this is done as follows:

Connect to vCenter Server Appliance 6.5/6.7/7.0 via SSH and run the shell command to switch to the BASH Shell:

shell

Stop the VMware Update Manager Service:

service-control --stop vmware-updatemgr 

Run the following command to reset the VMware Update Manager Database:

vCenter Server Appliance 6.5: /usr/lib/vmware-updatemgr/bin/updatemgr-util reset-db

vCenter Server Appliance 6.7/7.0: /usr/lib/vmware-updatemgr/bin/updatemgr-utility.py reset-db

Run the following Command to delete the contents of the VMware Update Manager Patch Store:

rm -rf /storage/updatemgr/patch-store/*

Start the VMware Update Manager Service:

service-control --start vmware-updatemgr

Note: You may need to log out and log back into any instances of the vSphere Web Client.
Note: For vSAN environments this will also remove the vSAN default baselines. These baselines are recreated automatically when there is a configuration change to vSAN such as add/remove a host/disk or an update to the HCL DB. You can still safely update a vSAN cluster without the vSAN default baselines.

After these steps you should check the compliance of your hosts again and remediate the newest patches.

Source Link: https://kb.vmware.com/s/article/2147284

If you have any questions please post it in the comments! 🙂