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.
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.
<node-id> for the stale entry:GET /policy/api/v1/alb/controller-nodes/deploymentsPOST /policy/api/v1/alb/controller-nodes/deployments/<node-id>?action=delete
POST /policy/api/v1/alb/controller-nodes/deployments/<node-id>?action=delete&force_delete=true&inaccessible=true