hi,Brian and Yang:
      When we Initial Configuration of ONAP to Deploy vCPE by url: 
https://wiki.onap.org/display/DW/vCPE+Use+Case+Tutorial%3A+Design+and+Deploy+based+on+ONAP#vCPEUseCaseTutorial:DesignandDeploybasedonONAP-InitialConfigurationofONAPtoDeployvCPE,
       
      We occur a issue by this step : "Add an availability zone to AAI by 
executing the following”。
      When we send PUT request to AAI1, but AAI1 return a 412 error number and  
we didn’t appear the error number before。The error information is:
      "Precondition Required:resource-version not passed for update of 
/availability-zones/availability-zone/nova"

root@onap-robot:~# curl -i -u 'AAI:AAI' -X PUT 
'https://10.0.1.1:8443/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/availability-zones/availability-zone/nova'
 --header 'accept:application/json' --header 'content-type:application/json' 
--header 'cache-control:no-cache' --header 'x-fromappid:jimmy-postman' --header 
'X-TransactionId:9999' -d 
'{"availability-zone-name":"nova","hypervisor-type":"KVM","operational-status":"Active"}'
 -k
HTTP/1.1 412 Precondition Failed
Date: Thu, 24 Jan 2019 02:02:11 GMT
Content-Type: application/json
X-AAI-TXID: 0-aai-resources.api.simpledemo.onap.org-190124-02:02:11:839-13439
Content-Length: 378
Strict-Transport-Security: max-age=16000000; includeSubDomains; preload;

{"requestError":{"serviceException":{"messageId":"SVC3000","text":"Invalid 
input performing %1 on %2 (msg=%3) 
(ec=%4)","variables":["PUT","cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/availability-zones/availability-zone/nova","Precondition
 Required:resource-version not passed for update of 
/availability-zones/availability-zone/nova","ERR.5.4.6130"]}}}


      How can we solve this issue and continue to deploy vcpe use case?



----------------------------------------------
Regards,
Liu Chenglong
[email protected]




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15129): https://lists.onap.org/g/onap-discuss/message/15129
Mute This Topic: https://lists.onap.org/mt/29521825/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to