When attempting to turn on vSphere HA for a cluster and the tasks "Configuring vSphere HA on the cluster" and "Remediate HA" fail with errors like:
The connectivity between the ESXI hosts seems good and Quick Stats is up to date for the hosts. The cluster is a Lifecycle Manager image-based cluster, and the hosts are showing not compliant.
vSphere 7
vSphere 8
In an SSH session to one of the hosts in the cluster where the vSphere HA errors are occurring, you see a error similar to the following:
/var/log/lifecycle.log
YYYY-MM_DDTHH:MM:SSZZ Er(11) lifecycle[<opID>] : imagemanagerct1:90 vmware.esximage.Errors.DepotConnectError: ([MetadataDownloadError ('http://<vcenter fqdn>/vum/repository/hostupdate/__micro-depo__vendor-vmw__metadata-##__index__z.xml'
This error means the ESXI host cannot reach the vCenter Server on 9084 to download information and the FDM vib needed to enable vSphere HA.
Ports like 9084 and 9087 that required for vSphere Lifecycle Manager communications are blocked from the ESXi Host Management IP address to the vCenter Server Management IP address.
nc -zv <vcenter_fqdn> 9084
nc -zv <vcenter_fqdn> 9087