Cannot delete [NSX-T Manager Name]. Its in use currently, has networks: 1. [Network Name].
All related Organization VDCs (OVDCs), Edge Gateways, and External Networks associated with that NSX-T Manager have already been removed from the VCD UI.
The specific "Network Name" mentioned in the error cannot be located or searched for within the VCD UI.
The /opt/vmware/vcloud-director/logs/vcloud-director.debug.log report a similar error as below:| ERROR | pool-jetty-xxx | DefaultExceptionMapper | Internal server exception | requestId=xxxx-xx-xxx-xxxxx,request=DELETE https://VCDFQDN/api/admin/extension/nsxtManagers/xxxxorg.springframework.dao.DataIntegrityViolationException: could not delete: [com.vmw
VMware Cloud Director 10.6.x
This issue occurs due to stale network references remaining in the VMware Cloud Director database. Even though the networks are not visible in the UI, existing entries in the VCD Database prevent the deletion of the manager.
This issue requires a manual database modification to clear the stale references.
For assistance, please get in touch with Broadcom Technical Support and reference this Knowledge Article ID (433536) in your service request. For more information, see Creating and managing Broadcom support cases.