NSX Install fails on new Hosts in vLCM enabled Cluster with error: org.springframework.web.client.HttpClientErrorException$Forbidden
search cancel

NSX Install fails on new Hosts in vLCM enabled Cluster with error: org.springframework.web.client.HttpClientErrorException$Forbidden

book

Article ID: 441479

calendar_today

Updated On:

Products

VMware NSX VMware vCenter Server

Issue/Introduction

  • When adding new ESXi hosts to a Cluster managed by vSphere Lifecycle Manager (vLCM), the NSX installation fails.
  • NSX Manager UI shows configuration status as Failed or Install Failed with error Message: Error: Failed to install software on host. Pushing NSX depot(s) on Compute Manager failed with error: org.springframework.web.client.HttpClientErrorException$Forbidden: 403 Forbidden:

  • In vCenter UI, the image details or compliance status may be missing or may show the following error at the Host or Cluster level: No healthy upstream:

Environment

VMware NSX

VMware vCenter Server

Cause

  • This issue occurs due to a synchronization failure between vCenter's Update Manager service and the NSX Manager.
  • If the vmware-updatemgr service is in a stale state or if there is a circular dependency where NSX waits for vLCM remediation while vLCM is waiting for NSX health checks, the installation workflow stalls.

Resolution

  1. Restart vCenter Service: Log in to the vCenter Server and restart the vmware-updatemgr service to restore image visibility and compliance checking:
    • service-control --restart vmware-updatemgr
    • service-control --status vmware-updatemgr
  2. Verify Compliance: Confirm that the hosts now show image details and compliance status in the vSphere Client.
  3. Manual vLCM Remediation: Initiate a manual remediation task for the affected hosts in vCenter. This clears the "vLCM remediation initiated" block on the host side.
  4. NSX Manager Resolve: Once vCenter remediation is successful, return to the NSX Manager UI and trigger the Resolve action for the hosts.
  5. Validation: Verify the host status transitions to "Success" in the NSX Manager.

Additional Information

Related KBs:

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

NSX installation is failing on the host with an error 'vLCM remediation initiated'

NSX-T install / upgrade on ESXi fails on a vLCM enabled cluster