Enabling HA on a cluster fails with error, "Applying HA VIBs on the cluster encountered a failure."
search cancel

Enabling HA on a cluster fails with error, "Applying HA VIBs on the cluster encountered a failure."

book

Article ID: 377767

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

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.

Wolken View Helper Settings







Environment

VMware VCenter Server

Cause

The ESXi host cannot resolve the DNS name of the vCenter server FQDN.

Resolution

  1. Verify that the ESXi host firewall allows the DNS client access to the environment DNS servers. Configuring the ESXi Firewall
  2. Troubleshoot network connectivity to environment DNS servers.

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