Hi Adam, We are currently using the Casablanca release, Any specific version you recommend?
Vidyashree/Jorge, I was going through the emails as you faced similar issue. I could see that there is no Casablanca controller available in our environment. Is this a reason for messages not getting picked up? Please refer to output from our environment. policy@policy-drools-0:/tmp/policy-install$ telemetry Version: 1.0.0 https://localhost:9696/policy/pdp/engine> cd controllers https://localhost:9696/policy/pdp/engine/controllers> cd casablanca https://localhost:9696/policy/pdp/engine/controllers/casablanca> ls decoders drools encoders inputs properties switches https://localhost:9696/policy/pdp/engine/controllers/casablanca> cd drools https://localhost:9696/policy/pdp/engine/controllers/casablanca/drools> get HTTP/1.1 404 Not Found Content-Length: 32 Content-Type: application/json Date: Mon, 10 Dec 2018 08:51:14 GMT Server: Jetty(9.4.12.v20180830) { "error": "casablanca not found" } https://localhost:9696/policy/pdp/engine/controllers/casablanca/drools> get | jq .sessionCoordinates null https://localhost:9696/policy/pdp/engine/controllers/casablanca/drools> Regards Chandrashekhar Thakare From: [email protected] [mailto:[email protected]] On Behalf Of Krysiak, Adam (Nokia - PL/Wroclaw) Sent: 10 December 2018 15:15 To: Chandrashekhar Thakare <[email protected]>; [email protected]; DRAGOSH, PAMELA L (PAM) <[email protected]> Subject: Re: [onap-discuss] [policy] DMaaP policy triggering issue Hi, Unfortunately I have not found any resolution. As workaround I can recommend you to go back to older policy versions. It should work there. Br, Adam Krysiak Software Engineer MN MANO RD&Pz ONAP-UI-ML DEVOPS WRO 2 SG Nokia Contact number: +48691441316 ________________________________ From: Chandrashekhar Thakare <[email protected]<mailto:[email protected]>> Sent: Monday, December 10, 2018 9:34:55 AM To: [email protected]<mailto:[email protected]>; Krysiak, Adam (Nokia - PL/Wroclaw); DRAGOSH, PAMELA L (PAM) Subject: RE: [policy] DMaaP policy triggering issue Hi Adam, Have you got any resolution for this issue? We have distributed the VLB closed loop via CLAMP to policy and trying to post the onset message manually. We are getting similar issue that the message is just consumed at policy but not processed. In debug logs we could not trace any errors. I can see the onset Json have few more attributes as policyversion and poclicyName.. Are these mandatory attributes for policy to process? Regards Chandrashekhar Thakare From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Krysiak, Adam (Nokia - PL/Wroclaw) Sent: 03 December 2018 22:10 To: [email protected]<mailto:[email protected]>; DRAGOSH, PAMELA L (PAM) <[email protected]<mailto:[email protected]>> Subject: [onap-discuss] [policy] DMaaP policy triggering issue Hi, I'm trying to perform Closed Loop scenario on Casablanca lab. I'm on step where policy should be triggered but nothing happens. I see that TCA is sending events on DMaaP unauthenticated.DCAE_CL_OUTPUT topic correctly. They are even consumed by group/user dcae.policy.shared/dev-policy-drools-0<http://portal.api.simpledemo.onap.org:30227/events/unauthenticated.DCAE_CL_OUTPUT/dcae.policy.shared/dev-policy-drools-0>. When checking other groups on this topic I see that events are there: [ "{\"closedLoopEventClient\":\"DCAE_INSTANCE_ID.dcae-tca\",\"policyVersion\":\"v0.0.1\",\"policyName\":\"CLAMPdp_svc_v4_0_DP_VNF0.ClosedLoop_56b15df9_f716_11e8_8161_022bf8accb10_TCA_1d13unw\",\"policyScope\":\"DCAE\",\"target_type\":\"VNF\",\"AAI\":{\"generic-vnf.resource-version\":\"1543571892949\",\"generic-vnf.nf-role\":\"\",\"generic-vnf.prov-status\":\"ACTIVE\",\"generic-vnf.orchestration-status\":\"Created\",\"generic-vnf.is-closed-loop-disabled\":false,\"generic-vnf.service-id\":\"c8a0de0d-6956-475f-accc-2acb1652b7fe\",\"generic-vnf.in-maint\":false,\"generic-vnf.nf-type\":\"\",\"generic-vnf.nf-naming-code\":\"\",\"generic-vnf.vnf-name\":\"dp-vnf\",\"generic-vnf.model-version-id\":\"6e777d8b-1860-4d95-9933-f126dfad7d48\",\"generic-vnf.model-customization-id\":\"005ca57a-eb0b-45a7-a9e9-637d58d58ef0\",\"generic-vnf.nf-function\":\"\",\"generic-vnf.vnf-type\":\"dp-svc/DP_VNF 0\",\"generic-vnf.model-invariant-id\":\"799c7ba7-d00b-40a0-b50f-bc2fca02d8aa\",\"generic-vnf.vnf-id\":\"033f103b-0705-44dd-9170-9a839bbeb9de\"},\"closedLoopAlarmStart\":1543589661,\"closedLoopEventStatus\":\"ONSET\",\"closedLoopControlName\":\"ClosedLoop-56b15df9-f716-11e8-8161-022bf8accb10_0\",\"version\":\"1.0.2\",\"target\":\"generic-vnf.vnf-name\",\"requestID\":\"ac12f8d4-1094-4b6e-b074-0af0e8896017\",\"from\":\"DCAE\"}" ] I've checked drools logs (attached to this email) and can't see any warnings. After some time there is traceback with "Too Many Requests". Lab is created using OOF. Policy image versions are: onap/policy-apex-pdp,2.0.3 onap/policy-distribution,2.0.3 onap/policy-drools,1.3.4 onap/policy-pe,1.3.4 Can someone from Policy team take a look? PS. (Previously I used: onap/policy-apex-pdp,2.0-SNAPSHOT-latest onap/policy-distribution,2.0.3-SNAPSHOT-latest onap/policy-drools,1.3-SNAPSHOT-latest onap/policy-pe,1.3-SNAPSHOT-latest but on those feature controlloop-amsterdam is not installed. Is that an issue?) Adam Krysiak Software Engineer MN MANO RD&Pz ONAP-UI-ML DEVOPS WRO 2 SG Nokia Contact number: +48691441316 ============================================================================================================================ Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra. ============================================================================================================================ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14342): https://lists.onap.org/g/onap-discuss/message/14342 Mute This Topic: https://lists.onap.org/mt/28573238/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
