Remediation of a host fails with the error "failed to remove component nsx-lcp-bundle an error occurred while disabling service nsx-datapath"
search cancel

Remediation of a host fails with the error "failed to remove component nsx-lcp-bundle an error occurred while disabling service nsx-datapath"

book

Article ID: 424469

calendar_today

Updated On:

Products

VMware NSX VMware vSphere ESXi 8.0

Issue/Introduction

  • Unable to remove NSX VIBs on the ESXi host using vLCM 
  • From the UI the following error is observed

Environment

VMware NSX
VMware vSphere 8.0.x

Cause

The remediation of the host failed because the NSX VIBs on the host failed to be uninstalled as there were a number of NSX modules (com.vmware.nsx.kcp, com.vmware.nsx.vdsSecurity and  com.vmware.nsxData.traceflow) that were loaded and enabled on the host which prevented the NSX VIBs from being removed. 

Resolution

This is a known issue impacting VMware NSX.

Workaround:

  1. Confirm using the following command what the modules are enabled: 
    net-dvs - |grep com.vmware.nsx

    Note: You will see output similar to the following:  

    com.vmware.nsx.kcp.enable = true ,      propType = CONFIG
    com.vmware.nsx.vdsSecurity.enabled = true ,     propType = CONFIG
    com.vmware.nsxData.traceflow.enabled = true ,   propType = CONFIG

  2. Remove the stale entries by following NSX VIBs are not removed from an ESXi host

  3. Attempt to remediate the host again.

  4. Issue  the esxcli software vib list | grep -E 'nsx|vsipfwlib' command to validate that no NSX VIBs are installed on the host. There should be no output.

Additional Information

NSX VIBs are not removed from an ESXi host

NSX Uninstallation fails/stuck on ESX host and VIBs cannot be removed