Details
-
Bug
-
Status: Closed
-
High
-
Resolution: Done
-
Honolulu Release
-
None
Description
When AAI sends event notification to DMaap topic for update operations in db, the events are failed to be published due to TLS handshake failure with DMaap.
Logs:
/opt/aai/logroot/AAI-RES/dmaapAAIEventConsumer $ cat metrics.log
2020-11-06T12:38:04.327Z|2020-11-06T12:38:04.327Z|9e1cec79-8695-4525-8485-ed355eb730d5||defaultMessageListenerContainer-1||/aai/v21/network/pnfs/pnf/PNF4||DMaaP|AAI-EVENT|INPROGRESS||||INFO||10.42.4.107|0|aai-resources||||||INVOKE|RequestID=9e1cec79-8695-4525-8485-ed355eb730d5, ServiceName=/aai/v21/network/pnfs/pnf/PNF4, ServerIPAddress=10.42.4.107, TargetServiceName=AAI-EVENT, ElapsedTime=0, InvocationID=ae03e7d7-614e-42fe-88e4-231c018ffa54, InvokeTimestamp=2020-11-06T12:38:04.327Z, LogTimestamp=2020-11-06T12:38:04.327Z, ServerFQDN=aai-resources, StatusCode=INPROGRESS, TargetEntity=DMaaP|||{"cambria.partition":"AAI","event-header":
,"entity":{"ipaddress-v4-oam":"172.16.0.99","equip-type":"example-equip-type-val-20349","equip-vendor":"example-equip-vendor-val-52192","equip-model":"example-equip-model-val-8380","in-maint":false,"ipaddress-v6-oam":"","resource-version":"1604666284265","sw-version":"1.0","pnf-id":"927b2580-36d9-4f13-8421-3c9d43b7a57d","management-option":"example-management-option-val-72882","pnf-name":"PNF4","orchestration-status":"Active"}}
2020-11-06T12:38:04.327Z|2020-11-06T12:38:04.402Z|9e1cec79-8695-4525-8485-ed355eb730d5||defaultMessageListenerContainer-1||/aai/v21/network/pnfs/pnf/PNF4||DMaaP|AAI-EVENT|ERROR|200|||INFO||10.42.4.107|75|aai-resources||||||INVOKE-RETURN|ResponseCode=200, RequestID=9e1cec79-8695-4525-8485-ed355eb730d5, ElapsedTime=75, InvokeTimestamp=2020-11-06T12:38:04.327Z, ServerFQDN=aai-resources, StatusCode=ERROR, TargetEntity=DMaaP, ServiceName=/aai/v21/network/pnfs/pnf/PNF4, ServerIPAddress=10.42.4.107, TargetServiceName=AAI-EVENT, ErrorDesc=I/O error on POST request for "https://message-router.onap:3905/events/AAI-EVENT": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target, InvocationID=ae03e7d7-614e-42fe-88e4-231c018ffa54, ErrorCode=200, LogTimestamp=2020-11-06T12:38:04.402Z|||InvokeReturn
2020-11-06T15:53:25.499Z|2020-11-06T15:53:25.499Z|654c13aa-02b9-4507-a7bc-0c19744a26a5||defaultMessageListenerContainer-1||/aai/v21/network/pnfs/pnf/PNF4||DMaaP|AAI-EVENT|INPROGRESS||||INFO||10.42.4.107|0|aai-resources||||||INVOKE|RequestID=654c13aa-02b9-4507-a7bc-0c19744a26a5, ServiceName=/aai/v21/network/pnfs/pnf/PNF4, ServerIPAddress=10.42.4.107, TargetServiceName=AAI-EVENT, ElapsedTime=0, InvocationID=ae03e7d7-614e-42fe-88e4-231c018ffa54, InvokeTimestamp=2020-11-06T15:53:25.499Z, LogTimestamp=2020-11-06T15:53:25.499Z, ServerFQDN=aai-resources, StatusCode=INPROGRESS, TargetEntity=DMaaP|||{"cambria.partition":"AAI","event-header":
,"entity":{"ipaddress-v4-oam":"172.16.0.99","equip-type":"example-equip-type-val-20349","equip-vendor":"example-equip-vendor-val-52193","equip-model":"example-equip-model-val-8380","in-maint":false,"ipaddress-v6-oam":"","resource-version":"1604678005390","sw-version":"1.0","pnf-id":"927b2580-36d9-4f13-8421-3c9d43b7a57d","management-option":"example-management-option-val-72882","pnf-name":"PNF4","orchestration-status":"Active"}}
2020-11-06T15:53:25.499Z|2020-11-06T15:53:25.823Z|654c13aa-02b9-4507-a7bc-0c19744a26a5||defaultMessageListenerContainer-1||/aai/v21/network/pnfs/pnf/PNF4||DMaaP|AAI-EVENT|ERROR|200|||INFO||10.42.4.107|324|aai-resources||||||INVOKE-RETURN|ResponseCode=200, RequestID=654c13aa-02b9-4507-a7bc-0c19744a26a5, ElapsedTime=324, InvokeTimestamp=2020-11-06T15:53:25.499Z, ServerFQDN=aai-resources, StatusCode=ERROR, TargetEntity=DMaaP, ServiceName=/aai/v21/network/pnfs/pnf/PNF4, ServerIPAddress=10.42.4.107, TargetServiceName=AAI-EVENT, ErrorDesc=I/O error on POST request for "https://message-router.onap:3905/events/AAI-EVENT": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target, InvocationID=ae03e7d7-614e-42fe-88e4-231c018ffa54, ErrorCode=200, LogTimestamp=2020-11-06T15:53:25.823Z|||InvokeReturn