Source vCenter Server validation found an issue: Error executing 'SELECT PROFILE_NAME, CONFIG_INFO FROM VPX_PROFILE WHERE TYPE_CODE = 0'. Reason: The operation required too much data to be stored in the specified buffer. Resolution: Make sure your database is configured to meet vCenter Server upgrade requirements.This issue occurs when a corrupted Host Profile in the vCenter Server database (VPX_PROFILE table) is queried during the upgrade pre-check. If the profile is invalid often seen as a 0 KB export, which triggers a buffer size exception and causes the pre-check to fail.
To resolve this issue, identify and delete the corrupted or unused Host Profiles from the vSphere Client, and restart the vCenter Server services.
Ensure to take a snapshot of the vCenter Server prior to deleting configurations or proceeding with a major version upgrade.
Log in to the vSphere Client.
Navigate to Menu > Policies and Profiles > Host Profiles.
Review the available Host Profiles and identify any that meet the following criteria:
Unused or extremely old profiles.
Profiles attached to clusters or hosts that no longer exist.
Corrupted profiles (Note: Exporting the profiles to your local machine can help identify corruption, a corrupted profile will typically export as a 0 KB file).
Select the identified Host Profile(s) and detach them from any associated clusters or hosts.
Delete the problematic Host Profile(s).
Establish an SSH session to the vCenter Server Appliance (VCSA) and log in as root.
Restart all vCenter Server services to ensure stale database connections and memory caches are cleared by running the following commands: service-control --stop --all service-control --start --all
Rerun the vCenter Server 8.0 upgrade pre-check validation.