Hi Miguel,
I had a similar issue, and this is caused in my case with setting the 
controlLoopSchemaType ( in fact the target_type causing this problem) to "VM".
I described my finding in the Jira: https://jira.onap.org/browse/DCAEGEN2-2878

And provided the fix that works for me to avoid this situation: 
https://gerrit.onap.org/r/c/dcaegen2/analytics/tca-gen2/+/123090

> 
> 
> 
> {"closedLoopEventClient":"DCAE_INSTANCE_ID.dcae-tca","policyVersion":"v0.0.1","policyName":"DCAE.Config_tca-hi-lo","policyScope":"DCAE","target_type":"VM","AAI":{"vserver.prov-status":"ACTIVE","vserver.resource-version":"1589306408745","vserver.is-closed-loop-disabled":false,"vserver.vserver-name2":"regionone-onap-nf-20200512t133639489z-vlb-001","vserver.vserver-id":"c586330f-be2a-4b63-a0c8-4869a951198f","vserver.vserver-selflink":"http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/servers/c586330f-be2a-4b63-a0c8-4869a951198f","vserver.in-maint":false,"vserver.vserver-name":"regionone-onap-nf-20200512t133639489z-vlb-001"},"closedLoopAlarmStart":1589544823546660,"closedLoopEventStatus":"ONSET","closedLoopControlName":"LOOP_testScaleOut","version":"1.0.2","target":"vserver.vserver-name","requestID":"4a087ac1-5b98-4d54-b8d0-1be387ae4ffc","from":"DCAE"}
> 
> 
> 

Jorge the CL event generated by TCA2 looks like about:

> 
> 
> 
> { "closedLoopAlarmStart" :1507750704126521, "closedLoopControlName" : 
> "attcloseloop"
> , "closedLoopEventClient" : 
> "s3075b49a615846d196aec538b548c508-dcae-tcagen2-att"
> , "closedLoopEventStatus" : "ONSET" , "from" : "DCAE" , "policyName" : 
> "attcloseloop"
> , "policyScope" : "attScope" , "policyVersion" : "v0.0.1" , "target" : 
> "vserver.vserver-name"
> , "version" : "1.0.2" , "AAI" :{ "vserver.vserver-name" : "vmcptt" , 
> "vserver.vserver-id"
> : "b3334770-6f52-44b9-ab29-50ed68cf4890" , "vserver.vserver-name" : "vmcptt"
> , "vserver.vserver-name2" : "vmcptt" , "vserver.vserver-selflink" : "https:
> //xxx.xxx.xxx.xxx:xxx/v2.1/163d40482cae4b9ab53ed3ab62bd4fd3/servers/b3334770-6f52-44b9-ab29-50ed68cf4890"
> , "vserver.in-maint" : false , "vserver.is-closed-loop-disabled" : false ,
> "vserver.resource-version" : "1626085774709" }, "requestID" : 
> "98bb2730-ff32-48ae-ac68-097bf79eff16"
> , "target_type" : "VM" }
> 
> 

Like we see we have the duplication of *vserver.vserver-name* the reason I 
describe in jiira. Maybe this is a feature and should work in this way. I only 
want to clarify that.

Best Regards,
Krystian


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23450): https://lists.onap.org/g/onap-discuss/message/23450
Mute This Topic: https://lists.onap.org/mt/84607999/21656
Mute #aai:https://lists.onap.org/g/onap-discuss/mutehashtag/aai
Mute #dcaegen2:https://lists.onap.org/g/onap-discuss/mutehashtag/dcaegen2
Mute #policy:https://lists.onap.org/g/onap-discuss/mutehashtag/policy
Mute #honolulu:https://lists.onap.org/g/onap-discuss/mutehashtag/honolulu
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to