net-dvs -l
" output there should be a switch with vswitch type and another switch with cswitch type with kcp property set.File "/etc/init.d/nsx-datapath", line 1592, in <module> UnloadKernelModules(False, True) File "/etc/init.d/nsx-datapath", line 1331, in UnloadKernelModules unloadModule(modName, 'nsxt-vsip' in modName) File "/etc/init.d/nsx-datapath", line 1303, in unloadModule raise KernelModulesException('Failed to unload module %s: %s' % KernelModulesException: Failed to unload module nsxt-kcp-22104635: vmkmod: VMKMod_UnloadModule: Unloading module nsxt-kcp-22104635 failed: Busy (bad0004) Cannot remove module nsxt-kcp-22104635:
Example:
[root@esx:~] net-dvs -u com.vmware.nsx.kcp.enable -p hostPropList DVS1
/var/log/nsx-syslog.log
VMware NSX
During a maintenance mode upgrade with multiple DVS (NSX VDS + NSX on DVPG), the upgrade fails to unload KCP. This failure occurs because the KCP property of the DVPG switch is not removed.
This issue is resolved in VMware NSX 4.2.1, available at Broadcom downloads.
If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.
Workaround:
1) Proceed with in-place host upgrade
2) If option 1 does not work, run the following command on each ESXi host before the upgrade:
# mkdir /tmp/nsx2; echo '{"dual_load":true}' > /tmp/nsx2/debug