"Cannot complete the configuration of the vSphere HA agent on the host" error occurs when configuring HA after converting baseline-based cluster to an image-based cluster.
search cancel

"Cannot complete the configuration of the vSphere HA agent on the host" error occurs when configuring HA after converting baseline-based cluster to an image-based cluster.

book

Article ID: 430467

calendar_today

Updated On:

Products

VMware vCenter Server 8.0

Issue/Introduction

Enabling vSphere HA on the cluster fails with the following errors:
"Applying HA VIBs on the cluster encountered a failure". Failed installing HA component on the host:host-### Failed installing HA component on the host:host-###

In this scenario, vCenter is managed by the SDDC Manager

Error in var/log/vmware/vcf/lcm/lcm-debug.log

YYYY-MM-DDTHH:MM:SS.531Z info  vmware-vum-server[22373] [Originator@6876 sub=VumVapi::Utils opID=6b8e63d0-d985-40e5-9218-#####] [DepotContentManager 1703] GetComponentDetailsByName called.

YYYY-MM-DDTHH:MM:SS.532Z error vmware-vum-server[22373] [Originator@6876 sub=VumVapi::Utils opID=6b8e63d0-d985-40e5-9218-#####] [DepotContentManager 1712] Failed to get component (nsx-lcp-bundle) details. No record - VCDB ERROR: Row with name (nsx-lcp-bundle) not found in table PM_COMPONENTS.

YYYY-MM-DDTHH:MM:SS.532Z error vmware-vum-server[22373] [Originator@6876 sub=DepotManager::SoftwareSpecUtil opID=6b8e63d0-d985-40e5-9218-######] [SoftwareSpecUtil 635] Failed to fetch component details for (nsx-lcp-bundle) from depot: Error: com.vmware.vapi.std.errors.not_found
--> Messages:
--> com.vmware.vcIntegrity.lifecycle.depotContent.components.DetailError<Failed to retrieve details of Component 'nsx-lcp-bundle'>

Environment

SDDC Manager 5.x
vCenter Server 8.x
vCenter Server 7.x

Cause

vCenter is unable to get the cached component (nsx-lcp-bundle) from the VCDB of the updatemgr service psql table PM_DEPOT_COMPONENTS, after vCenter update/upgrade.

Resolution

      1. Reset the vum DB Resetting the VMware Update Manager Database

      2. Create an empty vLCM-enabled cluster

  • Log in to vCenter Server.
  • In the Inventory view, right-click the vCenter Server object.
  • Select New Cluster.
  • Enable vSphere Lifecycle Manager (vLCM).
  • Make sure to select "Import image from existing host" to avoid having to add a host to the cluster.

      3. Configure NSX on the newly created cluster

  • Log in to the NSX Manager UI.
  • Navigate to System > Fabric > Hosts and Clusters.
  • Locate the newly created empty cluster and select the checkbox next to it.
  • Click Add NSX at the top.
  • Select the Transport Node Profile to use. This does NOT affect live traffic as the cluster is empty.
  • Reconfigure the HA
  • Remove the newly created empty cluster from vCenter after the HA tasks show as completed.