Tier1
'/infra/tier-1s/########-####-####-####-############' cannot be deleted
as Virtualservice
'VCD-LoadBalancer-########-####-####-####-############-<virtual_service_name>'
associated with it" when attempting to enable Load Balancer Transparent
Mode on an Edge Gateway./opt/vmware/vcloud-director/logs/vcloud-container-debug.log on the Cloud Director Cells show an error of the form:<TIMESTAMP> | WARN | task-service-activity-pool-### | NsxTEdgeLoadBalancer | VrfContext is not ready for Edge Gateway <EDGE_NAME> with Tier-1 <EDGE_ID>. Cloud has state CLOUD_STATE_PLACEMENT_READY and reason: . Waited ### seconds. | requestId=########-####-####-####-############,request=PUT https://<VCD_ADDRESS>/cloudapi/1.0.0/edgeGateways/urn:vcloud:gateway:<EDGE_ID>/loadBalancer,requestTime=<REQUEST_TIME>,remoteAddress=#.#.#.#:#####,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:137.0) Gecko/201...,accept=application/json;version 40.0.0-alpha vcd=########-####-####-####-############,task=########-####-####-####-############ activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:########-####-####-####-############)com.vmware.vcloud.common.network.NsxAlbApiException: VrfContext is not ready for Edge Gateway <EDGE_NAME> with Tier-1 <EDGE_ID>. at com.vmware.vcloud.networking.model.edge.nsxt.services.loadbalancer.NsxTEdgeLoadBalancer.getVrfContextUuid(NsxTEdgeLoadBalancer.java:748)
This issue occurs if the VRF Context name in Avi Load Balancer is not correct for the Edge Gateway being modified in Cloud Director.
For example if the Edge Gateway is renamed in the Cloud Director UI, then this name change may not be propagated down to the VRF Context in Avi Load Balancer.
To resolve the issue, ensure that the name of the VRF Context in Avi Load Balancer associated with the Cloud Director Edge is in the correct format.
The name of the VRF Context must take the from <EDGE_NAME>-<EDGE_ID>.
ExampleEdgehttps:///provider/cloud/edge-gateways/cloud/urn:vcloud:gateway:1234abcd-####-####-####-############/config/general1234abcd-####-####-####-############ExampleEdge-1234abcd-####-####-####-############1234abcd-####-####-####-############ExampleEdge-1234abcd-####-####-####-############For other known issues with enabling Transparent Mode on an Edge Gateway in the Cloud Director UI see the KB article here, Error: "Tier1 '/infra/tier-1s/########-####-####-####-############' cannot be deleted as Virtualservice 'VCD-LoadBalancer-########-####-####-####-############' associated with it" when attempting to enable Load Balancer Transparent Mode on an Edge Gateway.