-
Bug
-
Resolution: Not a Bug
-
Low
-
Dublin Release
-
None
sequence:
Deregister cloud from Multicloud
DELETE \ 'http://$ONAP_MSB_IP:$ONAP_MSB_PORT/api/multicloud-titaniumcloud/v1/<cloudowner>/<region-id>'
Delete cloud from AAI
e.g. DELETE https://\AAI1_PUB_IP:AAI1_PUB_PORT/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner/cloud-region-id?resource-version=...
(may need to delete tenant and contents first)
Verify cloud is not present in AAI
GET https://\AAI1_PUB_IP:AAI1_PUB_PORT/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/cloud-owner/cloud-region-id
Now add the cloud back to AAI and register with Multicloud
POST http://\MSB_IP:MSB_PORT/api/multicloud-titaniumcloud/v1/cloud-owner/cloud-region-id/registry
Watching the logs of multicloud :
2019-05-03 18:36:08|||||common.utils.restcall||140622091098896||_call_req||DEBUG||with response content = {"requestError":{"serviceException":
{"messageId":"SVC3000","text":"Invalid input performing %1 on %2 (msg=%3) (ec=%4)","variables":["PUT","cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-06","Precondition Failed:resource-version MISMATCH for update of /cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-06","ERR.5.4.6131"]}}}||||requestID= invocationID= serviceName= serviceIP=
It appears to 'remember' an older version of the cloud information and uses the wrong 'resource-version' number when trying to do a PUT
- relates to
-
AAI-2416 [Code Cleanup] - Deprecate Cached mode connections in AAI microservices
- Closed