Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-300

GET query to metadata fails requested service not found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Amsterdam Release
    • Amsterdam Release
    • SDC
    • None
    • SDC Sprint 5

      This is blocking to vnf instantiation in R1.1.0

      Example from R1.1.0 in DFW

      The toscaModel exists but the metadata does not for the same service. Causes VID to fail to be able to create VNF.

       

          1. this succeeds and there is a valid zip file retrieved.

      curl -H "X-ECOMP-InstanceID: VID" -u "vid:xxx" http://172.99.114.70:8080/sdc/v1/catalog/services/3cabb03c-6c15-4571-90dc-a27cc51f1ccb/toscaModel > toscaModel

       

      ubuntu@bdf-onap:~/SDC/temp$ unzip toscaModel

      Archive:  toscaModel

        inflating: csar.meta

        inflating: TOSCA-Metadata/TOSCA.meta

        inflating: Definitions/resource-Vcpeinfraservice10-template.yml

        inflating: Definitions/resource-Vcpeinfraservice10-template-interface.yml

        inflating: Definitions/resource-Vcpeinfraservice10NodesHeatVdns-template.yml

      ...

       

      curl -H "X-ECOMP-InstanceID: VID" -u "vid:xxx" http://172.99.114.70:8080/sdc/v1/catalog/services/3cabb03c-6c15-4571-90dc-a27cc51f1ccb/metadata > metadata

       

      ubuntu@bdf-onap:~/SDC$ cat metadata

      < HTTP/1.1 404 Not Found

      < Set-Cookie: JSESSIONID=oxjsc05efbag1v3twhuj7zk5p;Path=/

      < Expires: Thu, 01 Jan 1970 00:00:00 GMT

      < Content-Type: application/json

      < X-ECOMP-RequestID: 7654c230-2764-4d19-92e7-8888afa06228

      < Content-Length: 237

      < Server: Jetty(9.3.20.v20170531)

      {

        "requestError": {

          "serviceException": {

            "messageId": "SVC4503",

            "text": "Error: Requested \u0027%1\u0027 service was not found.",

            "variables": [

              "3cabb03c-6c15-4571-90dc-a27cc51f1ccb"

            ]

          }

        }

      }

       

            ys9693 ys9693
            bdfreeman1421 bdfreeman1421
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: