Hi yang, I have solved.
 I forgot to create the clli1 complex object before.

Thanks,
Aniello Paolo Malinconico


Aniello Paolo Malinconico

Net Reply
Via Cardinal Massaia, 83
10147 - Torino - ITALY
phone: +39 011 29100
[email protected]<mailto:[email protected]>
www.reply.it<http://www.reply.it> <http://>

[Net Reply]
________________________________
Da: Yang, Bin <[email protected]>
Inviato: venerdì 14 febbraio 2020 13:36
A: [email protected] <[email protected]>; Malinconico 
Aniello Paolo <[email protected]>
Oggetto: RE: [onap-discuss] [El Alto] Register KUD Cloud region with AAI failed


Have you ever create that complex “clli1” manually or by executing robot script?





From: [email protected] <[email protected]> On Behalf Of 
Aniello Paolo Malinconico
Sent: Thursday, February 13, 2020 11:57 PM
To: [email protected]
Subject: [onap-discuss] [El Alto] Register KUD Cloud region with AAI failed



Hi all,
I am working on Onap El Alto release and I want to deploy a service on to 
Kubernetes infrastructure.
I am following this guide 
https://wiki.onap.org/display/DW/Deploying+vFw+and+EdgeXFoundry+Services+on+Kubernets+Cluster+with+ONAP
I have followed this guide for Dublin too and it was great.
Now, I follow the guide well until the point Step 2 – add a complex to the 
cloud.
In fact, step 1 goes well :

PUT 
https://{{k8s}}:30233/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/KubeRegion<https://%7b%7bk8s%7d%7d:30233/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/KubeRegion>

{

       "cloud-owner": "CloudOwner",

       "cloud-region-id": "KubeRegion",

       "cloud-type": "k8s",

       "owner-defined-type": "t1",

       "cloud-region-version": "1.0",

       "complex-name": "clli1",

       "cloud-zone": "CloudZone",

       "sriov-automation": false,

   "cloud-extra-info":"{\"openstack-region-id\":\"RegionOne\"}",

       "esr-system-info-list": {

              "esr-system-info": [

                             {

                                               "esr-system-info-id": 
"55f97d59-6cc3-477f-8e69-926565f00076",

                                               "service-url": 
"http://163.162.9.137:5000/v3";,

                                               "user-name": "onap4",

                                               "password": "test",

                                               "system-type": "VIM",

                                               "ssl-insecure": true,

                                               "cloud-domain": "Default",

                                               "default-tenant": "OOF",

                                               "tenant-id": 
"333c673822c742f99da61e394c749d3c",

                                               "system-status": "active"

                                            }

                             ]

       }

 }



and when I perform step 2 by making :

PUT 
https://{{k8s}}:30233/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/KubeRegion/relationship-list/relationship<https://%7b%7bk8s%7d%7d:30233/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/KubeRegion/relationship-list/relationship>
{ "related-to": "complex", "related-link": 
"/aai/v13/cloud-infrastructure/complexes/complex/clli1", "relationship-data": [ 
{ "relationship-key": "complex.physical-location-id", "relationship-value": 
"clli1" } ] }

It returns the following error:

{

    "requestError": {

        "serviceException": {

            "messageId": "SVC3003",

            "text": "Failed to make edge to missing target node of type %3 with 
keys %4 performing %1 on %2 (msg=%5) (ec=%6)",

            "variables": [

                "PUT_EDGE",

                
"cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/KubeRegion",

                "complex",

                "/aai/v11/cloud-infrastructure/complexes/complex/clli1",

                "Error making edge to target node:Node of type complex. Could 
not find object at: /aai/v11/cloud-infrastructure/complexes/complex/clli1",

                "ERR.5.4.6129"

            ]

        }

    }

}



In Dublin, it worked without problems.
How can I solve this issue?

Thanks,
Aniello Paolo Malinconico



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#20021): https://lists.onap.org/g/onap-discuss/message/20021
Mute This Topic: https://lists.onap.org/mt/71269245/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Attachment: net.png
Description: net.png

Reply via email to