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

Distribution cannot create "UEB keys"

XMLWordPrintable

      The distribution client we are using is:

      <dependency>
      <groupId>org.onap.sdc.sdc-distribution-client</groupId>
      <artifactId>sdc-distribution-client</artifactId>
      <version>1.3.0</version>
      </dependency>

      And we are getting the following error:

      DistributionClientResultImpl [responseStatus=UEB_KEYS_CREATION_FAILED, responseMessage=failed to create keys: HTTP/1.1 400 Bad Request]

      See full log trace

      $ kubectl -n dcae logs dep-service-change-handler-c65b9fd88-tvxjj

      18-04-11 01:11:45 service-change-handler INFO [sch.core:181] - Setup logging: Rolling appender DEFAULT

      18-04-11 01:11:46 service-change-handler INFO [org.onap.sdc.impl.DistributionClientImpl:270] - DistributionClient - init

      18-04-11 01:11:46 service-change-handler DEBUG [org.onap.sdc.impl.DistributionClientImpl:364] - get ueb cluster server list from component(configuration file)

      18-04-11 01:11:46 service-change-handler DEBUG [org.onap.sdc.http.SdcConnectorClient:126] - about to perform getServerList. requestId= 1ca74d1d-c425-4802-a9be-a1daa6d91346 url= /sdc/v1/artifactTypes

      18-04-11 01:11:46 service-change-handler DEBUG [org.onap.sdc.http.HttpAsdcClient:266] - url to send https://dev-sdc-be.onap:8443/sdc/v1/artifactTypes

      18-04-11 01:11:46 service-change-handler DEBUG [org.onap.sdc.http.HttpAsdcClient:279] - GET Response Status 200

      18-04-11 01:11:46 service-change-handler DEBUG [org.onap.sdc.impl.DistributionClientImpl:358] - Artifact types: [DCAE_TOSCA, DCAE_JSON, DCAE_POLICY, DCAE_DOC, DCAE_EVENT, DCAE_INVENTORY_TOSCA, DCAE_INVENTORY_JSON, DCAE_INVENTORY_POLICY, DCAE_INVENTORY_DOC, DCAE_INVENTORY_BLUEPRINT, DCAE_INVENTORY_EVENT] were validated with ASDC server

      18-04-11 01:11:46 service-change-handler DEBUG [org.onap.sdc.impl.DistributionClientImpl:330] - create keys

      18-04-11 01:11:46 service-change-handler INFO [com.att.nsa.apiClient.http.HttpClient:595] - POST http://message-router.onap:3904/apiKeys/create (anonymous) ...

      18-04-11 01:11:46 service-change-handler INFO [com.att.nsa.apiClient.http.HttpClient:628] - --> HTTP/1.1 400 Bad Request

      18-04-11 01:11:46 service-change-handler DEBUG [com.att.nsa.apiClient.http.HttpClient:738] - Consuming the entity.

      18-04-11 01:11:46 service-change-handler ERROR [org.onap.sdc.impl.DistributionClientImpl:482] - DistributionClientResultImpl [responseStatus=UEB_KEYS_CREATION_FAILED, responseMessage=failed to create keys: HTTP/1.1 400 Bad Request]

      18-04-11 01:11:46 service-change-handler ERROR [sch.core:171] - DistributionClientResultImpl [responseStatus=UEB_KEYS_CREATION_FAILED, responseMessage=failed to create keys: HTTP/1.1 400 Bad Request]

      18-04-11 01:11:46 service-change-handler INFO [sch.core:205] - Done

       

      Here is the configuration object that we are using:

      {"pollingInterval": 20, "asdcAddress": "dev-sdc-be.onap:8443", "password": "XXXX", "environmentName": "AUTO", "consumerGroup": "dcae", "useHttpsWithDmaap": false, "asdcUri": "https://dev-sdc-be.onap:8443", "consumerId": "dcae-sch", "pollingTimeout": 20, "user": "dcae", "keyStorePath": null, "keyStorePassword": null, "msgBusAddress": "message_router.onap", "isFilterInEmptyResources": false, "activateServerTLSAuth": false}

            ml636r ml636r
            researchmike researchmike
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: