Trying to remove NSX-T VIB from ESXi host(s) fails with error message displayed on screen:
Host configuration: host switch remove operation failed: [Failed to remove nsx properties: ApplyNsxDvsConfig on (50 0d 32 13 43 95 ed 00-71 f9 10 fb 4c 97 58 98) failed: {'fault': 'PlatformConfigFault', 'msg': 'An error occurred during host configuration.', 'faultMessage': ['Operation failed, diagnostics report: Unable to clear DVS propertycom.vmware.nsx.kcp.enable: Status(bad0004)= Busy']}; Failed to hot-swap cvds ['50 0d 32 13 43 95 ed 00-71 f9 10 fb 4c 97 58 98']ApplyNsxDvsConfig on (50 0d 32 13 43 95 ed 00-71 f9 10 fb 4c 97 58 98) failed: {'fault': 'PlatformConfigFault', 'msg': 'An error occurred during host configuration.', 'faultMessage': ['Operation failed, diagnostics report: Unable to clear DVS propertycom.vmware.nsx.kcp.enable: Status(bad0004)= Busy']}];
Trying del nsx from the ESXi host CLI also does not remove NSX-T vibs
Reboot of the host does not resolve the issue.
On the ESXi host, we see one or more of the three modules are loaded and enabled:
net-dvs -l | grep com.vmware.nsx.kcp
com.vmware.nsx.kcp.enable = true , propType = CONFIG
com.vmware.nsx.spf.enable = true , propType = CONFIG
com.vmware.nsx.vdl2.enable = true , propType = CONFIG
VMware NSX-T Data Center 4.x
VMware NSX-T Data Center 3.x
VMware vSphere 6.7
VMware vSphere 7.0
vCenter wrongly retrieves NSX-T property from host and saves it to VCDB. It then pushes these NSX-T properties back to ESXi host, preventing NSX-T vibs from getting removed.
The issue will be fixed in vSphere version - 7.0.3 P10.
Please open a Support Request with GSS for the workaround if you are unable to upgrade to vSphere 7.0.3 P10.