1
0
-1

I am now using ONAP 1.0 on Openstack Vanilla, when I try to run command "demo.sh init" in ROBOT, it returns a 404 error.

I check the log, the error comes from following response

Failed to make edge to missing target node of type 
"tenant" 

with keys 
"/cloud-infrastructure/cloud-regions/cloud-region/Rackspace/regionOne/tenants/tenant/0d0ad33de28e444ab2ab4d641871d24a" 

performing "PUT" 

on "business/customers/customer/Demonstration" 

(msg="Error making edge to target node:Node of type tenant. Could not find object at: /cloud-infrastructure/cloud-regions/cloud-region/Rackspace/regionOne/tenants/tenant/0d0ad33de28e444ab2ab4d641871d24a") 

(ec="ERR.5.4.6129")
while "0d0ad33de28e444ab2ab4d641871d24a" is the tenant ID of tenant "OPEN-ECOMP".


I check the yaml to build ONAP, there is no operation to create tenant-id in AAI, when does AAI create the object 

"

/cloud-infrastructure/cloud-regions/cloud-region/Rackspace/regionOne/tenants/tenant/0d0ad33de28e444ab2ab4d641871d24a

"

and how can I create the object manually?

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      You Li ./demo.sh init should create customer and regions based on the tenant information passed to robot and also include tenant inside region.

        CommentAdd your comment...
      1.  
        1
        0
        -1

        You Li, you will need to create the tenant doing a 

        PUT  /cloud-infrastructure/cloud-regions/cloud-region/Rackspace/regionOne/tenants/tenant/0d0ad33de28e444ab2ab4d641871d24a


        {
        "tenant-id": "0d0ad33de28e444ab2ab4d641871d24a",
        "tenant-name": "some_name"

        }

          CommentAdd your comment...