/var/log/proton/nsxapi.log below error are seen.ERROR LogicalSwitchStateOperationScheduler1 NsxPortgroupExecuteVcUtils 5140 SWITCHING [nsx@6876 comp="nsx-manager" errorCode="MP9538" level="ERROR" subcomp="manager"] Could not find the HostSwitch [ ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##] of type VDSVMware NSX
The ESXi (transport nodes) that were previously functioning and later decommissioned via vCenter Inventory, has not been removed from NSX completely
This is a condition that can occur in a VMware NSX environment.
To fix the issue, follow the steps below
System > Fabric > Hosts > Standalone and remove the decommissioned Hosts using a DELETE NSX and then select the “Force Delete” option (Home > Inventory > Networking) and ensure that the segment is created successfully.For further help, please open a Broadcom support case