The vSphere HA Agent Unreachable - The vSphere HA Agent on the host cannot be reachedCannot complete the configuration of the vSphere HA agent on the host. Applying HA VIBs on the cluster encountered failure|A general system error occurred: Installing HA components failed on the cluster: domain-<ID>.
Cannot complete the configuration of the vSphere HA agent on the host". "Applying HA VIBs on the cluster encountered a failure". "Failed installing HA component on the host: host-XXX"./var/run/log/lifecycle.log on the affected ESXi host:YYYY-MM-DDTHH:MM:SSZ In(##) lifecycle[########]: imagemanagerctl:### Calling with arguments: components --apply --task-id ####-####-####-####-##### --depot http://<FQDN_of_vCenter>:9084/vum/repository/hostupdate/__micro-depot__vendor-vmw__vmw-ESXi-#.#.#-metadata__index__.xml --depot http://<FQDN_of_vCenter>:9084/vum/repository/hostupdate/__micro-depot__vendor-NTA__metadata-###__index__.xml --depot http://FQDN_of_vCenter>:9084/vum/repository/hostupdate/__micro-depot__vendor-vmw__metadata-###__index__.xml --depot http://<FQDN_of_vCenter>:9084/vum/repository/hostupdate/__micro-depot__vendor-vmw__vmw-ESXi-#.#-vmtools-##.#-metadata__index__.xml --component vsphere-fdm:#.#.#-########YYYY-MM-DDTHH:MM:SSZWa(##) lifecycle[########]: Downloader:### Download failed: <urlopen error timed out>, 9 retry left...YYYY-MM-DDTHH:MM:SSWa(##) lifecycle[########]: Downloader:### Download failed: <urlopen error timed out>, 8 retry left...YYYY-MM-DDTHH:MM:SSZ Wa(##) lifecycle[########]: Downloader:### Download failed: <urlopen error timed out>, 7 retry left.../var/log/vmware/vpxd/vpxd.log on the vCenter Server:YYYY-MM-DDTHH:MM:SS warning vpxd[#####] [Originator@#### sub=Vmomi opID=FdmMonitor-domain-c#####-#####] Got vmacore exception when invoking VMOMI method; <</hgw/host-####>, /fdm>, csi.FdmService.GetAbout, N#Vmacore#Http##HttpExceptionE(HTTP error response: Service Unavailable)--> [context]###################################/#######################################/#######################/########################################/################=[/context]YYYY-MM-DDThh:mm:ss error vpxd[#####] [Originator@#### sub=HostUpgrader opID=FdmMonitor-domain-c#####-########] Failed to get fdm aboutInfo from host-####: N#Vmomi#Fault##HostCommunication#ExceptionE(Fault cause: vmodl.fault.HostCommunication)VMware vCenter Server 8.x
VMware vSphere ESXi 8.x
This issue occurs because the vSphere Lifecycle Manager (vLCM) / vCenter Update Manager (VUM) port is blocked on all ESXi hosts in the cluster, preventing the communication required for HA component installation.
Steps to check if the Update Manager port is blocked:
Execute the following command: esxcli network firewall ruleset list
Review the output for updateManager. If the status displays as false, the port is currently blocked.
esxcli network firewall ruleset list
Name Enabled Enable/Disable configurable Allowed IP configurable
--------------------------- ------- --------------------------- -----------------------
CIMHttpServer false false true
CIMHttpsServer false false true
CIMSLP false false true
iSCSI false false true
vpxHeartbeats true false true
updateManager false true true
faultTolerance true true true
How to enable the Update Manager via CLI:
Execute the following command: esxcli network firewall ruleset set -e true -r updateManager
esxcli network firewall ruleset listName Enabled Enable/Disable configurable Allowed IP configurable
--------------------------- ------- --------------------------- -----------------------
CIMHttpServer false false true
CIMHttpsServer false false true
CIMSLP false false true
iSCSI false false true
vpxHeartbeats true false true
updateManager true true true
faultTolerance true true true
How to enable the vCenter Update Manager firewall rule in the vSphere Client:
In the vSphere Client, select the target ESXi host.
Navigate to the Configure tab, select Firewall, and click Edit.
Locate vCenter Update Manager in the list of rules.
Select the checkbox to enable the port.
Click OK to apply the changes.
curl -v telnet://<ESXi-Host-IP>:<Port-Number> nc -zv <VCENTER-IP> <Port-Number> nc -zv <ESXi-Host-IP> <Port-Number>If the previous steps are successful but the 'Connection reset by peer' error persists in the host lifecycle logs, analyze packet captures on both the ESXi host and the vCenter Server to ensure a firewall rule is not resetting the connection.
For example: In this case, after a successful 3-way handshake, Instead of receiving the HTTP request, a TCP Reset ([RST, ACK]) is immediately fired from the client's side to vCenter Server, tearing down the connection.
<Source_IP> <Destination_IP> TCP <Host-Port> -> 9084 [RST, ACK] Seq=1 Ack=1 Win=xxx Len=0