To resolve this issue, delete the malformed replication via the vCloud Availability API.
POST https://c4-fqdn/sessions
Header:
Content-Type:application/json
Example Body:
{
"type": "vcdCredentials",
"vcdUser": "user@org",
"vcdPassword": "password"
}
cURL Example:
# curl -k -i -X POST https://vcav.corp.local/sessions -H 'Content-Type: application/json' -d '{"type": "vcdCredentials","vcdUser": "administrator@system","vcdPassword": "vmware"}' | grep X-VCAV-Auth
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 237 100 149 100 88 680 401 --:--:-- --:--:-- --:--:-- 1082
X-VCAV-Auth: 2kYlyP8J82cq6xsFCrRr+LOnC34=
POST https://c4-fqdn/sessions/extend
Headers:
Content-Type:application/json
X-VCAV-Auth:auth-token
Example Body:
{
"type": "credentials",
"site": "source-site",
"vcdUsername": "user@org",
"vcdPassword": "password"
}
cURL Example:
# curl -k -i -X POST https://vcav.corp.local/sessions/extend -H 'Content-Type: application/json' -H 'X-VCAV-Auth: 2kYlyP8J82cq6xsFCrRr+LOnC34=' -d '{"type": "credentials","site": "Provider-Site","vcdUsername": "administrator@system","vcdPassword": "vmware"}'
GET https://c4-fqdn/vapp-replications
Headers:
Content-Type:application/json
X-VCAV-Auth:auth-token
cURL Example:
# curl -k -X GET https://vcav.corp.local/vapp-replications -H 'Content-Type: application/json' -H 'X-VCAV-Auth: 2kYlyP8J82cq6xsFCrRr+LOnC34=' | json_pp
GET https://c4-fqdn/vapp-replications/C4VAPP-UUID
Headers:
Content-Type:application/json
X-VCAV-Auth:auth-token
cURL Example:
# curl -k -X GET https://vcav.corp.local/vapp-replications/C4VAPP-<vapp uuid> -H 'Content-Type: application/json' -H 'X-VCAV-Auth: 2kYlyP8J82cq6xsFCrRr+LOnC34=' | json_pp
DELETE https://c4-fqdn/vapp-replications/C4VAPP-UUID
Headers:
Content-Type:application/json
X-VCAV-Auth:auth-token
cURL Example:
# curl -k -i -X DELETE https://vcav.corp.local/vapp-replications/C4VAPP-db738e72-213c-484d-8493-360c85c7f724 -H 'Content-Type: application/json' -H 'X-VCAV-Auth: 2kYlyP8J82cq6xsFCrRr+LOnC34='