The VMware Cloud Director entity com.vmware.vcloud.entity.network:########-####-####-####-############ does not exist
select * from logical_network where id = '########-####-####-####-############';
GET https://{vcd_host}/cloudapi/1.0.0/externalNetworks/urn:vcloud:network:########-####-####-####-############
VMware Cloud Director 10.3.x
This issue can occur if the network with the UUID in the error has a REALIZATION_FAILED
status.
If the network is not in use it can be deleted from Cloud Director via the Cloud Director API.
Example steps would be as follows:
curl -kv 'https://{vcd_host}/cloudapi/1.0.0/externalNetworks/urn:vcloud:network:########-####-####-####-############' -H 'Accept: application/json;version={vcd_api_version}' -H 'Content-Type: application/json' -H 'Authorization: Bearer {vcd_auth_token}'
REALIZATION_FAILED
status and no IPs are in use:"status": "REALIZATION_FAILED",
"networkBackings": null,
...
"usedIpCount": 0,
REALIZATION_FAILED
status, is not in use, and we wish to delete it, this can be done via the Cloud Director API, for example with Curl:curl -kv -X DELETE 'https://{vcd_host}/cloudapi/1.0.0/externalNetworks/urn:vcloud:network:########-####-####-####-############' -H 'Accept: application/json;version={vcd_api_version}' -H 'Content-Type: application/json' -H 'Authorization: Bearer {vcd_auth_token}'