Upgrading VCF 5.2.2 to 9.0.2 the following error in the logs:
SDDC /var/log/vmware/vcf/lcm
lcm-debug.log
{"severity":"ERROR","stage":"VCENTER_UPGRADE_PRECHECK","timestamp":1778000850984,"message":{"id":"vcenter.deployment.migration_upgrade.vcdb_validations.invalid_host_profile_version.error","defaultMessage":"The host profiles are of version Host Profile - <vCenter_name> which is lower than version 8.0.0. Cannot continue with upgrade process since the host profiles are incompatible with the target vCenter version.","messageAttributes":{"0":"[]"},"localizedMessage":"The host profiles are of version Host Profile - <vCenter_name> which is lower than version 8.0.0. Cannot continue with upgrade process since the host profiles are incompatible with the target vCenter version."},"originator":"VCENTER","errorType":"RECOVERABLE","remediationActions":[{"id":"vcenter.deployment.migration_upgrade.vcdb_validations.invalid_host_profile_version.resolution","defaultMessage":"Remove the incompatible host profiles or upgrade the host profiles with version Host Profile - <vCenter_name> on the source vCenter to version 8.0.0 or later.","messageAttributes":{"0":"[]"},"localizedMessage":"Remove the incompatible host profiles or upgrade the host profiles with version Host Profile - <vCenter_name> on the source vCenter to version 8.0.0 or later."}],"referenceToken":"XXXXX"},{"severity":"WARNING","stage":"VCENTER_UPGRADE_PRECHECK","timestamp":1778000850984,"message":{"id":"upgrade.vcIntegrity.warning.description","defaultMessage":"Files that cannot be used with Lifecycle Manager will not be copied from the source. These files include VM guest OS patch baselines, host upgrade baselines and files, and ESXi 7.0 and lower version host patches baselines.","messageAttributes":{"0":"[]"},"localizedMessage":"Files that cannot be used with Lifecycle Manager will not be copied from the source. These files include VM guest OS patch baselines, host upgrade baselines and files, and ESXi 7.0 and lower version host patches baselines.
VCF 9
Based on the error in the logs the issue was a 7.x Host Profile showing.
"The host profiles are of version Host Profile - <vCenter_name> which is lower than version 8.0.0. Cannot continue with upgrade process since the host profiles are incompatible with the target vCenter version."
Go to vSphere; Policies and Profiles
Then choose Host Profiles
Then choose the vCenter that the error shows. Then click on Actions and Delete