Your probably missing reference data most likely to execute the self service topology flow for VNF/VF Module.
Did you add the SDNC reference data in your heat? https://wiki.onap.org/display/DW/vFW+CDS+Casablanca?focusedCommentId=60885317#comment-60885317 HEAT Each VFC has its own HEAT template and environment file. One of the HEAT templates is the base_template, it takes care of the creation of shared resources across other VFCs; i.e the protected and unprotected networks. Within the MANIFEST.json file, the base_template is identified by the boolean is_base = true, ex: https://github.com/onap/demo/blob/master/heat/vFW_NextGen/templates/MANIFEST.json#L8 This allows to correctly resolve the VFC dependency. In Casablanca, as CDS isn't integrated within SDC, in order for the runtime to know CDS should be used for assignment, the following fields are added to the server's metadata in the HEAT template: · sdnc_model_name · sdnc_model_version · sdnc_artifact_name. They identify a Controller Blueprint that has been designed and published; ex: https://github.com/onap/demo/blob/master/heat/vFW_NextGen/templates/vfw.yaml#L200 [cid:[email protected]] Yuriy Malakov SDN-CP Lead Engineer 732-420-3030, Q-Chat<qto://talk/ym9479> [email protected]<mailto:[email protected]> From: [email protected] <[email protected]> On Behalf Of Abdelmuhaimen Seaudi Sent: Tuesday, April 16, 2019 9:48 AM To: [email protected]; PLATANIA, MARCO <[email protected]> Subject: Re: [onap-discuss] GR-API error Hi, I was able to run the IP Assignment netbox microservice using the helm contrib chart, but still the error regarding the class class com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin. I searched the gerrit, and I cannot find this class, any idea how to work around this, in order to allow the GR-API to run ? Abdelmuhaimen Seaudi Orange Labs Egypt Email: [email protected]<mailto:[email protected]> Mobile: +2012 84644 733 From: SEAUDI Abdelmuhaimen O-EG/HRCS Sent: Monday, April 15, 2019 2:50 PM To: [email protected]<mailto:[email protected]>; '[email protected]' Subject: RE: [onap-discuss] GR-API error Hi Marco, I passed this error by clearing the VF to VFC mapping table, and the DG reached the auto-ip-assignment, however, now I got another error 2019-04-15 12:21:45,555 WARN qtp1636405735-61 SvcLogicClassResolver 222 - org.onap.ccsdk.sli.core.sli-provider - 0.3.3 Could not find service reference object for class com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin 2019-04-15 12:22:05,933 ERROR qtp1636405735-61 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=Failure in call to auto-ip-assignment: , _svcRequestId=2ca869d5-be14-41e4-9069-25949b4bb9e4, augmentation=[]] I think this is the ip assignment microservice, any idea why it’s missing ? Abdelmuhaimen Seaudi Orange Labs Egypt Email: [email protected]<mailto:[email protected]> Mobile: +2012 84644 733 From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Marco Platania Sent: Monday, April 15, 2019 2:46 PM To: SEAUDI Abdelmuhaimen O-EG/HRCS; [email protected]<mailto:[email protected]> Subject: Re: [onap-discuss] GR-API error 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://urldefense.proofpoint.com/v2/url?u=https-3A__-257b-257baai-5Fip-257d-257d-3A-257b-257baai-5Fport-257d-257d_aai_-257b-257baai-5Fapi-5Fver-257d-257d_service-2Ddesign-2Dand-2Dcreation_models_model_a24367f2-2De92e-2D4d24-2Dbe2c-2D092b755dd289&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=4IIOMdJjMRUSnNTEG5jeUQ&m=8CYCSH0nbVRqEJ-Sd_Ox7ZjEqbqEGa7lExECkN4qTrg&s=y3csdeH40jHRQ_84Wgk2IlMvKt3clD6hgaeC-G5c0jQ&e=> Marco From: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Monday, April 15, 2019 at 3:02 AM To: "PLATANIA, MARCO (MARCO)" <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[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]<mailto:[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]<mailto:[email protected]>> on behalf of Abdelmuhaimen Seaudi <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Sunday, April 14, 2019 at 12:35 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[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. _________________________________________________________________________________________________________________________ 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 (#16591): https://lists.onap.org/g/onap-discuss/message/16591 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]] -=-=-=-=-=-=-=-=-=-=-=-
