When running prechecks from SDDC Manager for a workload domain vCenter, the precheck fails with error "Could not find VM with address <workload_vc_fqdn> in vCenter <management_vc_fqdn> to verify free space on path '/'","remediation":"Verify VM with address <workload_vc_fqdn> in vCenter <management_vc_fqdn> exists and is powered on"
Impact: Cannot proceed with vCenter upgrade
VMware Cloud Foundation 4.5.2
This issue occurs if there is a case difference between the vCenter FQDN in SDDC Manager and vCenter FQDN in the output of command "hostname -f" on VC's SSH session
Note: Please take offline snapshots of all VCs in ELM before the change
Change the hostname on VC from SSH-
1) Run the command - /opt/vmware/share/vami/vami_config_net
2) Change hostname to match the case as seen in SDDC Manager (For eg. If it is lower case in SDDC Manager and upper case in hostname on vCenter, change the hostname in vCenter to lower case)
Note: Please verify PNID as well for the VC before initiating a change as a case difference between hostname/PNID can initiate issues during future upgrades.
Command to check PNID: /usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost