In VMware NSX 4.x, when a tenant is being removed from the NSX environment, the deletion of a tenant-associated T0 loopback interface may fail with similar error message as following:
Error: The object Tier-0 Interface '<loopback-interface-ABC>' cannot be deleted as either it has children or it is being referenced by other objects:
Default: Tunnel '<tunnel-A-for-loopback-XYZ>' Tunnel '<tunnel-B-for-loopback-XYZ>' Tunnel '<tunnel-C-for-loopback-XYZ>'
(Error code: 500030)
Upon checking the tunnels referenced in the error message, these tunnels may come from a completely different T0 interface. Therefore, there is no actual reference of the tunnels to the loopback interface that is being removed.
VMware NSX 4.x
This is caused by a software issue where tunnels are incorrectly associated with a loopback interface under multi-tenancy configuration.
This issue is resolved in the future NSX release.
Please contact Broadcom Support, reference this KB, and upload the following logs/files: