Hi Sharon, Thank you for the reply, issue is resolved… From: [email protected] [mailto:[email protected]] On Behalf Of Sharon Chisholm Sent: 2019年5月16日 10:47 To: [email protected]; Shashikanth vh <[email protected]> Cc: Yong Chen <[email protected]>; Norman Traxler <[email protected]> Subject: Re: [onos-discuss] [onap-discuss]:Pomba problem with the server response
Hello There was a known issue with the data router version being picked up in POMBA, which has now been resolved. Hopefully this is resolved for you as well. * https://gerrit.onap.org/r/#/c/87586/ * https://jira.onap.org/browse/LOG-1049 Sharon From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> On Behalf Of shashikath Sent: Tuesday, May 14, 2019 9:27 AM To: [email protected]<mailto:[email protected]> Subject: [onos-discuss] [onap-discuss]:Pomba problem with the server response Hi, After sending audit request to data-router, response received is 200 but in the data-router log I can see exception and there is no log update in context aggregator. How to resolve this issue? need help in fixing this issue…. ubuntu@node4:~$ sudo docker exec -it k8s_pomba-data-router_dev-pomba-pomba-data-router-775c86b4dd-5xspg_onap_7425cff8-6748-11e9-9ecd-0235fe20ba77_0 bash root@dev-pomba-pomba-data-router-775c86b4dd-5xspg:/opt/app/data-router/logs/AAI-DR# tail -f error.log 2019-05-14T13:08:21.686Z|8611ec69-614d-4698-b3a2-4aff511db1b4|https-jsse-nio-9502-exec-7|DataRouter|VID|org.onap.aai.datarouter.service.AuditService||INFO|DR0009I|DR0009I Received request POST https://172.60.3.68:30249/data-router/v1/orchestration-event-service/orchestration-event from 10.42.0.1. Sending response: 200| 2019-05-14T13:08:21.950Z||pool-2-thread-1|DataRouter||com.att.nsa.mr.client.impl.MRSimplerBatchPublisher||INFO|sending 1 msgs to http://message-router.onap:3904/events/POA-AUDIT-INIT?partitionKey=0. Oldest: 263 ms 2019-05-14T13:08:21.962Z||pool-2-thread-1|DataRouter||com.att.nsa.mr.client.impl.MRSimplerBatchPublisher||INFO|MR reply ok (12 ms):{"serverTimeMs":0,"count":1,"status":200} 2019-05-14T13:08:31.981Z||pool-4-thread-20|DataRouter||com.att.nsa.apiClient.http.HttpClient||WARN|There was a problem with the server response. Blacklisting for 3 minutes. 2019-05-14T13:08:31.981Z||pool-4-thread-20|DataRouter||com.att.nsa.apiClient.http.HostSelector||WARN|Reporting reachability problem, but no host is currently selected. 2019-05-14T13:08:31.981Z||pool-4-thread-20|DataRouter||com.att.nsa.mr.client.impl.MRConsumerImpl||ERROR|exception: org.json.JSONException: JSONObject["result"] not found. at org.json.JSONObject.get(JSONObject.java:473) at org.json.JSONObject.getJSONArray(JSONObject.java:555) at com.att.nsa.mr.client.impl.MRConsumerImpl.fetch(MRConsumerImpl.java:208) at com.att.nsa.mr.client.impl.MRConsumerImpl.fetch(MRConsumerImpl.java:100) at org.onap.aai.event.client.DMaaPEventConsumer.consumeAndCommit(DMaaPEventConsumer.java:156) at org.onap.aai.event.EventBusConsumer.poll(EventBusConsumer.java:79) at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174) From: Shashikanth vh Sent: 2019年5月10日 14:39 To: [email protected]<mailto:[email protected]>; ONOS Discuss <[email protected]<mailto:[email protected]>> Subject: [onos-discuss] [onap-discuss]:Pomba sdcContextBuilder failed. Hi, I am following the wiki https://wiki.onap.org/display/DW/POMBA+Casablanca+Demos to perform audit using POMBA, processing failed in sdcContextBuilder with the error "responseStatus=GENERAL_ERROR, responseMessage=failed to send request to ASDC" am I missing something in the request ? How to resolve this issue ? Audit Request: curl -vv --insecure -H "Content-Type:application/json" -H "Accept-type:application/json" -H "X-ONAP-RequestID:bdftest001" -H "X-FromAppId:VID" -X POST -d '{ "serviceInstanc: [ { "serviceInstanceId": "ac8cea58-c0b6-4d22-b5d6-7ba3e882ea39", "modelVersionId": "93e0c77d-0f4a-4e8b-b22e-d2f509e64597", "modelInvariantId": "cf1e530e-fe53-4eb7-8df9-2b43bd302229" } ] }' https://10.12.6.60:30249/data-router/v1/orchestration-event-service/orchestration-event --cert client-cert-onap.crt.pem --key client-cert-onap.key.pem Logs: ubuntu@oom-rancher:~$ kubectl logs -f dev-pomba-pomba-contextaggregator-57f47c8564-95nq2 -n onap 2019-04-29T12:54:11.107Z pool-2-thread-6 INFO AAIRESTClient AC0001I|AC0001I GET request at url = http://pomba-aaictxbuilder:9530/aaicontextbuilder/service/context?serviceInstanceId=ac8cea58-c0b6-4d22-b5d6-7ba3e882ea39&modelVersionId=93e0c77d-0f4a-4e8b-b22e-d2f509e64597&modelInvariantId=cf1e530e-fe53-4eb7-8df9-2b43bd302229| 2019-04-29T12:54:13.954Z pool-2-thread-6 INFO AAIRESTClient AC0003I|AC0003I GET request operation time = 2847 ms for link = http://pomba-aaictxbuilder:9530/aaicontextbuilder/service/context?serviceInstanceId=ac8cea58-c0b6-4d22-b5d6-7ba3e882ea39&modelVersionId=93e0c77d-0f4a-4e8b-b22e-d2f509e64597&modelInvariantId=cf1e530e-fe53-4eb7-8df9-2b43bd302229| 2019-04-29T12:54:13.955Z pool-2-thread-6 INFO AAIRESTClient AC0004I|AC0004I request at url = http://pomba-aaictxbuilder:9530/aaicontextbuilder/service/context?serviceInstanceId=ac8cea58-c0b6-4d22-b5d6-7ba3e882ea39&modelVersionId=93e0c77d-0f4a-4e8b-b22e-d2f509e64597&modelInvariantId=cf1e530e-fe53-4eb7-8df9-2b43bd302229 resulted in http response: 200 OK| 2019-04-29T12:54:13.962Z pool-2-thread-6 INFO AAIRESTClient AC0001I|AC0001I GET request at url = http://pomba-sdcctxbuilder:9530/sdccontextbuilder/service/context?serviceInstanceId=ac8cea58-c0b6-4d22-b5d6-7ba3e882ea39&modelVersionId=93e0c77d-0f4a-4e8b-b22e-d2f509e64597&modelInvariantId=cf1e530e-fe53-4eb7-8df9-2b43bd302229| 2019-04-29T12:55:14.004Z pool-2-thread-6 ERROR AAIRESTClient AC2002E|AC2002E Error during GET operation to endpoint at url = http://pomba-sdcctxbuilder:9530/sdccontextbuilder/service/context?serviceInstanceId=ac8cea58-c0b6-4d22-b5d6-7ba3e882ea39&modelVersionId=93e0c77d-0f4a-4e8b-b22e-d2f509e64597&modelInvariantId=cf1e530e-fe53-4eb7-8df9-2b43bd302229 with error = java.net.SocketTimeoutException: Read timed out| 2019-04-29T12:55:14.005Z pool-2-thread-6 INFO AAIRESTClient AC0003I|AC0003I GET request operation time = 60043 ms for link = http://pomba-sdcctxbuilder:9530/sdccontextbuilder/service/context?serviceInstanceId=ac8cea58-c0b6-4d22-b5d6-7ba3e882ea39&modelVersionId=93e0c77d-0f4a-4e8b-b22e-d2f509e64597&modelInvariantId=cf1e530e-fe53-4eb7-8df9-2b43bd302229| 2019-04-29T12:55:14.005Z pool-2-thread-6 INFO AAIRESTClient AC0004I|AC0004I request at url = http://pomba-sdcctxbuilder:9530/sdccontextbuilder/service/context?serviceInstanceId=ac8cea58-c0b6-4d22-b5d6-7ba3e882ea39&modelVersionId=93e0c77d-0f4a-4e8b-b22e-d2f509e64597&modelInvariantId=cf1e530e-fe53-4eb7-8df9-2b43bd302229 resulted in http response: 500 Internal Server Error| 2019-04-29T12:55:14.005Z pool-2-thread-6 ERROR org.onap.pomba.contextaggregator.rest.RestRequest Failed to retrieve model data for sdc, reason: Error during GET operation to AAI with message = java.net.SocketTimeoutException: Read timed out 2019-04-29T12:55:14.005Z pool-2-thread-6 INFO org.onap.pomba.contextaggregator.service.ContextAggregatorProcessor Error returned from one of the Context builders, no event will be published. ubuntu@oom-rancher:~$ kubectl logs -f dev-pomba-pomba-sdcctxbuilder-7889df5f7-4lfsm -n onap sdcContextBuilder log: 2019-04-29T12:33:42.338Z main INFO org.onap.pomba.contextbuilder.sdc.Application Started Application in 5.918 seconds (JVM running for 6.47) 2019-04-29T12:37:01.872Z qtp398690014-17 ERROR org.onap.sdc.http.HttpAsdcClient RequestId=8900dde0-be1a-4468-92dc-6261d44a8975, ServiceName=Pomba SDC ContextBuilder, ServiceInstanceId=, StartTime=2019-04-29T12:34:54.587Z, ClientAddress=null, PartnerName=context-aggregator, ServerFQDN=dev-pomba-pomba-sdcctxbuilder-7889df5f7-4lfsm failed to send request to url: /sdc/v1/catalog/services/39d73251-42a9-420c-858f-cd7e966630bc/toscaModel error Connect to sdc-be.onap:8443 [sdc-be.onap/10.43.168.29<http://10.43.168.29>] failed: Connection timed out 2019-04-29T12:37:01.874Z qtp398690014-17 ERROR org.onap.sdc.http.SdcConnectorClient RequestId=8900dde0-be1a-4468-92dc-6261d44a8975, ServiceName=Pomba SDC ContextBuilder, ServiceInstanceId=, StartTime=2019-04-29T12:34:54.587Z, ClientAddress=null, PartnerName=context-aggregator, ServerFQDN=dev-pomba-pomba-sdcctxbuilder-7889df5f7-4lfsm status from ASDC is org.onap.sdc.http.HttpAsdcResponse@52a01a3f<mailto:org.onap.sdc.http.HttpAsdcResponse@52a01a3f> 2019-04-29T12:37:01.875Z qtp398690014-17 ERROR org.onap.sdc.http.SdcConnectorClient RequestId=8900dde0-be1a-4468-92dc-6261d44a8975, ServiceName=Pomba SDC ContextBuilder, ServiceInstanceId=, StartTime=2019-04-29T12:34:54.587Z, ClientAddress=null, PartnerName=context-aggregator, ServerFQDN=dev-pomba-pomba-sdcctxbuilder-7889df5f7-4lfsm DistributionClientResultImpl [responseStatus=GENERAL_ERROR, responseMessage=failed to send request to ASDC] Shashikanth VH Senior Technical Lead OpenSource Team, P&S General Development Branch. Huawei Technologies India Pvt Ltd. Survey No.37, Next to EPIP Area, Kundalahalli, Whitefield Bengaluru-560066, Karnataka Tel:+91-80-49160700 Ext 70139|| Mob: 9902703318 Email:[email protected] [HuaweiLogs_tiny] This email and the information contained herein is proprietary and confidential and subject to the Amdocs Email Terms of Service, which you may review at https://www.amdocs.com/about/email-terms-of-service -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17066): https://lists.onap.org/g/onap-discuss/message/17066 Mute This Topic: https://lists.onap.org/mt/31618261/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
