Dear Team, We are testing Closed loop on ONAP EL-Alto. As part of this we are triggering closed loop(i.e. packet loss event) event manually from "nfs" VM as below.
curl -X POST -u admin:admin -H "Content-Type:application/json" -H "Accept: application/json" http://20.0.0.53:30235/eventListener/v5 -d @closedLoopEvent.json Where "20.0.0.53" --> is VM IP of VES collector pod where it is running. Request to reaching policy component, please find the below log from Policy-drools. [2020-03-18T13:14:19.075+00:00|pool-2-thread-1][OUT|DMAAP|POLICY-PDP-PAP] {"pdpType":"drools","state":"ACTIVE","healthy":"HEALTHY","supportedPolicyTypes":[{"name":"onap.policies.controlloop.Operational","version":"1.0.0"}],"policies":[],"messageName":"PDP_STATUS","requestId":"238e534d-8602-4705-95a9-e7ae85739a1f","timestampMs":1584537259075,"name":"rnd-policy-drools-0","pdpGroup":"defaultGroup","pdpSubgroup":"drools"} [2020-03-18T13:14:19.758+00:00|DMAAP-source-POLICY-PDP-PAP][IN|DMAAP|POLICY-PDP-PAP] {"pdpType":"drools","state":"ACTIVE","healthy":"HEALTHY","supportedPolicyTypes":[{"name":"onap.policies.controlloop.Operational","version":"1.0.0"}],"policies":[],"messageName":"PDP_STATUS","requestId":"238e534d-8602-4705-95a9-e7ae85739a1f","timestampMs":1584537259075,"name":"rnd-policy-drools-0","pdpGroup":"defaultGroup","pdpSubgroup":"drools"} [2020-03-18T13:14:23.496+00:00|qtp1569754439-35]10.42.0.11 - [email protected] [18/Mar/2020:13:14:23 +0000] "GET /healthcheck HTTP/1.1" 200 102 [2020-03-18T13:14:38.516+00:00|qtp1569754439-35]10.42.0.11 - [email protected] [18/Mar/2020:13:14:38 +0000] "GET /healthcheck HTTP/1.1" 200 102 [2020-03-18T13:14:46.333+00:00|DMAAP-source-DCAE_TOPIC][IN|DMAAP|DCAE_TOPIC] {"closedLoopEventClient":"DCAE_INSTANCE_ID.dcae-tca","policyVersion":"v0.0.1","policyName":"DCAE.Config_tca-hi-lo","policyScope":"DCAE","target_type":"VNF","AAI":{"generic-vnf.resource-version":"1583857445101","generic-vnf.vnf-name":"vcpe_vnf_vcpevsp_vgmux_0403a_202003041808","generic-vnf.prov-status":"ACTIVE","generic-vnf.model-version-id":"27bd9073-f20e-4892-b9df-e85fe3e7c810","generic-vnf.model-customization-id":"09225037-4644-4a2d-9555-184b7160501a","generic-vnf.orchestration-status":"Active","generic-vnf.is-closed-loop-disabled":false,"generic-vnf.vnf-type":"vcpesvc_vgmux_0403a/vcpevsp_vgmux_0403a 0","generic-vnf.service-id":"f9457e8c-4afd-45da-9389-46acd9bf5116","generic-vnf.in-maint":false,"generic-vnf.model-invariant-id":"a89867ec-f02b-4e32-a25d-5a83e81c8e02","generic-vnf.vnf-id":"1fb3e99a-fa09-49d4-950e-8fe9046a5224"},"closedLoopAlarmStart":1508871661489135,"closedLoopEventStatus":"ONSET","closedLoopControlName":"ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e","version":"1.0.2","target":"generic-vnf.vnf-name","requestID":"681db7c1-da2c-4869-bfc8-dd2516229ddd","from":"DCAE"} ^C bash-4.4$ also i can see below error( i.e. Topic not found for "APPC-CL" & "APPC-LCM-WRITE") from Policy-drools. [2020-03-18T13:15:52.377+00:00|WARN|CambriaConsumerImpl|DMAAP-source-APPC-CL] Topic not found: /events/APPC-CL/39f2e184-a474-4391-bbd3-8771940c281a/rnd-policy-drools-0?timeout=15000&limit=100 [2020-03-18T13:15:52.377+00:00|WARN|CambriaConsumerImpl|DMAAP-source-APPC-LCM-WRITE] Topic not found: /events/APPC-LCM-WRITE/cef23aae-f84c-49f5-ad48-1a1f03482e4e/rnd-policy-drools-0?timeout=15000&limit=100 [2020-03-18T13:15:52.377+00:00|WARN|CambriaConsumerImpl|DMAAP-source-SDNR-CL-RSP] Topic not found: /events/SDNR-CL-RSP/411d3b52-3cec-4c8f-87c5-2088689b84b2/rnd-policy-drools-0?timeout=15000&limit=100 ^C bash-4.4$ In APPC, i can see that there are errors like "No such topic exists for APPC-LCM-READ & APPC-CL" as show below 2020-03-18T13:14:52,139 | INFO | Appc-Listener-2 | HttpDmaapConsumerImpl | 444 - appc-common-bundle - 1.6.4 | GET http://message-router.onap:3904/events/APPC-CL/appcDemoEventListener/943?timeout=60000&limit=1000 2020-03-18T13:14:52,139 | INFO | Appc-Listener-1 | HttpDmaapConsumerImpl | 444 - appc-common-bundle - 1.6.4 | GET http://message-router.onap:3904/events/APPC-LCM-READ/APPC-EVENT-LISTENER-TEST/308?timeout=60000&limit=10 2020-03-18T13:14:52,150 | ERROR | Appc-Listener-1 | HttpDmaapConsumerImpl | 444 - appc-common-bundle - 1.6.4 | Did not get 200 from DMaaP. Got 404 - {"mrstatus":3001,"helpURL":"http://onap.readthedocs.io","message":"No such topic exists.-[APPC-LCM-READ]","status":404} 2020-03-18T13:14:52,150 | INFO | Appc-Listener-1 | HttpDmaapConsumerImpl | 444 - appc-common-bundle - 1.6.4 | Sleeping for 60s after failed request 2020-03-18T13:14:52,150 | ERROR | Appc-Listener-2 | HttpDmaapConsumerImpl | 444 - appc-common-bundle - 1.6.4 | Did not get 200 from DMaaP. Got 404 - {"mrstatus":3001,"helpURL":"http://onap.readthedocs.io","message":"No such topic exists.-[APPC-CL]","status":404} 2020-03-18T13:14:52,150 | INFO | Appc-Listener-2 | HttpDmaapConsumerImpl | 444 - appc-common-bundle - 1.6.4 | Sleeping for 60s after failed request Usually topics should create automatically when first message is published on that topic. Here APPC is consuming messages from "APPC-LCM-READ & APPC-CL" topics. some how we are getting abouve error (i.e. "No such topic exists"). Please let us know how to fix this issue. attached logs contain more details. Regards, Manjunath. L&T Technology Services Ltd www.LTTS.com L&T Technology Services Limited (LTTS) is committed to safeguard your data privacy. For more information to view our commitment towards data privacy under GDPR, please visit the privacy policy on our website www.Ltts.com. This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20299): https://lists.onap.org/g/onap-discuss/message/20299 Mute This Topic: https://lists.onap.org/mt/72050183/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
