Hi,

We are not using DCAE collector due to some issues as of now. Just placing a 
message with below command. Policy is in non-simulated mode. And checking 
whether policy triggering SO api for scale-out.

http --verify=no --default-scheme=https -a [email protected]:demo123456! 
PUT 
:9696/policy/pdp/engine/topics/sources/dmaap/unauthenticated.DCAE_CL_OUTPUT/events
 @onset-vdns.json Content-Type:"text/plain"

When we checked in debug log by enabling SO debuggers, found there is an error 
which highlighted below. I’m attaching AAI response, can you suggest what is 
missing. Thank you.

[2018-12-19T13:53:50.280+00:00|INFO|MDCTransactionImpl|Session 
org.onap.policy-engine.drools.amsterdam:policy-amsterdam-rules:0.9.0:closedloop-amsterdam]
[2018-12-19T13:53:50.280+00:00|INFO|MavenDroolsController|Session 
org.onap.policy-engine.drools.amsterdam:policy-amsterdam-rules:0.9.0:closedloop-amsterdam]
 MavenDroolsController 
[policyContainer=org.onap.policy-engine.drools.amsterdam:policy-amsterdam-rules:0.9.0:,
 alive=true, locked=, modelClassLoaderHash=1739986996]DELIVER: 
org.onap.policy.controlloop.VirtualControlLoopNotification@38d0f271 FROM 
MavenDroolsController 
[policyContainer=org.onap.policy-engine.drools.amsterdam:policy-amsterdam-rules:0.9.0:,
 alive=true, locked=, modelClassLoaderHash=1739986996] TO InlineDmaapTopicSink 
[userName=null, password=null, getTopicCommInfrastructure()=DMAAP, 
toString()=InlineBusTopicSink 
[partitionId=2ac46fe0-8b06-4c09-a70d-44f338f6e32d, alive=true, 
publisher=CambriaPublisherWrapper []]]
[2018-12-19T13:53:50.282+00:00|INFO|controlloop|Session 
org.onap.policy-engine.drools.amsterdam:policy-amsterdam-rules:0.9.0:closedloop-amsterdam]
 ClosedLoop-a4707dde-f7b1-11e8-a97b-0287bbd157df_0: 
CLAMPMS_Vlb_Service_v1_0_MS_Vlb_vsp_VF0.Config_BRMS_Param_ClosedLoop_a4707dde_f7b1_11e8_a97b_0287bbd157df_Policy_12lup3h_0.EVENT.MANAGER.OPERATION.LOCKED.GUARD_PERMITTED:
 event=org.onap.policy.controlloop.VirtualControlLoopEvent@5af7bfe8 
manager=ControlLoopEventManager 
[closedLoopControlName=ClosedLoop-a4707dde-f7b1-11e8-a97b-0287bbd157df_0, 
requestId=e4f95e0c-a013-4530-8e59-c5c5f9e539b7, 
processor=org.onap.policy.controlloop.processor.ControlLoopProcessor@4659f729, 
onset=e4f95e0c-a013-4530-8e59-c5c5f9e539b7, numOnsets=1, numAbatements=0, 
isActivated=true, currentOperation=ControlLoopOperationManager 
[onset=e4f95e0c-a013-4530-8e59-c5c5f9e539b7, 
policy=c57aab72-2ba2-4f44-8cf2-05a312f4c4cd, attempts=0, policyResult=null, 
currentOperation=null, operationHistory=[]], targetLock=VNFTargetLock 
[lockID=9fc3d9da-791c-4040-9e52-870e419e0cd4, targetType=VNF, 
target=zdfw1lb02dns01, requestID=e4f95e0c-a013-4530-8e59-c5c5f9e539b7]] 
operation=ControlLoopOperationManager 
[onset=e4f95e0c-a013-4530-8e59-c5c5f9e539b7, 
policy=c57aab72-2ba2-4f44-8cf2-05a312f4c4cd, attempts=0, policyResult=null, 
currentOperation=null, operationHistory=[]] lock=VNFTargetLock 
[lockID=9fc3d9da-791c-4040-9e52-870e419e0cd4, targetType=VNF, 
target=zdfw1lb02dns01, requestID=e4f95e0c-a013-4530-8e59-c5c5f9e539b7]
[2018-12-19T13:53:50.282+00:00|ERROR|SoActorServiceProvider|Session 
org.onap.policy-engine.drools.amsterdam:policy-amsterdam-rules:0.9.0:closedloop-amsterdam]
 Either base or non-base vf module is not found from AAI response.
[2018-12-19T13:53:50.282+00:00|WARN|controlloop|Session 
org.onap.policy-engine.drools.amsterdam:policy-amsterdam-rules:0.9.0:closedloop-amsterdam]
 ClosedLoop-a4707dde-f7b1-11e8-a97b-0287bbd157df_0: 
CLAMPMS_Vlb_Service_v1_0_MS_Vlb_vsp_VF0.Config_BRMS_Param_ClosedLoop_a4707dde_f7b1_11e8_a97b_0287bbd157df_Policy_12lup3h_0.EVENT.MANAGER.OPERATION.LOCKED.GUARD_PERMITTED:
 unexpected null operation request
[2018-12-19T13:53:50.284+00:00|DEBUG|ControlLoopEventManager|Session 
org.onap.policy-engine.drools.amsterdam:policy-amsterdam-rules:0.9.0:closedloop-amsterdam]
 Finishing VF Module Create result is Failure


Thanks & Regards,

Vamshi Krishna | Tech Mahindra

Sharda Centre, Off Karve Road, Erandwane, Pune 411 004, INDIA
Mobile: +91 9848639561, ext : 3492
Email Id – [email protected]<mailto:[email protected]>



[cid:[email protected]]<http://www.techmahindra.com/>






From: [email protected] <[email protected]> On Behalf Of 
Alok Gupta
Sent: Wednesday, December 19, 2018 7:49 PM
To: [email protected]; PLATANIA, MARCO <[email protected]>; 
Vamshi Namilikonda <[email protected]>; HERNANDEZ-HERRERO, JORGE 
<[email protected]>
Subject: Re: [onap-discuss] [POLICY] Actor SO not triggered when simulators 
turned off

VES has sourceName indicating the device measurement are collected for, whereas 
reportingEntityName is most cases would be same as sourceName if the same 
device is sending the events to DCAE Collector. If there is an EMS or OAM VM 
involved sending events on the behalf of source then reportingEntityName should 
have the name of the EMS/OAM VM.


Regards,

Alok Gupta
732-420-7007
MT B2 3D30
[email protected]<mailto:[email protected]>

From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
PLATANIA, MARCO
Sent: Wednesday, December 19, 2018 9:09 AM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>; 
HERNANDEZ-HERRERO, JORGE <[email protected]<mailto:[email protected]>>
Subject: Re: [onap-discuss] [POLICY] Actor SO not triggered when simulators 
turned off

***Security Advisory: This Message Originated Outside of AT&T ***
Reference http://cso.att.com/EmailSecurity/IDSP.html for more information.
I see 2 different vLB names in the logs. Can you please describe your scenario? 
How are the closed loop and guard policies designed? Also, what is the 
reporting entity name in the VES message? My guess is that there’s some 
conflict somewhere.

Marco

From: <[email protected]<mailto:[email protected]>> on 
behalf of vamshi 
<[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, December 19, 2018 at 8:43 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, 
"HERNANDEZ-HERRERO, JORGE" <[email protected]<mailto:[email protected]>>
Subject: [onap-discuss] [POLICY] Actor SO not triggered when simulators turned 
off

Hi,

I’ve tried vDNS usecase with the controlloop created from CLAMP.
All is well when I tried with simulators – policy could trigger SO API for 
vnf-scale out. The same behavior I anticipated when turning the simulators off, 
but it stopped processing after guard PERMIT received for SO VF MODULE CREATE.
Can somebody suggest what could cause the POLICY restrain from triggering SO 
api for vnf scale out. I’ve attached network.log for both simulated and 
non-simulated mode of vDNS execution. Appreciate your assistance.


Thanks & Regards,

Vamshi Krishna | Tech Mahindra




[id:[email protected]]<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.techmahindra.com_&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=_g_bZIoC9S_5OOU0uqUWMSpjM-bG5_TKUu7Kx_C970o&s=E1zBHG5xg5etfEwpnGCd3wn5VoCcJeVCcWtCiHCQ5tY&e=>






============================================================================================================================
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<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.techmahindra.com_Disclaimer.html&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=_g_bZIoC9S_5OOU0uqUWMSpjM-bG5_TKUu7Kx_C970o&s=1Tcr_GrhVKQtyf1PkQKn41accJQ2blSG3xzouHBE_NA&e=>
 externally 
http://tim.techmahindra.com/tim/disclaimer.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__tim.techmahindra.com_tim_disclaimer.html&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=_g_bZIoC9S_5OOU0uqUWMSpjM-bG5_TKUu7Kx_C970o&s=CS2EYExJl50vnAjnvh36v2xJUiEN2YCfb2TGVg_xFP4&e=>
 internally within TechMahindra.
============================================================================================================================


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

View/Reply Online (#14628): https://lists.onap.org/g/onap-discuss/message/14628
Mute This Topic: https://lists.onap.org/mt/28801807/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

[2018-12-19T13:53:50.206+00:00|DEBUG|ControlLoopEventManager|Session 
org.onap.policy-engine.drools.amsterdam:policy-amsterdam-rules:0.9.0:closedloop-amsterdam]
 AAI Named Query Response:
[2018-12-19T13:53:50.207+00:00|DEBUG|ControlLoopEventManager|Session 
org.onap.policy-engine.drools.amsterdam:policy-amsterdam-rules:0.9.0:closedloop-amsterdam]
 {
  "inventory-response-item": [
    {
      "vserver": {
        "vserver-id": "46251dd9-c034-4a3a-acae-7098d5276781",
        "vserver-name": "zdfw1lb02dns01",
        "vserver-name2": "zdfw1lb02dns01",
        "prov-status": "ACTIVE",
        "vserver-selflink": 
"http://10.126.0.50:8774/v2.1/ac3ad678c9044ebba5190dd3dc531765/servers/46251dd9-c034-4a3a-acae-7098d5276781";,
        "in-maint": false,
        "is-closed-loop-disabled": false,
        "resource-version": "1543937602108"
      },
      "extra-properties": {
        "extra-property": []
      },
      "inventory-response-items": {
        "inventory-response-item": [
          {
            "model-name": "MS_Vlb_vsp_VF",
            "generic-vnf": {
              "vnf-id": "297e8099-f90b-4dbb-8aa9-c539e2a554d2",
              "vnf-name": "MS_Vlb_Service1_VNF",
              "vnf-type": "MS_Vlb_Service/MS_Vlb_vsp_VF 0",
              "service-id": "ced73ac3-75fb-4398-b313-906621781d8e",
              "prov-status": "ACTIVE",
              "in-maint": false,
              "is-closed-loop-disabled": false,
              "resource-version": "1543937671133",
              "model-invariant-id": "634700ec-25e3-459c-8ccf-a17de77e33db",
              "model-version-id": "2ca4e040-80b3-40a4-8dd2-7f70a0f2acfe",
              "model-customization-id": "51253dc1-130b-4074-8bfb-9c7f263d6f80"
            },
            "extra-properties": {
              "extra-property": [
                {
                  "property-name": "model-ver.model-version-id",
                  "property-value": "2ca4e040-80b3-40a4-8dd2-7f70a0f2acfe"
                },
                {
                  "property-name": "model-ver.model-name",
                  "property-value": "MS_Vlb_vsp_VF"
                },
                {
                  "property-name": "model.model-type",
                  "property-value": "resource"
                },
                {
                  "property-name": "model.model-invariant-id",
                  "property-value": "634700ec-25e3-459c-8ccf-a17de77e33db"
                },
                {
                  "property-name": "model-ver.model-version",
                  "property-value": "1.0"
                }
              ]
            },
            "inventory-response-items": {
              "inventory-response-item": [
                {
                  "model-name": "MS_Vlb_Service",
                  "service-instance": {
                    "service-instance-id": 
"8d5ec950-e6ad-47d3-bde3-39205084a9fd",
                    "service-instance-name": "MS_Vlb_Service1",
                    "resource-version": "1543921414466",
                    "model-invariant-id": 
"b37f356c-6e39-47df-91c7-06e63f030239",
                    "model-version-id": "33bbfbde-017e-4281-8a35-5e476b0c17cb"
                  },
                  "extra-properties": {
                    "extra-property": [
                      {
                        "property-name": "model-ver.model-version-id",
                        "property-value": "33bbfbde-017e-4281-8a35-5e476b0c17cb"
                      },
                      {
                        "property-name": "model-ver.model-name",
                        "property-value": "MS_Vlb_Service"
                      },
                      {
                        "property-name": "model.model-type",
                        "property-value": "service"
                      },
                      {
                        "property-name": "model.model-invariant-id",
                        "property-value": "b37f356c-6e39-47df-91c7-06e63f030239"
                      },
                      {
                        "property-name": "model-ver.model-version",
                        "property-value": "1.0"
                      }
                    ]
                  }
                },
                {
                  "model-name": "MsVlbVspVf..base_vlb..module-0",
                  "vf-module": {
                    "vf-module-id": "88a51c2f-f4c3-4435-ab7d-8d231e32d16d",
                    "vf-module-name": "Vfmodule-BM_LBMS",
                    "heat-stack-id": 
"Vfmodule-BM_LBMS/edd92e7d-6bba-4c7f-bd7c-ed57d346431e",
                    "orchestration-status": "active",
                    "is-base-vf-module": true,
                    "resource-version": "1543923788582",
                    "model-invariant-id": 
"d2f2deef-7061-4e80-baf1-deb7b95edefa",
                    "model-version-id": "2bdfbad7-b564-4413-ac4b-901529f401ac",
                    "model-customization-id": 
"05702e87-ff78-4d44-8e19-21c47206e86d"
                  },
                  "extra-properties": {
                    "extra-property": [
                      {
                        "property-name": "model-ver.model-version-id",
                        "property-value": "2bdfbad7-b564-4413-ac4b-901529f401ac"
                      },
                      {
                        "property-name": "model-ver.model-name",
                        "property-value": "MsVlbVspVf..base_vlb..module-0"
                      },
                      {
                        "property-name": "model.model-type",
                        "property-value": "resource"
                      },
                      {
                        "property-name": "model.model-invariant-id",
                        "property-value": "d2f2deef-7061-4e80-baf1-deb7b95edefa"
                      },
                      {
                        "property-name": "model-ver.model-version",
                        "property-value": "1"
                      }
                    ]
                  }
                }
              ]
            }
          },
          {
            "tenant": {
              "tenant-id": "ac3ad678c9044ebba5190dd3dc531765",
              "tenant-name": "onap-oom-tm",
              "resource-version": "1543841227234"
            },
            "extra-properties": {
              "extra-property": []
            },
            "inventory-response-items": {
              "inventory-response-item": [
                {
                  "cloud-region": {
                    "cloud-owner": "CloudOwner",
                    "cloud-region-id": "RegionOne",
                    "cloud-region-version": "v1",
                    "resource-version": "1543841226986"
                  },
                  "extra-properties": {
                    "extra-property": []
                  }
                }
              ]
            }
          }
        ]
      }
    }
  ]
}

Reply via email to