Uploaded image for project: 'Common Controller SDK'
  1. Common Controller SDK
  2. CCSDK-2168

CDS: Pushing Data Dictionary fails with "Internal Server Error"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Medium Medium
    • Frankfurt Release
    • Frankfurt Release
    • cds
    • DT Daily Master test-environment (OOM -> 10.03.2020)

      In the current CDS deployment (OOM Master 10.03.2020).
      The loading of the dd.json (ElAlto version) through the CDS-UI API fails with the error 500.

      (ci-onap-master) ag@ag-dev:~/git/ONAP-Develop/usecases/cds-vfw-instantiation$ curl -k 'https://portal.api.simpledemo.onap.org:30497/resourcedictionary/save' -X POST -H 'Content-type: application/json' \
      > -d '{
      >    "name": "radius_test_user",
      >    "tags": "radius_test_user",
      >    "data_type": "string",
      >    "description": "radius_test_user",
      >    "entry_schema": "string",
      >    "updatedBy": "Seaudi, Abdelmuhaimen <abdelmuhaimen.seaudi@orange.com>",
      >    "definition": {
      >       "tags": "radius_test_user",
      >       "name": "radius_test_user",
      >       "property": {
      >          "description": "radius_test_user",
      >          "type": "string"
      >       },
      >       "updated-by": "Seaudi, Abdelmuhaimen <abdelmuhaimen.seaudi@orange.com>",
      >       "sources": {
      >          "input": {
      >             "type": "source-input"
      >          },
      >          "default": {
      >             "type": "source-default",
      >             "properties": {}
      >          },
      >          "sdnc": {
      >             "type": "source-rest",
      >             "properties": {
      >                "verb": "GET",
      >                "type": "JSON",
      >                "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/radius_test_user",
      >                "path": "/param/0/value",
      >                "input-key-mapping": {
      >                   "service-instance-id": "service-instance-id",
      >                   "vnf-id": "vnf-id"
      >                },
      >                "output-key-mapping": {
      >                   "radius_test_user": "value"
      >                },
      >                "key-dependencies": ["service-instance-id",
      >                "vnf-id"]
      >             }
      >          }
      >       }
      >    }
      > }'
      {"error":{"statusCode":500,"message":"Internal Server Error"}}
      

      CDS-UI Log:

      2020-03-10T14:11:46.498Z info Incoming request from POST /resourcedictionary/save and with header {"X-ONAP-RequestID":"3779c5bf-7062-4a38-9af9-f80c707a51a8","host":"10.211.1.161:30497","user-agent":"curl/7.58.0","accept":"*/*","content-type":"application/json","content-length":"1354","expect":"100-continue"} query {} params {} and response code: 500
      Unhandled error in POST /resourcedictionary/save: 500 Error: connect ETIMEDOUT 10.43.216.159:8081
          at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1106:14)
      2020-03-10T14:11:47.264Z info Incoming request from POST /resourcedictionary/save and with header {"X-ONAP-RequestID":"272ab1d8-c4d6-4982-9044-5a0e897975a2","host":"10.211.1.161:30497","user-agent":"curl/7.58.0","accept":"*/*","content-type":"application/json","content-length":"1346","expect":"100-continue"} query {} params {} and response code: 500
      2020-03-10T14:11:47.541Z info {"X-ONAP-RequestID":"c7af19a9-583e-44a0-b867-5250cf812884","host":"10.211.1.161:30497","user-agent":"curl/7.58.0","accept":"*/*","content-type":"application/json","content-length":"1354","expect":"100-continue"}
      Unhandled error in POST /resourcedictionary/save: 500 Error: connect EHOSTUNREACH 10.43.216.159:8081
          at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1106:14)
      2020-03-10T14:11:50.594Z info Incoming request from POST /resourcedictionary/save and with header {"X-ONAP-RequestID":"c7af19a9-583e-44a0-b867-5250cf812884","host":"10.211.1.161:30497","user-agent":"curl/7.58.0","accept":"*/*","content-type":"application/json","content-length":"1354","expect":"100-continue"} query {} params {} and response code: 500
      2020-03-10T14:11:51.636Z info {"X-ONAP-RequestID":"a319755a-5420-4800-be9b-131e76ba8a0e","host":"10.211.1.161:30497","user-agent":"curl/7.58.0","accept":"*/*","content-type":"application/json","content-length":"1378","expect":"100-continue"}
      
      

            Unassigned Unassigned
            andreasgeissler Andreas Geissler
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: