During the deployment of VCF 9.1, the validation of the ESX hosts will fail with the following error:
Failed to retrieve Compatibility Matrix: File with Compatibility Matrix Content for Compatibility controller VMWARE_COMPAT is not found
Inspection of the domainmanager.log file may indicate that the VmwareCompatibilityData.json file is not found:
ERROR [vcf_dm,################################,f198] [c.v.v.c.c.i.v.r.c.VvsOfflineClient,dm-exec-333] Cache file not found at location /nfs/vmware/vcf/nfs-mount/compatibility/VmwareCompatibilityData.json. Skipping cache load.DEBUG [vcf_dm,################################,f198] [c.v.v.c.c.i.v.VvsCompatibilityController,dm-exec-333] Unable to update compatibility data, due tocom.vmware.vcf.compatibility.controllers.internal.vvs.exception.VvsException: Offline VVS cache data file not found at location /nfs/vmware/vcf/nfs-mount/compatibility/VmwareCompatibilityData.json.ERROR [vcf_dm,################################,9313] [c.v.v.v.f.a.v.ValidateEsxiVersionAction,dm-exec-345] Failed to validate ESXi host versioncom.vmware.vcf.compatibility.validator.exception.CompatibilityValidatorException: File with Compatibility Matrix Content for Compatibility controller VMWARE_COMPAT is not found.
Inspection of the lcm-debug.log shows us a "403 Forbidden" error when attempting to read the file:
DEBUG [vcf_lcm,0000000000000000,0000] [c.v.e.s.l.b.d.depot.DepotDownloader,DepotSync-1] Executing HEAD /PROD/COMP/SDDC_MANAGER_VCF/Compatibility/VmwareCompatibilityData.jsonDEBUG [vcf_lcm,0000000000000000,0000] [c.v.e.s.l.b.d.depot.DepotDownloader,DepotSync-1] Got response: 403 Forbidden HTTP/1.1ERROR [vcf_lcm,0000000000000000,0000] [c.v.e.s.l.b.d.depot.DepotDownloader,DepotSync-1] Error getting file size, got response: 403 Forbidden HTTP/1.1 at com.vmware.evo.sddc.lcm.bundle.download.depot.DepotDownloader.getFileSizeFromHeadResponse(DepotDownloader.java:673)
VCF 9.1
The "403 Forbidden" error received when attempting to retrieve the file size indicates a permissions issue with the "VmwareCompatibilityData.json" file on the Offline Depot.
To resolve this error, the permissions of the "/PROD/COMP/SDDC_MANAGER_VCF/Compatibility/VmwareCompatibilityData.json" file on the Offline Depot should be reviewed to ensure proper ownership.
For further documentation on setting up an Offline Depot, see the following: Set Up an Offline Depot