Uploaded image for project: 'Active and Available Inventory'
  1. Active and Available Inventory
  2. AAI-3350

Error sending a DMaaP notification when a pnf is successfully created

XMLWordPrintable

      Used the following curl command to add a PNF.

      curl --insecure --request PUT 'https://aai:8443/aai/v23/network/pnfs/pnf/dummyTest17' --header 'Accept: application/json' --header 'X-TransactionId: get_aai_subscr' --header 'Content-Type: application/json' --header 'X-FromAppId: SO' --header 'Authorization: Basic QUFJOkFBSQ==' --data-raw '{ "pnf-name": "dummyTest17", "pnf-name2": "dummypnf-1597953056126", "pnf-id": "927b2580-36d9-4f13-8421-3c9d43b7a75e", "equip-type": "example-equip-type-val-20348", "equip-vendor": "example-equip-vendor-val-52182","equip-model": "example-equip-model-val-8370","management-option": "example-management-option-val-72881","ipaddress-v4-oam": "100.10.20.20","ipaddress-v6-oam": "","orchestration-status": "Active"}'
      

      The adding of the pnf is successful but no DMaaP notification is created. The following is the output of the metrics.log in the aai-resources pod.

      INVOKE-RETURN|ResponseCode=200, RequestID=a9f8164e-80d0-40f6-92cd-f77f11cefbca, ElapsedTime=90, InvokeTimestamp=2021-05-31T11:23:32.478Z, ServerFQDN=aai-resources, StatusCode=ERROR, TargetEntity=DMaaP, ServiceName=/aai/v23/network/pnfs/pnf/dummyTest16, ServerIPAddress=10.42.3.8, TargetServiceName=AAI-EVENT, ErrorDesc=I/O error on POST request for "https://message-router.onap:3905/events/AAI-EVENT": java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty; nested exception is javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty,
      

      Using the latest  version of ONAP.

            wreehil wreehil
            shivasubedi shivasubedi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: