VMware Cloud Foundation (VCF) 9.0.2 binary upload fails:
Symptoms include:
The VCF installer UI displays the "Download status" as below in the Binary Management section.
The VCF download tool command line outputs: "Error: Failed to upload all the metadata"
#3: ObjectId: 2.5.29.14 Criticality=falseSubjectKeyIdentifier [KeyIdentifier [0000: 11 8A 9D 95 5E 42 39 40 1A CA 7C F5 D5 3F 31 B20010: DE E3 ED 98
^B9e .....? 1.
Trust this certificate? [no]: yesCertificate was added to keystoreVersion: 9.1.0.0100.25429019Enter password for admin@local:Validating SDDC Manager credentials.SDDC Manager credentials validated successfully.Validating SDDC Manager version.SDDC Manager version validated successfully.Uploading vSAN HCL file.Successfully uploaded vSAN HCL file.Uploading compatibility data.Uploading unified release manifest file.Successfully uploaded unified release manifest file.Uploading product version catalog file.Successfully uploaded product version catalog file.ERROR: Failed to upload all metadata.REMEDY: Please check the error message for more details.
The /opt/vmware/vcf/lcm/vcf-download/log/vdt.log file contains the following exception: Caused by: com.vmware.vcf.rest.api.runtime.ApiException: java.io.FileNotFoundException: /nfs/vmware/vcf/nfs-mount/PROD/COMP/SDDC_MANAGER_VCF/Compatibility/VmwareCompatibilityData.json (No such file or directory)
VMware Cloud Foundation 9.0.2
The Compatibility directory and the required VmwareCompatibilityData.json file are missing from the NFS mount path (/nfs/vmware/vcf/nfs-mount/PROD/COMP/SDDC_MANAGER_VCF/).
Please follow the below steps to resolve the issue
1.Create the missing directory path on the NFS mount: mkdir -p /nfs/vmware/vcf/nfs-mount/PROD/COMP/SDDC_MANAGER_VCF/Compatibility
2.From a Windows workstation/Linux Machine with internet access, manually download the VmwareCompatibilityData.json file.
Command from Windows Workstation:
curl.exe --request GET --url "https://vvs.broadcom.com/v1/products/bundles/type/vcf-lcm-v2-bundle?format=json" --header "x-vmw-esp-clientid: vcf-lcm" > "C:\temp\VmwareCompatibilityData.json"Command from Linux machine:
curl --request GET --url 'https://vvs.broadcom.com/v1/products/bundles/type/vcf-lcm-v2-bundle?format=json' --header 'x-vmw-esp-clientid: vcf-lcm' > /nfs/vmware/vcf/nfs-mount/PROD/COMP/SDDC_MANAGER_VCF/compatibility/VmwareCompatibilityData.json 3.Transfer the downloaded VmwareCompatibilityData.json file to the VCF environment and place it in the newly created directory: /nfs/vmware/vcf/nfs-mount/PROD/COMP/SDDC_MANAGER_VCF/Compatibility/
4.Set the correct ownership and permissions on the directory and file so the LCM services can access it: chown -R vcf_lcm:vcf /nfs/vmware/vcf/nfs-mount/PROD/COMP/SDDC_MANAGER_VCF/Compatibility/
5.Rerun the binary validation from the VCF Installer UI. The Binary Management section should now display a success status.
N/A