hard to tell as I do not have the context

I usually check this kind of things through the basic_vm test integrated in the 
CI/CD chain and leveraging python-onapsdk
see 
https://docs.onap.org/projects/onap-integration/en/guilin/integration-tests.html

e.g; of successful logs (daily master of the day), where you can find the 
request to the SO and then compare with your test:
https://logs.onap.org/onap-integration/daily/onap_daily_pod4_master/12-15-2020_06-12/smoke-usecases/basic_vm/reporting.html
=> full logs
https://logs.onap.org/onap-integration/daily/onap_daily_pod4_master/12-15-2020_06-12/smoke-usecases/basic_vm/pythonsdk.debug.log



2020-12-15 05:50:50,429 DEBUG 103:onap_service.py(1) - [None][Upload VF module 
preload using GENERIC-RESOURCE-API] url used: 
https://sdnc.api.simpledemo.onap.org:30267/restconf/operations/GENERIC-RESOURCE-API:preload-vf-module-topology-operation
2020-12-15 05:50:50,430 DEBUG 104:onap_service.py(1) - [None][Upload VF module 
preload using GENERIC-RESOURCE-API] data sent: {
   "input":{
      "preload-vf-module-topology-information":{
         "vf-module-topology":{
            "vf-module-topology-identifier":{
               
"vf-module-name":"ubuntu16test-cffd481f-78fa-4265-99da-5ea7ebf47de5"
            },
            "vf-module-parameters": {
                "param": [{'name': 'ubuntu16_image_name', 'value': 
'ubuntu-16.04-daily'}, {'name': 'ubuntu16_key_name', 'value': 'cleouverte'}, 
{'name': 'ubuntu16_pub_key', 'value': 'ssh-rsa 
AAAAB3NzaC1yc2EAAAADAQABAAABAQDY15cdBmIs2XOpe4EiFCsaY6bmUmK/GysMoLl4UG51JCfJwvwoWCoA+6mDIbymZxhxq9IGxilp/yTA6WQ9s/5pBag1cUMJmFuda9PjOkXl04jgqh5tR6I+GZ97AvCg93KAECis5ubSqw1xOCj4utfEUtPoF1OuzqM/lE5mY4N6VKXn+fT7pCD6cifBEs6JHhVNvs5OLLp/tO8Pa3kKYQOdyS0xc3rh+t2lrzvKUSWGZbX+dLiFiEpjsUL3tDqzkEMNUn4pdv69OJuzWHCxRWPfdrY9Wg0j3mJesP29EBht+w+EC9/kBKq+1VKdmsXUXAcjEvjovVL8l1BrX3BY0R8D
 imported-openssh-key'}, {'name': 'ubuntu16_flavor_name', 'value': 'm1.small'}, 
{'name': 'VM_name', 'value': 'ubuntu16test-VM-01'}, {'name': 'vnf_id', 'value': 
'ubuntu16test-VNF-instance'}, {'name': 'vf_module_id', 'value': 
'ubuntu16test-vfmodule-instance'}, {'name': 'vnf_name', 'value': 
'ubuntu16test-VNF'}, {'name': 'admin_plane_net_name', 'value': 'admin'}]
                }
         },
         "vnf-topology-identifier-structure":{
            
"vnf-name":"ubuntu16test-cffd481f-78fa-4265-99da-5ea7ebf47de5_vnf_0",
            "vnf-type":"ubuntu16test/ubuntu16test 0"
         },
         "vnf-resource-assignments":{
                "availability-zones":{
               "availability-zone":[
               "nova"
               ],
               "max-count":1
            },
            "vnf-networks":{
               "vnf-network":[]
            }
         }
      },
      "request-information":{
         "request-id":"test",
         "order-version":"1",
         "notification-url":"onap.org",
         "order-number":"1",
         "request-action":"PreloadVfModuleRequest"
      },
      "sdnc-request-header":{
         "svc-request-id":"test",
         
"svc-notification-url":"http:\/\/onap.org:8080\/adapters\/rest\/SDNCNotify",
         "svc-action":"reserve"
      }
   }
}

/Morgan

________________________________
De : emin.ak...@ulakhaberlesme.com.tr [emin.ak...@ulakhaberlesme.com.tr]
Envoyé : mardi 15 décembre 2020 16:04
À : RICHOMME Morgan TGI/OLN; onap-discuss@lists.onap.org
Objet : Re: [onap-discuss] Error: "The module named 'VNF-API' does not exist." 
at SDNC Preload Request #guilin

Hi Morgan,

I was able to preload the data with GR-API module. Unfortunatly, at the VF 
module instantiation, it gets error. I am not sure what it is missing.

I am taking this page as a ref 
https://docs.onap.org/en/guilin/guides/onap-user/instantiate/instantiation/so1/index.html

The GR-API request to preload to SDNC:
https://{{k8s}}:30267/restconf/operations/GENERIC-RESOURCE-API:preload-vf-module-topology-operation
{
    "input": {
        "request-information": {
            "notification-url": "https://onap.org";,
            "order-number": "1",
            "order-version": "1",
            "request-action": "PreloadVfModuleRequest",
            "request-id": "test"
        },
        "sdnc-request-header": {
            "svc-action": "reserve",
            "svc-notification-url": 
"http://onap.org:8080/adapters/rest/SDNCNotify";,
            "svc-request-id": "test"
        },
        "preload-vf-module-topology-information": {
            "vnf-resource-assignments": {
                "availability-zones": {
                    "availability-zone": [],
                    "max-count": "1"
                },
                "vnf-networks": {
                        "vnf-network": []
                }
            },
            "vf-module-topology": {
                "vf-module-topology-identifier": {
                    "vf-module-name": "{{vnf-vfmodule-1-modelinfo-modelname}}",
                    "vf-module-type": "{{vnf-vfmodule-1-modelinfo-modelname}}"
                },
                "vf-module-parameters": {
                "param": []
                }
            },
            "vnf-topology-identifier-structure": {
                "vnf-name": "{{vnf-modelinfo-1-modelname}}",
                "vnf-type": "{{vnf-modelinfo-1-modelinstancename}}"
            }
        }
    }
}

The error at the VF module instantiation:
        "requestStatus": {
            "requestState": "FAILED",
            "statusMessage": "STATUS: Error Source: SDNC, Error Message: There 
are no VNFs defined in MD-SAL FLOW STATUS: All Rollback flows have completed 
successfully ROLLBACK STATUS: Rollback has been completed successfully.",
            "percentProgress": 100,
            "timestamp": "Tue, 15 Dec 2020 14:39:48 GMT"
        }

Thank you
Emin


_________________________________________________________________________________________________________________________

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 (#22649): https://lists.onap.org/g/onap-discuss/message/22649
Mute This Topic: https://lists.onap.org/mt/78973459/21656
Mute #guilin:https://lists.onap.org/g/onap-discuss/mutehashtag/guilin
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to