/var/log/proton/nsxapi.log
you see the below ERROR
2024-09-23T12:22:39.721Z ERROR LogicalSwitchStateOperationScheduler1 NsxPortgroupExecuteVcUtils 5140 SWITCHING [nsx@6876 comp="nsx-manager" errorCode="MP9538" level="ERROR" subcomp="manager"] Could not find the HostSwitch [ ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##] of type VDS
VMware NSX,VMware NSX-T
The ESXi (transport nodes) that were previously functioning and later decommissioned were not removed from NSX-T.
This is a condition that may occur in a VMware NSX environment.
Workaround :
System > Hosts > Standalone
and remove the decommissioned Hosts using a DELETE NSX and the “Force Delete” option (Home > Inventory > Networking
) that the segment is created