Error: "Failed to run health checks for NSX-T" and "install skipped" during vLCM Remediation and NSX Host Preparation - VMware vSphere Lifecycle Manager
search cancel

Error: "Failed to run health checks for NSX-T" and "install skipped" during vLCM Remediation and NSX Host Preparation - VMware vSphere Lifecycle Manager

book

Article ID: 432684

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

VMware vSphere Lifecycle Manager (vLCM) cluster remediation fails in the vSphere UI with the following errors:

  • "Remediation of cluster failed"

  • "Health Check for '' failed"

  • "Failed to run health checks for NSX-T on ''."

Concurrently, NSX host preparation stalls at 15% or displays an "install skipped" status in the NSX UI with the detailed message: "vLCM remediation was skipped or failed for some hosts."



The symptom "Unresponsive NSX Manager"  can also be an indicator of this problem. 

Environment

  • VMware NSX
  • VMware NSX-T Data Center
  • VMware vSphere Lifecycle Manager (vLCM)

Cause

A circular dependency exists between vLCM and NSX during cluster preparation wherein vLCM remediation is blocked by the NSX pre-check due to uninstalled components. NSX host preparation fails because vLCM reports the cluster as non-compliant

Resolution

  1. Log in to the vCenter Server Appliance (VCSA) via SSH as the root user.

  2. Stop the Update Manager service:

    service-control --stop updatemgr
    
  3. Create a backup of the vLCM configuration file:

    cp /usr/lib/vmware-updatemgr/bin/vci-integrity.xml /usr/lib/vmware-updatemgr/bin/vci-integrity.xml.bak
    
  4. Open /usr/lib/vmware-updatemgr/bin/vci-integrity.xml in a text editor (e.g., vi).

  5. Locate the <nsxt_rest> section and change the <enabled> tag from true to false:

    <nsxt_rest>
        <enabled>false</enabled>
    </nsxt_rest>
    
  6. Save the file and start the Update Manager service:

    service-control --start updatemgr
    
  7. In the vSphere Client, initiate the vLCM cluster remediation process and verify the hosts reach a compliant status.

  8. Once remediation completes successfully, revert the <enabled> tag back to true in /usr/lib/vmware-updatemgr/bin/vci-integrity.xml using steps 1–5.

  9. Restart the Update Manager service.

    service-control --start updatemgr
    
  10. In the NSX UI, prepare the compliant hosts for NSX via the Transport Node Profile.

Additional Information

For related information, see KB 427686:   Error: "Failed to run Health checks for NSX-T" during host remediation