VMware vSphere ESXI
VMWare Vcenter server
After the ESXi host reconnects to vCenter, vCenter pushes a DVS configuration via applyDvs. During this process, hostd reads the current version of the DVS by querying the property com.vmware.common.version. This query unexpectedly returns an error, causing the host to fall back and report the version a diffrent version of VDS .
Based on this stale version value, hostd incorrectly enters the isCswitchUpgrade code path. This triggers a hot swap of the portset from vswitch to cswitch. The hot swap fails, and the portset cannot revert to vswitch, leaving it in a disconnected nulldev state.
To restore expected network connectivity, perform the following steps to refresh the DVS state on the host:
Remove the affected ESXi host from the vSphere Distributed Switch (VDS).
Temporarily migrate the management interface (vmk0) to a vSphere Standard Switch (VSS).
Re-add the ESXi host to the vSphere Distributed Switch (VDS).
For further guidance on migrating ESXi host networking between standard and distributed switches,
Moving host from DVS to standard switch using ESXi CLI commands