AVI Load Balancer remains visible in NSX Manager UI after removal of Workload Domain
search cancel

AVI Load Balancer remains visible in NSX Manager UI after removal of Workload Domain

book

Article ID: 430022

calendar_today

Updated On:

Products

VMware NSX VMware Avi Load Balancer

Issue/Introduction

  • In NSX Manager, after removing an Avi Load Balancer, the controller nodes may still appear in the user interface or as stale entries in the system configuration. 

Cause

The issue occurs when the NSX Manager database retains stale references to the AVI LB controller deployments that were not correctly cleared during the initial AVI LB decommissioning process.

Resolution

To resolve this issue, you must manually remove the stale entries using the NSX API.

Note: Ensure to have valid backups before these actions before proceeding with API deletions.

  1. Run the following API command to list the controller deployments and locate the <node-id> for the stale entry:

    GET /policy/api/v1/alb/controller-nodes/deployments

  2. Use the following API to remove the configuration:

    POST /policy/api/v1/alb/controller-nodes/deployments/<node-id>?action=delete

  3. If the entry remains visible after the previous step, use the force delete parameter:

    POST /policy/api/v1/alb/controller-nodes/deployments/<node-id>?action=delete&force_delete=true&inaccessible=true

Additional Information

NSX-T Data Center REST API