Is distribution completed OK in SO? If so, check if AAI has that model ID: https://{{aai_ip}}:{{aai_port}}/aai/{{aai_api_ver}}/service-design-and-creation/models/model/a24367f2-e92e-4d24-be2c-092b755dd289<https://%7b%7baai_ip%7d%7d:%7b%7baai_port%7d%7d/aai/%7b%7baai_api_ver%7d%7d/service-design-and-creation/models/model/a24367f2-e92e-4d24-be2c-092b755dd289>
Marco From: "[email protected]" <[email protected]> Date: Monday, April 15, 2019 at 3:02 AM To: "PLATANIA, MARCO (MARCO)" <[email protected]>, "[email protected]" <[email protected]> Subject: RE: [onap-discuss] GR-API error Hi, I add it, and the vnf is created OK now. However, I get the following error for the VF Module 2019-04-15 06:26:38,419 | ERROR | qtp823819312-123 | GenericResourceApiProvider | 237 - org.onap.sdnc.northbound.generic-resource-api-provider - 1.4.3 | Returned FAILED for vf-module-topology-operation [f2a0a0d8-cc14-4d2e-840f-cafd158f8883] VfModuleTopologyOperationOutput [_ackFinalIndicator=Y, _responseCode=500, _responseMessage=No entries found in VFC_MODEL table for customization UUID , _svcRequestId=a507b082-bb9c-42ba-8729-153a140339e1, augmentation=[]] Here’s the VID request to instantiate the vfmodule https://vid.api.simpledemo.onap.org:30200/vid/mso/mso_create_vfmodule_instance/f2a0a0d8-cc14-4d2e-840f-cafd158f8883/vnfs/32dc68ac-772b-4646-bb1c-9507fc596b34<https://urldefense.proofpoint.com/v2/url?u=https-3A__vid.api.simpledemo.onap.org-3A30200_vid_mso_mso-5Fcreate-5Fvfmodule-5Finstance_f2a0a0d8-2Dcc14-2D4d2e-2D840f-2Dcafd158f8883_vnfs_32dc68ac-2D772b-2D4646-2Dbb1c-2D9507fc596b34&d=DwQGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=Jdk_VKV2jIbKCZx4J-phDrZ7OP-ANDkmZaCzJ_p96IU&s=TfP3Wu1MMY44xPffk7sInkPHxInEzB58iWsuBrL4Jio&e=> { "requestDetails": { "requestInfo": { "instanceName": "plain-vfw-vfm-inst", "source": "VID", "suppressRollback": true, "requestorId": "demo" }, "modelInfo": { "modelType": "vfModule", "modelInvariantId": "a24367f2-e92e-4d24-be2c-092b755dd289", "modelVersionId": "27292fe5-770a-49d2-9627-a1a7fa6e4b43", "modelName": "VspVfwPlain..heat_vFW_base_vfw..module-0", "modelVersion": "1", "modelCustomizationId": "55a558ed-2f89-4777-88fb-43d94c773633", "modelCustomizationName": "VspVfwPlain..heat_vFW_base_vfw..module-0" }, "requestParameters": { "testApi": "GR_API", "usePreload": false }, "cloudConfiguration": { "lcpCloudRegionId": "fr1", "tenantId": "6270eaa820934710960682c506115453" }, "relatedInstanceList": [ { "relatedInstance": { "instanceId": "f2a0a0d8-cc14-4d2e-840f-cafd158f8883", "modelInfo": { "modelType": "service", "modelName": "svc-vfw-alacarte-plain", "modelInvariantId": "f71b15c7-0bb7-4b0e-9d94-7296bf9ddce3", "modelVersion": "1.0", "modelVersionId": "4fa9c64c-7aea-48ab-9b59-fd2f1d0fec4e" } } }, { "relatedInstance": { "instanceId": "32dc68ac-772b-4646-bb1c-9507fc596b34", "modelInfo": { "modelType": "vnf", "modelName": "vsp-vfw-plain", "modelInvariantId": "b3beb22f-28fa-4608-b75e-9388283f50aa", "modelVersion": "1.0", "modelVersionId": "5f3dbfbc-7f58-455d-a4b9-d410290b3878", "modelCustomizationId": "409a053e-51ef-419e-879e-1f8f80970f72", "modelCustomizationName": "vsp-vfw-plain 0" } } } ] } } Abdelmuhaimen Seaudi Orange Labs Egypt Email: [email protected]<mailto:[email protected]> Mobile: +2012 84644 733 From: PLATANIA, MARCO (MARCO) [mailto:[email protected]] Sent: Sunday, April 14, 2019 11:36 PM To: [email protected]; SEAUDI Abdelmuhaimen O-EG/HRCS Subject: Re: [onap-discuss] GR-API error 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<https://urldefense.proofpoint.com/v2/url?u=https-3A__10.12.5.16-3A30233_aai_v15_cloud-2Dinfrastructure_cloud-2Dregions_cloud-2Dregion_CloudOwner_RegionOne_availability-2Dzones_availability-2Dzone_AZ1&d=DwQGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=Jdk_VKV2jIbKCZx4J-phDrZ7OP-ANDkmZaCzJ_p96IU&s=EMuibSLIziXPxUyM_NjS_oYXzCB3hR8ThjgJWBEM_fA&e=> \ -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. _________________________________________________________________________________________________________________________ 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 (#16565): https://lists.onap.org/g/onap-discuss/message/16565 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]] -=-=-=-=-=-=-=-=-=-=-=-
