2025-07-21T14:42:17.060Z Wa(180) vmkwarning: cpu71:2105466 opID=57####ba)WARNING: swsec: SwSec_VdsPropRegister:879: [nsx@6876 comp="nsx-esx" subcomp="swsec-24765085"]Failed to register swsec dvs property com.vmware.vswitch.port.swsec.enabled(Already exists)2025-07-21T14:42:17.060Z Wa(180) vmkwarning: cpu71:2105466 opID=57####ba)WARNING: swsec: SwSecVdsRegisterClients:706: [nsx@6876 comp="nsx-esx" subcomp="swsec-24765085" errorCode="ESX5"]Failed to register VDS Props CBs for ps DvsPortset-#2025-07-21T14:42:17.060Z Wa(180) vmkwarning: cpu71:2105466 opID=57####ba)WARNING: swsec: SwSecVdsVswitchActivateCB:859: [nsx@6876 comp="nsx-esx" subcomp="swsec-24765085" errorCode="ESX5"]Failed to register VDS Clients for ps DvsPortset-#2025-07-21T14:42:17.060Z Wa(180) vmkwarning: cpu71:2105466 opID=57####ba)WARNING: NetHotswap: 309: Failed to swap in type vswitch2025-07-21T14:42:17.060Z Wa(180) vmkwarning: cpu71:2105466 opID=57####ba)WARNING: NetHotswap: 534: DvsPortset-#: failed to swap from type cswitch to type vswitch reverting to cswitch2025-07-21T14:42:17.061Z In(182) vmkernel: cpu71:2105466 opID=57####ba)cswitch: VSwitchActivate:10082: [nsx@6876 comp="nsx-esx" subcomp="vswitch"]Failed to post NSX_CSWITCH_ACTIVATE on ps DvsPortset-#: Failure2025-07-21T14:42:17.061Z Wa(180) vmkwarning: cpu71:2105466 opID=57####ba)WARNING: NetHotswap: 309: Failed to swap in type cswitch2025-07-21T14:42:17.061Z Wa(180) vmkwarning: cpu71:2105466 opID=57####ba)WARNING: NetHotswap: 540: DvsPortset-#: failed to revert to type cswitch, reverting to nulldev
VMware NSX-T DataCenter
VMware NSX
When an ESXi host has been added to an NSX prepared cluster, but has not been successfully prepared for NSX, and VM(s) are migrated to it from other, fully NSX prepared, ESXi hosts, the VM's will bring along security port properties carried over from the source host. If NSX is attempted to be prepared on this host while this VM is still present, the vswitch conversion attempt will fail due to the presence of these ports with security properties. The fallback of the switch also fails for the same reason, leaving the host switch in a broken state.
This will be fixed in a future version of VMware NSX to drop the swsec switch properties before attempting the switch conversion.
To prevent this issue:
Workaround: