-
Bug
-
Resolution: Done
-
High
-
Frankfurt Release
-
None
-
None
Control loop output from TCA-gen2 before config change in consul
vv770d@pod-onap-01-vjhost: http://10.12.7.116:30227/events/unauthenticated.TCAGEN2-OUTPUT/vv/1er/v5 -k["{\"closedLoopEventClient\":\"tcagen2\",\"policyVersion\":\"v0.0.1\",\"policyName\":\"DCAE.Config_tca-hi-lo\",\"policyScope\":\"DCAE\",\"target_type\":\"VM\",\"AAI\":{\"vserver.vserver-name\":\"zdfw1fwl01fwl01\"},\"closedLoopAlarmStart\":1507750704126521,\"closedLoopEventStatus\":\"ONSET\",\"closedLoopControlName\":\"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a\",\"version\":\"1.0.2\",\"target\":\"vserver.vserver-name\",\"requestID\":\"66f8ffd0-b15e-4b68-9079-74b5d8eab4a4:0:0\",\"from\":\"DCAE\"}"]
The parameter closedLoopControlName in consul was modified to have AAA & BBB prefix for vFirewallBroadcastPackets (such as BBB_ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a")
Though application log indicate configupdate from CBS being retrieved, the subsequent event o/p from tca does not reflect it.
2020-01-27 20:06:09.983 INFO 1 --- [or-http-epoll-4] igBindingServiceEnvironmentPostProcessor : Adding property from config service in spring context: config-binding-service.streams_subscribes.tca_handle_in.polling.auto_adjusting.max -> 60000 2020-01-27 20:06:09.983 INFO 1 --- [or-http-epoll-4] igBindingServiceEnvironmentPostProcessor : Adding property from config service in spring context: config-binding-service.tca.policy -> {"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventName":"vFirewallBroadcastPackets","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"AAA_ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","thresholdValue":300,"direction":"LESS_OR_EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"BBB_ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","thresholdValue":700,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]},{"eventName":"vLoadBalancer","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta","thresholdValue":300,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]},{"eventName":"Measurement_vGMUX","controlLoopSchemaType":"VNF","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0,"direction":"EQUAL","severity":"MAJOR","closedLoopEventStatus":"ABATED"},{"closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value","thresholdValue":0,"direction":"GREATER","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]} 2020-01-27 20:06:09.984 INFO 1 --- [or-http-epoll-4] igBindingServiceEnvironmentPostProcessor : Adding property from config service in spring context: config-binding-service.streams_subscribes.tca_handle_in.polling.fixed_rate -> 0 2020-01-27 20:06:09.984 INFO 1 --- [or-http-epoll-4] igBindingServiceEnvironmentPostProcessor : Adding property from config service in spring context: config-binding-service.streams_subscribes.tca_handle_in.polling.auto_adjusting.min -> 30000 2020-01-27 20:06:09.984 INFO 1 --- [or-http-epoll-4] igBindingServiceEnvironmentPostProcessor : Adding property from config service in spring context: config-binding-service.tca.aai.password -> DCAE 2020-01-27 20:06:09.984 INFO 1 --- [or-http-epoll-4] igBindingServiceEnvironmentPostProcessor : Adding property from config service in spring context: config-binding-service.tca.processing_batch_size -> 10000 2020-01-27 20:06:09.984 INFO 1 --- [or-http-epoll-4] igBindingServiceEnvironmentPostProcessor : Adding property from config service in spring context: config-binding-service.streams_subscribes.tca_handle_in.consumer_group -> cg1 2020-01-27 20:06:09.984 INFO 1 --- [or-http-epoll-4] igBindingServiceEnvironmentPostProcessor : Adding property from config service in spring context: config-binding-service.tca.aai.url -> http://aai.onap.svc.cluster.local 2020-01-27 20:06:09.984 INFO 1 --- [or-http-epoll-4] igBindingServiceEnvironmentPostProcessor : Adding property from config service in spring context: spring.data.mongodb.uri -> mongodb://tcagen2-mongohost/analytics-tca 2020-01-27 20:06:09.984 INFO 1 --- [or-http-epoll-4] igBindingServiceEnvironmentPostProcessor : Adding property from config service in spring context: config-binding-service.tca.aai.node_query_path -> aai/v11/search/nodes-query 2020-01-27 20:06:09.984 INFO 1 --- [or-http-epoll-4] igBindingServiceEnvironmentPostProcessor : Refreshed configuration data 2020-01-27 20:06:17.611 INFO 1 --- [ask-scheduler-5] o.o.d.a.w.http.EelfAuditLogInterceptor : Request Id: 38e061a3-8b81-4d1a-a682-6a8d1750ee8e, Transaction Id: LWJJG, Elapsed Time: 9522 ms, REST Endpoint Call: OK-GET-/events/unauthenticated.VES_MEASUREMENT_OUTPUT/cg1/c0 2020-01-27 20:06:17.612 INFO 1 --- [ask-scheduler-5] o.o.d.a.w.d.MrSubscriberPollingAdvice : Request Id: 38e061a3-8b81-4d1a-a682-6a8d1750ee8e, Transaction Id: LWJJG, No new messages found in DMaaP MR Response. No further processing required 2020-01-27 20:07:08.697 INFO 1 --- [ask-scheduler-9] o.o.d.a.w.http.EelfAuditLogInterceptor : Request Id: 2b8bd0b5-2aef-49c4-a173-154c3e64552b, Transaction Id: P3EVD, Elapsed Time: 609 ms, REST Endpoint Call: OK-GET-/events/unauthenticated.VES_MEASUREMENT_OUTPUT/cg1/c1 2020-01-27 20:07:08.699 INFO 1 --- [ask-scheduler-9] o.o.d.a.web.dmaap.MrMessageSplitter : Request Id: 2b8bd0b5-2aef-49c4-a173-154c3e64552b, Transaction Id: P3EVD, Received new messages from DMaaP MR. Count: 1 2020-01-27 20:07:09.565 INFO 1 --- [ask-scheduler-4] o.o.d.a.t.w.i.TcaAlertTransformer : Request Id: 2b8bd0b5-2aef-49c4-a173-154c3e64552b:0, Transaction Id: P3EVD, Message counts - Received: 1, Errors: 0, Terminated Early: 1, Abated: 0, Alerts: 0 2020-01-27 20:07:09.981 INFO 1 --- [or-http-epoll-4] o.o.d.s.s.r.s.c.c.impl.CbsClientImpl : Got successful response from Config Binding Service 2020-01-27 20:07:47.611 INFO 1 --- [ask-scheduler-6] o.o.d.a.w.http.EelfAuditLogInterceptor : Request Id: bb1eb13b-d19f-4e99-bb56-4d9b29850c1a, Transaction Id: EINDQ, Elapsed Time: 9523 ms, REST Endpoint Call: OK-GET-/events/unauthenticated.VES_MEASUREMENT_OUTPUT/cg1/c0 2020-01-27 20:07:47.612 INFO 1 --- [ask-scheduler-6] o.o.d.a.w.d.MrSubscriberPollingAdvice : Request Id: bb1eb13b-d19f-4e99-bb56-4d9b29850c1a, Transaction Id: EINDQ, No new messages found in DMaaP MR Response. No further processing required 2020-01-27 20:08:09.982 INFO 1 --- [or-http-epoll-4] o.o.d.s.s.r.s.c.c.impl.CbsClientImpl : Got successful response from Config Binding Service . . . 2020-01-27 20:08:19.675 ERROR 1 --- [ask-scheduler-4] o.o.d.a.w.http.EelfAuditLogInterceptor : Request Id: 66f8ffd0-b15e-4b68-9079-74b5d8eab4a4:0:0, Transaction Id: MSZ8W, Elapsed Time: 2 ms, Error Message: java.net.UnknownHostException: aai.onap.svc.cluster.local: Name does not resolve 2020-01-27 20:08:19.676 INFO 1 --- [ask-scheduler-4] o.o.d.a.t.w.i.TcaAlertTransformer : Request Id: 66f8ffd0-b15e-4b68-9079-74b5d8eab4a4:0, Transaction Id: MSZ8W, Message counts - Received: 1, Errors: 0, Terminated Early: 0, Abated: 0, Alerts: 1 2020-01-27 20:08:19.682 INFO 1 --- [ask-scheduler-4] o.o.d.a.w.http.EelfAuditLogInterceptor : Request Id: 66f8ffd0-b15e-4b68-9079-74b5d8eab4a4:0, Transaction Id: MSZ8W, Elapsed Time: 5 ms, REST Endpoint Call: OK-POST-/events/unauthenticated.TCAGEN2-OUTPUT 2020-01-27 20:08:19.684 INFO 1 --- [ask-scheduler-4] .o.d.a.t.w.i.TcaPublisherResponseHandler : Request Id: 66f8ffd0-b15e-4b68-9079-74b5d8eab4a4:0, Transaction Id: MSZ8W, Transaction completion Time: 1595 ms, DMaaP MR Publisher Response: { "serverTimeMs": 0, "count": 1 } 2020-01-27 20:08:57.612 INFO 1 --- [ask-scheduler-7] o.o.d.a.w.http.EelfAuditLogInterceptor : Request Id: f8652888-5dff-46bd-a824-d843be302b63, Transaction Id: 7PKSV, Elapsed Time: 9524 ms, REST Endpoint Call: OK-GET-/events/unauthenticated.VES_MEASUREMENT_OUTPUT/cg1/c0 2020-01-27 20:08:57.613 INFO 1 --- [ask-scheduler-7] o.o.d.a.w.d.MrSubscriberPollingAdvice : Request Id: f8652888-5dff-46bd-a824-d843be302b63, Transaction Id: 7PKSV, No new messages found in DMaaP MR Response. No further processing required 2020-01-27 20:09:09.982 INFO 1 --- [or-http-epoll-4] o.o.d.s.s.r.s.c.c.impl.CbsClientImpl : Got successful response from Config Binding Service 2020-01-27 20:09:28.698 INFO 1 --- [sk-scheduler-10] o.o.d.a.w.http.EelfAuditLogInterceptor : Request Id: 5aed78f2-aa6d-47e0-8505-2b8a91310f60, Transaction Id: 7I3CV, Elapsed Time: 609 ms, REST Endpoint Call: OK-GET-/events/unauthenticated.VES_MEASUREMENT_OUTPUT/cg1/c1 2020-01-27 20:09:28.700 INFO 1 --- [sk-scheduler-10] o.o.d.a.web.dmaap.MrMessageSplitter : Request Id: 5aed78f2-aa6d-47e0-8505-2b8a91310f60, Transaction Id: 7I3CV, Received new messages from DMaaP MR. Count: 1 2020-01-27 20:09:28.711 INFO 1 --- [ask-scheduler-9] o.o.d.a.t.w.i.TcaAlertTransformer : Request Id: 5aed78f2-aa6d-47e0-8505-2b8a91310f60:0, Transaction Id: 7I3CV, Message counts - Received: 1, Errors: 0, Terminated Early: 0, Abated: 1, Alerts: 1 2020-01-27 20:09:28.716 INFO 1 --- [ask-scheduler-9] o.o.d.a.w.http.EelfAuditLogInterceptor : Request Id: 5aed78f2-aa6d-47e0-8505-2b8a91310f60:0, Transaction Id: 7I3CV, Elapsed Time: 4 ms, REST Endpoint Call: OK-POST-/events/unauthenticated.TCAGEN2-OUTPUT 2020-01-27 20:09:28.717 INFO 1 --- [ask-scheduler-9] .o.d.a.t.w.i.TcaPublisherResponseHandler : Request Id: 5aed78f2-aa6d-47e0-8505-2b8a91310f60:0, Transaction Id: 7I3CV, Transaction completion Time: 628 ms, DMaaP MR Publisher Response: { "serverTimeMs": 0, "count": 1 } 2020-01-27 20:10:07.614 INFO 1 --- [sk-scheduler-10] o.o.d.a.w.http.EelfAuditLogInterceptor : Request Id: 1029226f-f7d8-4730-8654-d1789c8cc720, Transaction Id: NISP9, Elapsed Time: 9526 ms, REST Endpoint Call: OK-GET-/events/unauthenticated.VES_MEASUREMENT_OUTPUT/cg1/c0 2020-01-27 20:10:07.615 INFO 1 --- [sk-scheduler-10] o.o.d.a.w.d.MrSubscriberPollingAdvice : Request Id: 1029226f-f7d8-4730-8654-d1789c8cc720, Transaction Id: NISP9, No new messages found in DMaaP MR Response. No further processing required
Control Loop o/p (AFTER config updates through CONSUL) still reports "closedLoopControlName" as "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a"
vv770d@pod-onap-01-vjhost:~$ curl http://10.12.7.116:30227/events/unauthenticated.TCAGEN2-OUTPUT/vv/1 ["{\"closedLoopEventClient\":\"tcagen2\",\"policyVersion\":\"v0.0.1\",\"policyName\":\"DCAE.Config_tca-hi-lo\",\"policyScope\":\"DCAE\",\"target_type\":\"VM\",\"AAI\": {\"vserver.vserver-name\":\"zdfw1fwl01fwl01\"} ,\"closedLoopAlarmStart\":1507750704126521,\"closedLoopEventStatus\":\"ABATED\",\"closedLoopControlName\":\"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a",\"version\":\"1.0.2\",\"target\":\"vserver.vserver-name\",\"closedLoopAlarmEnd\":1507750714317473,\"requestID\":\"66f8ffd0-b15e-4b68-9079-74b5d8eab4a4:0:0\",\"from\":\"DCAE\"}"]
- relates to
-
DCAEGEN2-2007 periodic CBS fetch feature for tca-gen2
- Closed