The vCenter UI shows the following error when attempting to enable HA on a cluster:
Cannot complete the configuration of the vsphere HA Agent on the host. Applying HA VIBs on the cluster encountered a failure.
The vpxd log on vCenter may show errors similar to:
Log Location: /var/log/vmware/vpxd/vpxd.log
ApplyHAVibsOnClusterFailed
The lifecycle.log on VCenter shows entries similar to:
Log Location: /var/log/vmware/vmware-updatemgr/vum-server/lifecycle.log
Er(11) lifecycle vmware.esximage.Errors.DepotConnectError: ([MetadataDownloadError('vcenter.example.com:9087/vum/repository/hostupdate/_*micro-depot*_vendor-vmw__metadata-59__index__.xml', '', "Could not download from depot at vcenter.example.com:9087/vum/repository/hostupdate/_*micro-depot*_vendor-vmw__metadata-59__index__.xml, skipping (('vcenter.example.com:9087/vum/repository/hostupdate/_*micro-depot*_vendor-vmw__metadata-59__index__.xml', '', '<urlopen error [Errno -3] Temporary failure in name resolution>'))"),
nslookup against the vCenter FQDN fails.
VMware VCenter Server
The ESXi host cannot resolve the DNS name of the vCenter server FQDN.
Workaround: If DNS servers are unable, configure the vCenter FQDN in the ESXi servers DNS host file: Configure the DNS Hosts File by Using ESXCLI Commands