Upgrading an ESXi host from SDDC Manager fails. The failed task displays the following error:
Upgrade - ESX_HOST <ESXi Hostname>
Message: The EsxCustomlmageUpgradeSpec /nfs/vmware/vcf/nfs-mount/esx-custom-image-upgrade-spec.json is not a valid json file.Remediation Message: The EsxCustomlmageUpgradeSpec /nfs/vmware/vcf/nfs-mount/esx-custom-image-upgrade-spec.json is not a valid json fileReference Token: <Unique token>Cause:
VMware Cloud Foundation 5.x
The /nfs/vmware/vcf/nfs-mount/esx-custom-image-upgrade-spec.json file contains incorrect JSON syntax, such as missing quotation marks around keys and values or missing directory slashes.
cp /nfs/vmware/vcf/nfs-mount/esx-custom-image-upgrade-spec.json /nfs/vmware/vcf/nfs-mount/esx-custom-image-upgrade-spec.json.bak/nfs/vmware/vcf/nfs-mount/esx-custom-image-upgrade-spec.json in a text editor.vi /nfs/vmware/vcf/nfs-mount/esx-custom-image-upgrade-spec.json{"esxCustomImageSpecList": [{bundleId <bundle_ID>,targetEsxVersion 8.0.3-24784735,useVcfBundle false,customIsoAbsolutePath nfsvmwarevcfnfs-mountesx-upgrade-partner-binaries80u3fCustom.iso}]}{"esxCustomImageSpecList": [{"bundleId": "<bundle_ID>","targetEsxVersion": "8.0.1-########","useVcfBundle": false,"customIsoAbsolutePath": "/nfs/vmware/vcf/nfs-mount/esx-upgrade-partner-binaries/#########################.iso"}]}
/nfs/vmware/vcf/nfs-mount/esx-custom-image-upgrade-spec.json template can be found in Upgrade ESXi with Custom ISOs.