1
0
-1

Hello , 

i am actually having an issue when i try to run vfirewall demo for the second time using robot .

 However running the script at the first time works without any issue ,i took a look at the drools log ( network.log) I found that the : Target vnf-id could not be found ? is there anything missing  that must be changed ?

I would appreciate your help .

Thanks .


Please find below the drools log :

[2019-08-26T19:02:15.552+00:00|Session org.onap.policy.drools-applications.controlloop.common:controller-usecases:1.4.2:usecases][OUT|REST|https://aai.onap:8443/aai/v16/search/nodes-query?search-node-type=vserver&filter=vserver-name:EQUALS:Ete_vFWCLvFWSNK_66b2331f_0|]
[2019-08-26T19:02:15.670+00:00|Session org.onap.policy.drools-applications.controlloop.common:controller-usecases:1.4.2:usecases][OUT|REST|https://aai.onap:8443]
{"query":"query/closed-loop","start":"/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/891bc8cf84be41d286ab2ea85c383dc0/vservers/vserver/1445489b-afc0-4e64-aa3a-e8b45fdd7574"}
[2019-08-26T19:02:16.086+00:00|Session org.onap.policy.drools-applications.controlloop.common:controller-usecases:1.4.2:usecases][OUT|DMAAP|POLICY-CL-MGT]
{
"AAI": {
"vserver.prov-status": "ACTIVE",
"vserver.resource-version": "1566504065961",
"vserver.is-closed-loop-disabled": "false",
"vserver.vserver-name2": "Ete_vFWCLvFWSNK_66b2331f_0",
"vserver.vserver-id": "1445489b-afc0-4e64-aa3a-e8b45fdd7574",
"vserver.vserver-selflink": "http://172.24.52.27:8774/v2.1/servers/1445489b-afc0-4e64-aa3a-e8b45fdd7574",
"vserver.in-maint": "false",
"vserver.vserver-name": "Ete_vFWCLvFWSNK_66b2331f_0"
},
"closedLoopAlarmStart": 1566689133568867,
"closedLoopControlName": "ControlLoop-vFirewall-928c7826-a3f8-4625-99ee-42c7bcc51379",
"version": "1.0.2",
"requestId": "73ae7b0a-2354-4dd9-b847-573f3035128b",
"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.modifyconfig.EVENT.MANAGER",
"policyVersion": "5.0.0",
"notification": "FINAL: FAILURE",
"message": "Target vnf-id could not be found",
"notificationTime": "2019-08-26 19:02:16.085000+00:00",
"history": []
}
[2019-08-26T19:02:16.086+00:00|Session org.onap.policy.drools-applications.controlloop.common:controller-usecases:1.4.2:usecases][OUT|REST|https://aai.onap:8443/aai/v16/search/nodes-query?search-node-type=vserver&filter=vserver-name:EQUALS:Ete_vFWCLvFWSNK_66b2331f_0|]
[2019-08-26T19:02:16.198+00:00|Session org.onap.policy.drools-applications.controlloop.common:controller-usecases:1.4.2:usecases][OUT|REST|https://aai.onap:8443]
{"query":"query/closed-loop","start":"/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/891bc8cf84be41d286ab2ea85c383dc0/vservers/vserver/1445489b-afc0-4e64-aa3a-e8b45fdd7574"}

    CommentAdd your comment...