Error "Cannot delete Load Balancer Cloud <name> since it has an associated Edge Gateway Load Balancer" when trying to delete a NSX-T Cloud from VCD
search cancel

Error "Cannot delete Load Balancer Cloud <name> since it has an associated Edge Gateway Load Balancer" when trying to delete a NSX-T Cloud from VCD

book

Article ID: 406465

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Get the following error when trying to delete a NSX-T Cloud from VMware Cloud Director:
    • Cannot delete Load Balancer Cloud <name> since it has an associated Edge Gateway Load Balancer
  • When trying to delete the Edge Gateway Load Balancer, the following error occurs:
    • Load Balancer Cloud cloud-############## does not exist
  • The Edge Gateway Load Balancer is in active state and does not update to inactive state via UI or via API Explorer - cloudapi/1.0.0/edgeGateways/gatewayId/loadBalancer
  • Cannot delete AVI LB  on Cloud Director UI

Environment

VMware Cloud Director 10.6

Cause

This issue occurs because NSX edge gateway elements ( Load balancers / pools ) were removed outside of Cloud Director, leaving Cloud Director unaware of the deletion

Resolution

If disabling the Edge Gateway Load Balancer via the following KB method does not make the Edge Gateway Load Balancer "Inactive":
Error "Load Balancer Cloud cloud- does not exist" when attempting to view or edit NSX edge gateway Load Balancer in VCD

Database modification is needed to resolve this issue to set the enabled flag to false. Please contact Broadcom Support and note this Article ID (406465) in the problem description. For more information, see Creating and managing Broadcom support cases