This is a known issue impacting VMware NSX and NSX-T data center.
Workaround:
1. First confirm using the below command that the module displayed in the error is still enabled:
# net-dvs -l | grep com.vmware.nsx.kcp
com.vmware.nsx.kcp.enable = true , propType = CONFIG
com.vmware.nsx.kcp.enable = true , propType = CONFIG
2. Then we need to disable the module for each DVS in use, using the following syntax:
# net-dvs -u "<property>" -p hostPropList <switchName>
3. To find the DVS names:
# esxcfg-vswitch -l
4. For example for DVS named
RegionA01-VDS7:
# net-dvs -u com.vmware.nsx.kcp.enable -p hostPropList RegionA01-VDS7
5. Using the command from step 1, check the module is disabled.
6. Place the ESXi host in vSphere maintenance mode and on the ESXi
nsxcli shell run:
# nsxcli> del nsx
7. Confirm the NSX-T VIBs have been remove:
esxcli software vib list | grep -i nsx8. If the ESXi hosts still have some error on the NSX-T UI, perform the removal again in the NSX-T UI, using the force delete option.
9. If you still find the DVS has the
com.vmware.nsx.kcp enabled, please reboot the host and repeat step 2.