In this article, I am going to guide you how to Disable the upgrade compatibility checks
after upgrading SDDC Manager getting following errors
2 Errors
Retrieving all applicable bundles failed. Encountered fetching http://127.0.0.1/lcm/inventory/upgrades api - FAILED_TO_VALIDATE_SDDC_MANAGER_COMPATIBILITY; Failed to validate if SDDC Manager with version 5.0.0.1-22485660 is compatible with system.
Retrieving available bundles failed. Unable to retrieve aggregated domains upgrade status: Encountered fetching http://127.0.0.1/lcm/inventory/upgrades api - FAILED_TO_VALIDATE_SDDC_MANAGER_COMPATIBILITY; Failed to validate if SDDC Manager with version 5.0.0.1-22485660 is compatible with system.
Cause
As part of the VCF 5.0 release, there is a new feature that allows users to indefinitely upgrade their SDDC Manager to newer releases, without having to upgrade other BoM components on the system (namely NSX, vCenter and ESXi).
This is contingent on whether or not a target SDDC Manager version is compatible with said BoM components.
If the compatibility data sets are malformed or in an incorrect format the SDDC Manager will not be able to compute compatibility checks. As a result, if the BOM versions found on the system can’t be mapped to versions found in the compatibility data, upgrade availability can’t be computed. This will cause the upgrades to be blocked.
To disable the upgrade compatibility checks, follow the steps below
SSH into SDDC Manager appliance with the vcf user, su to root
Edit /opt/vmware/vcf/lcm/lcm-app/conf/compatibility.flag file
vi /opt/vmware/vcf/lcm/lcm-app/conf/compatibility.flag
Update the property “vcf.compatibility.controllers.compatibilityCheckEnabled” to false
Save and close the file
Restart Lifecycle Management by running the command
systemctl restart lcm
Then we are able to continue the upgrades