VMware NSX
VMware vSphere 8.0.x
The remediation of the host failed because the NSX VIBs on the host failed to be uninstalled because 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.
This is a known issue impacting VMware NSX.
net-dvs - |grep com.vmware.nsx
Note: You will see output similar to the following: com.vmware.nsx.kcp.enable = true , propType = CONFIGcom.vmware.nsx.vdsSecurity.enabled = true , propType = CONFIGcom.vmware.nsxData.traceflow.enabled = true , propType = CONFIGObtain the name of the vDS which needs to be modified via the esxcfg-vswitch -l command.
Note: You will see output similar to the following:
Switch Name Num Ports Used Ports Configured Ports MTU UplinksvSwitch0 8960 1 128 1500
PortGroup Name VLAN ID Used Ports Uplinks VM Network 0 0
DVS Name Num Ports Used Ports Configured Ports MTU UplinksNSX_VDS 8960 58 1024 9000 vmnic8,vmnic9
DVPort ID In Use Client 40 1 vmnic8 52 1 vmnic9 1 1 vmk1 7 1 vmk2
Note: NSX_VDS is the name of the vDS to be modified. There might be more than one vDS that needs to be modified.
net-dvs -u com.vmware.nsx.kcp.enable -p hostPropList NSX_VDS
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.