NSX Cluster Preparation Fails with Health Check Error on vLCM Enabled Cluster
search cancel

NSX Cluster Preparation Fails with Health Check Error on vLCM Enabled Cluster

book

Article ID: 407958

calendar_today

Updated On:

Products

VMware NSX VMware vCenter Server

Issue/Introduction

  • Attempting to remediate or patch a cluster in LCM results in the error: A general system error occurred: Health Check for Cluster '####' failed.
  • Hosts in the vCenter cluster are reported as "Out of Compliance"
  • In NSX Manager, the Compute Manager registration status may appear as "Pending" or "Registered with Errors"
  • All the hosts in the Cluster reporti as Out of Compliance in the vCenter LCM
  • In NSX Manager, the cluster status shows "Failed to prepare" or "Preparation failed" with following error message:

26198: Error occurred during operation on cluster:###################:domain-## Error: NSX cannot be enabled on vLCM enabled cluster as required configurations are not created on compute manager. Please perform edit action on Compute Manager ######################## to enable trust and create service account. The cluster ####### is not in sync. Click 'Resolve' to initiate sync between the NSX manager and vLCM on vCenter.

Environment

  • VMware NSX
  • VMware vCenter Server

Cause

This issue occurs if trying to prepare a NSX enabled Cluster for vLCM and the registered Compute Manager is not registered with the required settings for vLCM or if the Registration is in failed or pending state for any reason.

Resolution

To resolve the issue, edit the Compute Manager on NSX and make sure enable trust and create service account options are enabled as per Prepare an NSX Cluster with vSphere Lifecycle Manager

  1. Log in to the NSX Manager UI.
  2. Navigate to System > Fabric > Compute Managers.
  3. Select the target vCenter Server and click Edit.
  4. Ensure the following options are enabled:
    • Enable Trust
    • Create Service Account
    • Note: If these are already enabled but the status is "Pending," toggle them off, save, and then toggle them back on to refresh the trust configuration.
  5. Click Save and wait for the Registration Status to show as Registered.
  6. Navigate to System > Fabric > Nodes > Host Transport Nodes.
  7. Select the affected cluster and click Resolve to initiate the sync between NSX Manager and vLCM.
  8. Return to the vSphere Lifecycle Manager (vLCM) and re-run the remediation/compliance check.


Note: Disabling vLCM on the vSphere cluster is not a supported operation in vCenter.

Additional Information

Also refer to following related links:

Switching from using Baselines to Images (vLCM) may result in drift and report VIB/Component Removal Notifications

Prepare an NSX Cluster with vSphere Lifecycle Manager

 

For instructions on uploading files to Broadcom, see Uploading files to cases on the Broadcom Support Portal.

Collect Support Bundles for Troubleshooting VMware NSX