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

{
  "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
 \
  -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 (#16557): https://lists.onap.org/g/onap-discuss/message/16557
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to