Hi, I am trying the closeloop for vFW usecase and I see in the drools network.log that it receives an event on DCAE_CL_OUTPUT topic (logs below). I use the telemetry API to see what in the drools working memory and its empty. I see no sessions, no sessionCoordinates. It seems like when the events are sent on the DCAE_CL_OUTPUT topic they don’t get inserted into the working memory (maybe because there is no drools session) thereby the rules are not fired. All I see in the network.log is below. Any ideas on how to debug this issue?
[2018-04-26 16:20:51,497|INFO|HttpClient|UEB-source-unauthenticated.DCAE_CL_OUTPUT] --> HTTP/1.1 200 OK [2018-04-26 16:20:51,498|INFO|CambriaConsumerImpl|UEB-source-unauthenticated.DCAE_CL_OUTPUT] UEB GET /events/unauthenticated.DCAE_CL_OUTPUT/0ab0db9f-1707-4963-9c7d-684c6eac1a61/0?timeout=15000&limit=100 [2018-04-26 16:20:51,498|INFO|HttpClient|UEB-source-unauthenticated.DCAE_CL_OUTPUT] GET http://dmaap.onap-message-router:3904/events/unauthenticated.DCAE_CL_OUTPUT/0ab0db9f-1707-4963-9c7d-684c6eac1a61/0?timeout=15000&limit=100 (anonymous) ... ==> /var/log/onap/network.log <== [2018-04-26 16:20:51,497|UEB-source-unauthenticated.DCAE_CL_OUTPUT][IN|UEB|unauthenticated.DCAE_CL_OUTPUT] {"closedLoopEventClient":"DCAE_INSTANCE_ID.df44cbdeec984538a0427d3ce9956442cdapappcdapapptca","policyVersion":"v0.0.1","policyName":"DCAE.Config_tca-hi-lo","policyScope":"DCAE","target_type":"VNF","AAI":{"generic-vnf.resource-version":"1521651980233","generic-vnf.nf<http://generic-vnf.nf/>-role":"","generic-vnf.prov-status":"PREPROV","generic-vnf.orchestration-status":"Created","generic-vnf.is<http://generic-vnf.is/>-closed-loop-disabled":false,"generic-vnf.service-id":"487d1f3c-2c7d-11e8-b467-0ed5f89f718b","generic-vnf.in<http://generic-vnf.in/>-maint":false,"generic-vnf.nf<http://generic-vnf.nf/>-type":"","generic-vnf.nf<http://generic-vnf.nf/>-naming-code":"","generic-vnf.vnf-name":"CL_SINC_VNF_0","generic-vnf.model-version-id":"20207f4a-b673-4f4b-9281-e39d0505f900","generic-vnf.model-customization-id":"a61a5353-10d0-4e7f-9142-1aa8ff4165e3","generic-vnf.nf<http://generic-vnf.nf/>-function":"","generic-vnf.vnf-type":"vFW_Close_Loop/vFW_SINC 0","generic-vnf.model-invariant-id":"70f6c9c0-296a-4aa9-94d4-11f782cec1e9","generic-vnf.vnf-id":"e5085aa8-84a0-4f4b-a7d5-0bcc636f0088"},"closedLoopAlarmStart":1522176626247571,"closedLoopEventStatus":"ONSET","closedLoopControlName":"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a","version":"1.0.2","target":"generic-vnf.vnf-name","requestID":"999977cc-3297-11e8-b467-0ed5f89f718b","from":"DCAE"} curl -X GET \ http://IP:PORT/policy/pdp/engine/controllers/amsterdam<http://ipport/> \ -H 'Authorization: Basic QDFiM3J0OjMxbnN0MzFu' \ -H 'Cache-Control: no-cache' \ -H 'Postman-Token: f3eaec28-130d-39ee-fb44-5369411714c1' **** "drools": { "sessionNames": [], "canonicalSessionNames": [], "container": null, "recentSourceEvents": [], "recentSinkEvents": [], "brained": false, "version": "NO-VERSION", "groupId": "NO-GROUP-ID", "artifactId": "NO-ARTIFACT-ID", "alive": false, "locked": false } **** Thanks, Rashmi
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
