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]] On 
Behalf Of Krysiak, Adam (Nokia - PL/Wroclaw)
Sent: 03 December 2018 22:10
To: [email protected]; DRAGOSH, PAMELA L (PAM) 
<[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 
<http://www.techmahindra.com/Disclaimer.html> externally 
http://tim.techmahindra.com/tim/disclaimer.html 
<http://tim.techmahindra.com/tim/disclaimer.html> internally within 
TechMahindra.

============================================================================================================================

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14340): https://lists.onap.org/g/onap-discuss/message/14340
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to