Re: ONAP OOM Beijing - vLB use case


Jorge Hernandez
 

Hello  Xoan,

Try to dig into the $POLICY_LOGS/debug.log around the “2018-11-26T10:22:49.647+00:00” timestamp and see what’s the issue formulating the SO request that is not shown here.

Best regards,

Jorge

 

From: onap-discuss@... [mailto:onap-discuss@...] On Behalf Of jkzcristiano
Sent: Monday, November 26, 2018 4:57 AM
To: onap-discuss@...
Subject: [onap-discuss] ONAP OOM Beijing - vLB use case

 

Hi all,

I am having troubles in the last part of the CL. Concretely, from drools' logs I receive a FAILURE message but no information about why.

My vLB VM is not reporting correct VES events (so no alarms are generated). This is not an issue to test the CL since I can simply manually send one VES event from Postman. I've just did it so I share below drools' logs:

---------------------------------------------------------

[2018-11-26T10:22:21.675+00:00|qtp35534346-33569]10.42.5.79 - healthcheck [26/Nov/2018:10:22:21 +0000] "GET //drools:6969/healthcheck?pretty HTTP/1.1" 200 276

[2018-11-26T10:22:36.690+00:00|qtp35534346-33614]10.42.5.79 - healthcheck [26/Nov/2018:10:22:36 +0000] "GET //drools:6969/healthcheck?pretty HTTP/1.1" 200 276

[2018-11-26T10:22:45.225+00:00|UEB-source-unauthenticated.DCAE_CL_OUTPUT][IN|UEB|unauthenticated.DCAE_CL_OUTPUT]

{

  "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": "1542983604963",

    "vserver.is-closed-loop-disabled": false,

    "vserver.vserver-name2": "zdfw1lb01lb01-2211-1",

    "vserver.vserver-id": "7794876b-16b5-451d-9801-e5b4dc8e3e9e",

    "vserver.in-maint": false,

    "vserver.vserver-name": "zdfw1lb01lb01-2211-1"

  },

  "closedLoopAlarmStart": 1543227746094,

  "closedLoopEventStatus": "ONSET",

  "closedLoopControlName": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",

  "version": "1.0.2",

  "target": "vserver.vserver-name",

  "requestID": "5438adf8-4770-41c0-af81-a4b14eda841b",

  "from": "DCAE"

}

[2018-11-26T10:22:45.900+00:00|Session org.onap.policy-engine.drools.amsterdam:policy-amsterdam-rules:1.4.0:closedloop-amsterdam][OUT|UEB|POLICY-CL-MGT]

{

  "AAI": {

    "vserver.prov-status": "ACTIVE",

    "vserver.resource-version": "1542983604963",

    "vserver.is-closed-loop-disabled": "false",

    "vserver.vserver-name2": "zdfw1lb01lb01-2211-1",

    "vserver.vserver-id": "7794876b-16b5-451d-9801-e5b4dc8e3e9e",

    "vserver.in-maint": "false",

    "vserver.vserver-name": "zdfw1lb01lb01-2211-1"

  },

  "closedLoopAlarmStart": 1543227746094,

  "closedLoopControlName": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",

  "version": "1.0.2",

  "requestId": "5438adf8-4770-41c0-af81-a4b14eda841b",

  "closedLoopEventClient": "DCAE_INSTANCE_ID.dcae-tca",

  "targetType": "VM",

  "target": "vserver.vserver-name",

  "from": "pdp-0001-controller=controlloop:amsterdam",

  "policyScope": "com",

  "policyName": "com.Config_BRMS_Param_BRMSParamvDNS.EVENT",

  "policyVersion": "1",

  "notification": "ACTIVE",

  "notificationTime": "2018-11-26 10:22:45.523000+00:00",

  "history": []

}

[2018-11-26T10:22:46.314+00:00|Session org.onap.policy-engine.drools.amsterdam:policy-amsterdam-rules:1.4.0:closedloop-amsterdam][OUT|UEB|POLICY-CL-MGT]

{

  "AAI": {

    "vserver.prov-status": "ACTIVE",

    "vserver.resource-version": "1542983604963",

    "vserver.is-closed-loop-disabled": "false",

    "vserver.vserver-name2": "zdfw1lb01lb01-2211-1",

    "vserver.vserver-id": "7794876b-16b5-451d-9801-e5b4dc8e3e9e",

    "vserver.in-maint": "false",

    "vserver.vserver-name": "zdfw1lb01lb01-2211-1"

  },

  "closedLoopAlarmStart": 1543227746094,

  "closedLoopControlName": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",

  "version": "1.0.2",

  "requestId": "5438adf8-4770-41c0-af81-a4b14eda841b",

  "closedLoopEventClient": "DCAE_INSTANCE_ID.dcae-tca",

  "targetType": "VM",

  "target": "vserver.vserver-name",

  "from": "policy:amsterdam",

  "policyScope": "com",

  "policyName": "com.Config_BRMS_Param_BRMSParamvDNS.EVENT.MANAGER.OPERATION.LOCKED.GUARD_NOT_YET_QUERIED",

  "policyVersion": "1",

  "notification": "OPERATION",

  "message": "Sending guard query for SO VF Module Create",

  "notificationTime": "2018-11-26 10:22:46.250000+00:00",

  "history": []

}

[2018-11-26T10:22:46.438+00:00|Session org.onap.policy-engine.drools.amsterdam:policy-amsterdam-rules:1.4.0:closedloop-amsterdam][OUT|UEB|POLICY-CL-MGT]

{

  "AAI": {

    "vserver.prov-status": "ACTIVE",

    "vserver.resource-version": "1542983604963",

    "vserver.is-closed-loop-disabled": "false",

    "vserver.vserver-name2": "zdfw1lb01lb01-2211-1",

    "vserver.vserver-id": "7794876b-16b5-451d-9801-e5b4dc8e3e9e",

    "vserver.in-maint": "false",

    "vserver.vserver-name": "zdfw1lb01lb01-2211-1"

  },

  "closedLoopAlarmStart": 1543227746094,

  "closedLoopControlName": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",

  "version": "1.0.2",

  "requestId": "5438adf8-4770-41c0-af81-a4b14eda841b",

  "closedLoopEventClient": "DCAE_INSTANCE_ID.dcae-tca",

  "targetType": "VM",

  "target": "vserver.vserver-name",

  "from": "policy:amsterdam",

  "policyScope": "com",

  "policyName": "com.Config_BRMS_Param_BRMSParamvDNS.GUARD.RESPONSE",

  "policyVersion": "1",

  "notification": "OPERATION",

  "message": "Guard result for SO VF Module Create is Permit",

  "notificationTime": "2018-11-26 10:22:46.431000+00:00",

  "history": []

}

[2018-11-26T10:22:46.571+00:00|Session org.onap.policy-engine.drools.amsterdam:policy-amsterdam-rules:1.4.0:closedloop-amsterdam][OUT|AAI|https://aai.onap:8443/aai/search/named-query|]

{

  "query-parameters": {

    "named-query": {

      "named-query-uuid": "4ff56a54-9e3f-46b7-a337-07a1d3c6b469"

    }

  },

  "instance-filters": {

    "instance-filter": [

      {

        "vserver": {

          "vserver-name": "zdfw1lb01lb01-2211-1"

        }

      }

    ]

  }

}

[2018-11-26T10:22:49.647+00:00|Session org.onap.policy-engine.drools.amsterdam:policy-amsterdam-rules:1.4.0:closedloop-amsterdam][IN|AAI|https://aai.onap:8443/aai/search/named-query|]

{

  "inventory-response-item": [

    {

      "vserver": {

        "vserver-id": "7794876b-16b5-451d-9801-e5b4dc8e3e9e",

        "vserver-name": "zdfw1lb01lb01-2211-1",

        "vserver-name2": "zdfw1lb01lb01-2211-1",

        "prov-status": "ACTIVE",

        "in-maint": false,

        "is-closed-loop-disabled": false,

        "resource-version": "1542983604963"

      },

      "extra-properties": {

        

      },

      "inventory-response-items": {

        "inventory-response-item": [

          {

            "model-name": "vLB",

            "generic-vnf": {

              "vnf-id": "b9d8e76c-787a-4daf-8472-4431ccadaa1c",

              "vnf-name": "VNF-vLB-22-11-A",

              "vnf-type": "S-vLB/vLB 0",

              "service-id": "6e21991d-88aa-42fb-bb53-c5ed44108014",

              "prov-status": "PROV",

              "orchestration-status": "Active",

              "in-maint": false,

              "is-closed-loop-disabled": false,

              "resource-version": "1542983593655",

              "model-invariant-id": "08fedd7e-e41a-4c33-8e7b-309266e682d5",

              "model-version-id": "bc405a8b-5d20-44bc-89dd-8bc0bebd33a8",

              "model-customization-id": "4d4fd1d6-6c4b-4583-bdde-bea9b62ba8a4",

              "nf-type": "",

              "nf-function": "",

              "nf-role": "",

              "nf-naming-code": ""

            },

            "extra-properties": {

              "extra-property": [

                {

                  "property-name": "model.model-type",

                  "property-value": "resource"

                },

                {

                  "property-name": "model-ver.model-version",

                  "property-value": "1.0"

                }

              ]

            },

            "inventory-response-items": {

              "inventory-response-item": [

                {

                  "model-name": "S-vLB",

                  "service-instance": {

                    "service-instance-id": "d40fcadd-ea22-4158-8db2-ccc3b75b5be8",

                    "service-instance-name": "S-vLB-22-11-A",

                    "environment-context": "General_Revenue-Bearing",

                    "workload-context": "Production",

                    "model-invariant-id": "68c473fa-49ff-4963-9b43-4907e668cb5d",

                    "model-version-id": "811e189e-5bfa-4231-956d-c5fd6a1698e2",

                    "resource-version": "1542911067696",

                    "orchestration-status": "Active"

                  },

                  "extra-properties": {

                    "extra-property": [

                      {

                        "property-name": "model.model-type",

                        "property-value": "service"

                      },

                      {

                        "property-name": "model-ver.model-version",

                        "property-value": "1.0"

                      }

                    ]

                  }

                },

                {

                  "model-name": "Vlb..base_vlb..module-0",

                  "vf-module": {

                    "vf-module-id": "feba709e-c28d-4c2d-92e0-27db415dda91",

                    "vf-module-name": "Stack-VNF-vLB-22-11-A",

                    "heat-stack-id": "Stack-VNF-vLB-22-11-A/61526f55-ec5e-4c91-bde0-0b98047e4234",

                    "orchestration-status": "active",

                    "is-base-vf-module": true,

                    "resource-version": "1542913550709",

                    "model-invariant-id": "80041c3b-9a21-4275-b20e-8f6379beeaf7",

                    "model-version-id": "b994c199-4a20-4e45-9b5f-c116ce2688f0",

                    "model-customization-id": "38ac13fb-2461-4d98-89d3-dde1dea00f66",

                    "module-index": 0

                  },

                  "extra-properties": {

                    "extra-property": [

                      {

                        "property-name": "model.model-type",

                        "property-value": "resource"

                      },

                      {

                        "property-name": "model-ver.model-version",

                        "property-value": "1"

                      }

                    ]

                  }

                },

                {

                  "model-name": "Vlb..dnsscaling..module-1",

                  "vf-module": {

                    "vf-module-id": "dummy_b9d8e76c-787a-4daf-8472-4431ccadaa1c",

                    "vf-module-name": "dummy_b9d8e76c-787a-4daf-8472-4431ccadaa1c",

                    "is-base-vf-module": true,

                    "resource-version": "1542987290300",

                    "model-invariant-id": "849432ea-d165-453e-802b-b4b11d06a798",

                    "model-version-id": "961cea3b-0705-46bd-9faf-9b8a18a4d26e"

                  },

                  "extra-properties": {

                    "extra-property": [

                      {

                        "property-name": "model.model-type",

                        "property-value": "resource"

                      },

                      {

                        "property-name": "model-ver.model-version",

                        "property-value": "1"

                      }

                    ]

                  }

                }

              ]

            }

          },

          {

            "tenant": {

              "tenant-id": "f8af75a250ff4cfc83fde9eb4bdcb1eb",

              "tenant-name": "admin",

              "resource-version": "1541668648868"

            },

            "extra-properties": {

              

            },

            "inventory-response-items": {

              "inventory-response-item": [

                {

                  "cloud-region": {

                    "cloud-owner": "CloudOwner",

                    "cloud-region-id": "RegionOne",

                    "cloud-type": "SharedNode",

                    "owner-defined-type": "OwnerType",

                    "cloud-region-version": "v1",

                    "cloud-zone": "CloudZone",

                    "sriov-automation": false,

                    "resource-version": "1541668648135"

                  },

                  "extra-properties": {

                    

                  }

                }

              ]

            }

          }

        ]

      }

    }

  ]

}

[2018-11-26T10:22:49.869+00:00|Session org.onap.policy-engine.drools.amsterdam:policy-amsterdam-rules:1.4.0:closedloop-amsterdam][OUT|UEB|POLICY-CL-MGT]

{

  "AAI": {

    "vserver.prov-status": "ACTIVE",

    "vserver.resource-version": "1542983604963",

    "vserver.is-closed-loop-disabled": "false",

    "vserver.vserver-name2": "zdfw1lb01lb01-2211-1",

    "vserver.vserver-id": "7794876b-16b5-451d-9801-e5b4dc8e3e9e",

    "vserver.in-maint": "false",

    "vserver.vserver-name": "zdfw1lb01lb01-2211-1"

  },

  "closedLoopAlarmStart": 1543227746094,

  "closedLoopControlName": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",

  "version": "1.0.2",

  "requestId": "5438adf8-4770-41c0-af81-a4b14eda841b",

  "closedLoopEventClient": "DCAE_INSTANCE_ID.dcae-tca",

  "targetType": "VM",

  "target": "vserver.vserver-name",

  "from": "policy:amsterdam",

  "policyScope": "com",

  "policyName": "com.Config_BRMS_Param_BRMSParamvDNS.EVENT.MANAGER",

  "policyVersion": "1",

  "notification": "FINAL: FAILURE",

  "notificationTime": "2018-11-26 10:22:49.822000+00:00",

  "history": []

}

[2018-11-26T10:22:51.697+00:00|qtp35534346-33614]10.42.5.79 - healthcheck [26/Nov/2018:10:22:51 +0000] "GET //drools:6969/healthcheck?pretty HTTP/1.1" 200 276

[2018-11-26T10:23:06.898+00:00|qtp35534346-33614]10.42.5.79 - healthcheck [26/Nov/2018:10:23:06 +0000] "GET //drools:6969/healthcheck?pretty HTTP/1.1" 200 276

---------------------------------------------------------

I am trying to see some logs in BPMN MSO, but no logs in this period of time (no logs as for today 26/11/2018). It seems I do not receive the EVENT.MANAGER.OPERATION.LOCKED.GUARD_PERMITTED and maybe this is why it fails.

I would appreciate your comments,

Kind Regards,

Xoan

 

Join onap-discuss@lists.onap.org to automatically receive all group messages.