Running the upgrade precheck displays the following error: Cannot move '<Hostname>' upgrade unit to '<group_nam>' group as vLCM is enabled on it.
search cancel

Running the upgrade precheck displays the following error: Cannot move '<Hostname>' upgrade unit to '<group_nam>' group as vLCM is enabled on it.

book

Article ID: 437386

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • The host is a standalone host in NSX.
  • The host is orphaned in NSX.
  • The host is not connected in vCenter.
  • You see the following error when running the Upgrade precheck:
    "Cannot move '<Hostname>' upgrade unit to '<group_name>' group as vLCM is enabled on it"

Environment

VMware NSX

Cause

This issue can occur with vLCM enabled cluster(s), when the MUB is uploaded, the upgrade plan for the hosts is created based on existing hosts, but when a host is added/removed on an NSX prepared vLCM cluster, this differs from the plan.

Resolution

Reset the upgrade plan for the host via API.
You can run this API call from a client such as Postman or from the root shell of any NSX manager: 
POST https://<mgr_IP>/api/v1/upgrade/plan?action=reset&component_type=HOST

Additional Information

Reset NSX Upgrade Prechecks
The NSX upgrade tab never finishes loading and displays a spinning circle indefinitely
NSX REST API Guide