could not delete: [com.vmware.vcloud.common.model.logicalresource.GatewayLogicalResourceModel#########-####-####-####-############]
- ERROR: update or delete on table "gateway_logical_resource" violates foreign key constraint "fk_firewa_group2gate_logi_res" on table "firewall_group"
Detail: Key (id)=(########-####-####-####-############) is still referenced from table "firewall_group".
VMware Cloud Director 10.6.1.2
Child objects can prevent the parent objects from getting removed. Edge gateways and it's child objects should be successfully removed before an OVDC can be deleted.
To resolve the issue, the edge gateway can be deleted via the API and then the OVDC can be deleted via the UI.
https://<VCD IP or FQDN>/tenant/<Tenant Name>/vdcs/########-####-####-####-############/org-vdc-edge-gateways/cloud/urn:vcloud:gateway:########-####-####-####-############/config/generalurn:vcloud:gateway:########-####-####-####-############ to proceed with the next steps.If the above does not resolve the issue,contact Broadcom Support and note this Article ID (421998) in the problem description. For more information, see Creating and managing Broadcom support cases.