Configuring vSphere HA fails at 99% with errors - Operation timed out and vSphere HA agent cannot be installed or configured
book
Article ID: 344241
calendar_today
Updated On:
Products
VMware vCenter ServerVMware vSphere ESXi
Issue/Introduction
This article provides information on why vSphere HA configuration fails to install or configure vSphere HA agent on the ESXi after rolling back the ESXi from 6.7 to the previous version
Symptoms:
vSphere HA configuration fails at 99% as Operation timed out
You see vSphere HA agent cannot be installed or configured error
The ESXi will have "vmware-fdm" of a different version and will fail to uninstall, preventing the installation of the latest FDM vib from the vCenter to manage the ESXi.
vmware-fdm vib removal will fail with error message as below:
[root@esxhost:~] esxcli software vib remove -n vmware-fdm [DependencyError] VIB VMware_locker_tools-light_10.3.2.9925305-10176879 requires esx-version >= 6.6.0, but the requirement cannot be satisfied within the ImageProfile. Please refer to the log file for more details.
After the ESXi rollback from version 6.7, the new tools-light VIB does not revert to the earlier version. As a result, the VIB becomes incompatible with the rolled back ESXi host causing these issues. Ref (https://docs.vmware.com/en/VMware-vSphere/6.7/rn/vsphere-esxi-vcenter-server-67-release-notes.html)
Because of the above behavior the "vmware-fdm" vib on the ESXi fails removal, preventing the installation of the latest FDM vib from vCenter causing the vSphere HA to fail with error "vSphere HA agent cannot be installed or configured"
Resolution
To resolve the issue
Find the current version of the ESXi using the command vmware -vl
Download the VMware tools vib from https://customerconnect.vmware.com for the above build
Upload the vib or the zip to the ESXi and install the "VMware-Tools" for the above build using below command