error deleting resources by rdeId: [urn:vcloud:entity:vmware:capvcdCluster:########-####-####-####-########110a], [error deleting resources by rde ID: [urn:vcloud:entity:vmware:capvcdCluster:########-####-####-####-########110a] after [10] retry attempts: [error occurred deleting L4 loadbalancer for rde [<name of virtual service>(urn:vcloud:entity:vmware:capvcdCluster:########-####-####-####-########110a)]: [virtual service [<name of virtual service>-urn:vcloud:entity:vmware:capvcdCluster:########-####-####-####-########110a-tcp] is busy]. [0] remaining retry attempts]]
E0111 12:17:21.341433 17639 gateway.go:1049] Virtual service [<cluster_name>-urn:vcloud:entity:vmware:capvcdCluster:########-####-####-####-########110a-tcp] is still being configured. Virtual service status: [REALIZATION_FAILED]E0111 12:17:21.341476 17639 gateway.go:1788] delete virtual service failed; virtual service [<cluster_name>-urn:vcloud:entity:vmware:capvcdCluster:########-####-####-####-########110a-tcp] is busy: [virtual service [<cluster_name>-urn:vcloud:entity:vmware:capvcdCluster:########-####-####-####-########110a-tcp] is busy]{"level":"error","ts":"2024-01-11T12:17:21.341Z","caller":"cluster/clusterManager.go:821","msg":"error occurred deleting L4 loadbalancer for rde [<cluster_name>(urn:vcloud:entity:vmware:capvcdCluster:########-####-####-####-########110a)]: [virtual service [<cluster_name>-urn:vcloud:entity:vmware:capvcdCluster:########-####-####-####-########110a-tcp] is busy]. [33] remaining retry attempts","workerID":"########-####-####-####-########234f","stacktrace":"########/core-build/vcd-k8s-provider/src/cluster.DeleteResourcesByRDEId\n\t/app/src/cluster/clusterManager.go:821\n########/core-build/vcd-k8s-provider/src/cluster.DeleteWithoutScript\n\t/app/src/cluster/clusterManager.go:1110\ngitlab.eng.vmware.com/core-build/vcd-k8s-provider/src/cluster.DeleteCluster\n\t/app/src/cluster/clusterManager.go:429\nmain.processRDE\n\t/app/main.go:691"}To workaround the issue, carry out the following steps :
urn:vcloud:entity:vmware:capvcdCluster:#####-#####-####-####-####urn:vcloud:entity:vmware:capvcdCluster:#####-#####-####-####-####a. POST {{vcd-ip-or-fqdn}}/cloudapi/1.0.0/entities/{{clusterId}}/resolve
b. DELETE {{vcd-ip-or-fqdn}}/cloudapi/1.0.0/entities/{{clusterId}}
Note: When attempting to perform these API requests, if you receive an "Access to resource is forbidden" response from the API, ensure that the settings "Auto Repair on Errors" & "Node Health Check" are disabled. To validate this, click on the "SETTINGS" button on the cluster (visible in the screenshot above in step 3).
Example API from API Explorer (embedded in the Cloud Director UI).