Hi everybody,

We are testing the VF Module Scale Out use case.

Our vLB correctly sends data to the VES Collector and it correctly publishes 
data on DMaaP topic unauthenticated.VES_MEASUREMENT_OUTPUT.
TCA correctly read data from this topic and, as the threshold is violated, 
correctly publishes data on DMAAP topic unauthenticated.DCAE_CL_OUTPUT
Policy Drools read data from this topic and applies frequency guard but it does 
not propagate the event even if it seems send evets to DMaap topic POLICY-CL-MGT
Who consumes messages from this topic (POLICY-CL-MGT) and who writes to topic 
APPC-LCM-READ in order to propagate the commands to the APPC ?

Accessing to network.log file of policy drools we have found the following 
messages :

[2019-08-31T00:37:54.089+00:00|Session 
org.onap.policy.drools-applications.controlloop.common:controller-usecases:1.4.2:usecases][OUT|
{
  "AAI": {
    "vserver.prov-status": "ACTIVE",
    "vserver.resource-version": "1566468980498",
    "vserver.is-closed-loop-disabled": "false",
    "vserver.vserver-name2": "RegionOne_ONAP-NF_20190821T135252709Z_vlb_001",
    "vserver.vserver-id": "ccadfb9d-0386-43d5-b007-887ec9ce3fcc",
    "vserver.vserver-selflink": 
"http://163.162.95.137:8774/v2.1/a9d84b4e2c1e47bfaa4d26d2d894c9c2/servers/ccadfb9d-0386-43d5-b007-887e
    "vserver.in-maint": "false",
    "vserver.vserver-name": "RegionOne_ONAP-NF_20190821T135252709Z_vlb_001"
  },
  "closedLoopAlarmStart": 1567211854626801,
  "closedLoopControlName": 
"LOOP_vLoadBalancer_20190821_v1_0_vLoadBalancer_201908210_k8s-tca-clamp-policy",
  "version": "1.0.2",
  "requestId": "2d530ae5-cdc5-41a3-83fe-0166431d26e7",
  "closedLoopEventClient": "DCAE_INSTANCE_ID.dcae-tca",
  "targetType": "VM",
  "target": "vserver.vserver-name",
  "from": "policy:usecases",
  "policyScope": "onap.policies.controlloop.Operational:1.0.0",
  "policyName": 
"OPERATIONAL_vLoadBalancer_20190821_v1_0_vLoadBalancer_201908210_k8s-tca-clamp-policy.EVENT.MANAGER",
  "policyVersion": "1.0.0",
  "notification": "REJECTED",
  "message": "The target RegionOne_ONAP-NF_20190821T135252709Z_vlb_001 is 
already locked",
  "notificationTime": "2019-08-31 00:37:54.089000+00:00",
  "history": []
}
[2019-08-31T00:38:08.124+00:00|qtp1534754611-39]10.42.10.195 - - 
[31/Aug/2019:00:38:08 +0000] "GET /healthcheck HTTP/1.1" 200 102
root@cp-1:~/oom/kubernetes# 00|qtp1534754611-35]10.42.10.195 - - 
[31/Aug/2019:00:38:23 +0000] "GET /healthcheck HTTP/1.1" 200 102

It seems that we vserver entry in the AAI  (vserver relative to the vLB) is 
locked ?
Why it is locked ?
Who locks it ?
Where are kept the locks ?

I have also accessed the policy db

root@dev-policy-policydb-868884d57f-g4h9g:/# mysql -uroot -psecret
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 776820
Server version: 10.2.14-MariaDB-10.2.14+maria~jessie mariadb.org binary 
distribution

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> show databases;
+---------------------+
| Database            |
+---------------------+
| information_schema  |
| log                 |
| migration           |
| mysql               |
| onap_sdk            |
| operationshistory   |
| operationshistory10 |
| performance_schema  |
| policyadmin         |
| pooling             |
| support             |
+---------------------+
11 rows in set (0.02 sec)

And I have checked the operationhistory schema :

I made the resume query

MariaDB [operationshistory]> select count(*),message from operationshistory 
group by message;
+----------+---------------------------+
| count(*) | message                   |
+----------+---------------------------+
|     1474 | 999 Failed                |
|    11411 | Operation denied by Guard |
+----------+---------------------------+
2 rows in set (0.03 sec)

And I always got '999 Failed' every time the guard let it me execute the policy.
Who send this code ?
Where I can get the log of the policy executor that generate this message ?

Thank you in advance for your precious help,

Marco Ferrero


------------------------------------------------------------------
TIM
Marco Angelo Ferrero
Mobile & Fixed Innovation
IP, Transport & Core Innovation

TIM S.p.A.
Via G. Reiss Romoli, 274 - 10148 TORINO
+39 011 2286739
+39 331 6001354


Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone 
indicate. La diffusione, copia o qualsiasi altra azione derivante dalla 
conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate 
ricevuto questo documento per errore siete cortesemente pregati di darne 
immediata comunicazione al mittente e di provvedere alla sua distruzione, 
Grazie.

This e-mail and any attachments is confidential and may contain privileged 
information intended for the addressee(s) only. Dissemination, copying, 
printing or use by anybody else is unauthorised. If you are not the intended 
recipient, please delete this message and any attachments and advise the sender 
by return e-mail, Thanks.

Rispetta l'ambiente. Non stampare questa mail se non รจ necessario.

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

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

Reply via email to