To resolve this issue:
- Connect to the vCenter Server Database:
- For vPostgres database, see:
- Run this SQL command to find the Virtual Machine/Template from 5.0 version:
SELECT ID, FILE_NAME, HOST_ID, CAPABILITY FROM VPX_VM WHERE CAPABILITY LIKE '%versionId="5.0"%';
Note: You may want to check for 4.1/4.0 version as well in the above SQL query if the vCenter Upgrade history include those versions.
For example:
SELECT ID, FILE_NAME, HOST_ID, CAPABILITY FROM VPX_VM WHERE CAPABILITY LIKE '%versionId="4.1"%';
SELECT ID, FILE_NAME, HOST_ID, CAPABILITY FROM VPX_VM WHERE CAPABILITY LIKE '%versionId="4.0"%';
- Remove the Virtual machine/Template from inventory and proceed with the upgrade.
- Removed VMs can be registered back post upgrade completion.