Removing tenant Tier-0 loopback interface fails for being referenced by other objects
search cancel

Removing tenant Tier-0 loopback interface fails for being referenced by other objects

book

Article ID: 383519

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

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. 

Environment

VMware NSX 4.x 

Cause

This is caused by a software issue where tunnels are incorrectly associated with a loopback interface under multi-tenancy configuration. 

Resolution

This issue is resolved in the future NSX release. 

 

Please contact Broadcom Support, reference this KB, and upload the following logs/files:

  • NSX manager support bundles from all three manager nodes
  • Run the following command in one of the NSX manager and collect the "tunnels.txt" file under /root
    • SSH into a NSX manager
    • Enter "st en" to enter root mode
    • /opt/vmware/bin/corfu_tool_runner.py -n nsx -t Tunnel -o getTable > tunnels.txt