You need to put availability zone in AAI. If you run demo-k8s.sh onap init_customer from oom/kubernetes/robot in the Rancher VM, you should already have it. Otherwise, you need to do it manually:
curl -X PUT \ https://10.12.5.16:30233/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/availability-zones/availability-zone/AZ1 \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -H 'Postman-Token: 773f90c4-1492-4450-adb9-a40bcce2ff4e' \ -H 'X-FromAppId: AAI' \ -H 'X-TransactionId: get_aai_subscr' \ -H 'cache-control: no-cache' \ -d '{ "availability-zone-name": "AZ1", "hypervisor-type": "hypervisor" }' Marco From: <[email protected]> on behalf of Abdelmuhaimen Seaudi <[email protected]> Reply-To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Date: Sunday, April 14, 2019 at 12:35 PM To: "[email protected]" <[email protected]> Subject: [onap-discuss] GR-API error Hi, I distributed the vfw model OK, and I try to instantiate using VID with the GR-API The service is instantiated OK, but when I try to instantiate a Vnf, I get the following error in VID "requestId": "f8211940-c0c6-4933-87fc-260685f905ad", "requestType": "createInstance", "requestState": "FAILED", "requestStatus": "null + Rollback has been completed successfully.", "percent-progress": "100" Also, in SDNC logs, I get the following error showing that the DG failed. 2019-04-14 16:22:21,210 | ERROR | qtp823819312-503 | GenericResourceApiProvider | 237 - org.onap.sdnc.northbound.generic-resource-api-provider - 1.4.3 | Returned FAILED for vnf-topology-operation [bf2b4328-4eec-4188-8910-a9f3d9b8913f] VnfTopologyOperationOutput [_ackFinalIndicator=Y, _responseCode=500, _responseMessage=No availability zones found in AAI for cloud region fr1, _svcRequestId=7c7b9b30-d899-481e-856a-1391172152d4, augmentation=[]] Any idea what does this mean : No availability zones found in AAI for cloud region fr1 And how it can be corrected ? the VNF-API is working fine Thanks A. Seaudi _________________________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16548): https://lists.onap.org/g/onap-discuss/message/16548 Mute This Topic: https://lists.onap.org/mt/31100926/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
