vv770d@pod-onap-01-vjhost:~$ curl https://10.12.6.99:30226/events/POLICY-NOTIFICATION/vv/1 -k ["{\"deployed-policies\":[{\"policy-type\":\"onap.policies.controlloop.operational.common.Apex\",\"policy-type-version\":\"1.0.0\",\"policy-id\":\"OPERATIONAL_vLB_CDS_v1_0_Apex_1_0_0_frz\",\"policy-version\":\"1.0.0\",\"success-count\":1,\"failure-count\":0,\"incomplete-count\":0}],\"undeployed-policies\":[]}","{\"deployed-policies\":[{\"policy-type\":\"onap.policies.monitoring.cdap.tca.hi.lo.app\",\"policy-type-version\":\"1.0.0\",\"policy-id\":\"onap.vfirewall.tca\",\"policy-version\":\"1.0.0\",\"success-count\":0,\"failure-count\":0,\"incomplete-count\":0}],\"undeployed-policies\":[]}","{\"deployed-policies\":[],\"undeployed-policies\":[{\"policy-type\":\"onap.policies.monitoring.cdap.tca.hi.lo.app\",\"policy-type-version\":\"1.0.0\",\"policy-id\":\"onap.vfirewall.tca\",\"policy-version\":\"1.0.0\",\"success-count\":1,\"failure-count\":0,\"incomplete-count\":0}]}","{\"deployed-policies\":[{\"policy-type\":\"onap.policies.monitoring.cdap.tca.hi.lo.app\",\"policy-type-version\":\"1.0.0\",\"policy-id\":\"onap.vfirewall.tca\",\"policy-version\":\"2.0.0\",\"success-count\":1,\"failure-count\":0,\"incomplete-count\":0}],\"undeployed-policies\":[]}"]vv770d@pod-onap-01-vjhost:~$ http://10.12.6.99:30270/ui/#/dc1/kv/s389b8a9925ad4c4aa1c68cdf11d93521-dcaegen2-analytics-tca%3Apolicies/items/onap.vfirewall.tca/edit {"policyName": "onap.vfirewall.tca.2-0-0.xml", "name": "onap.vfirewall.tca", "type": "onap.policies.monitoring.cdap.tca.hi.lo.app", "type_version": "1.0.0", "version": "2.0.0", "metadata": {"policy-id": "onap.vfirewall.tca", "policy-version": "2.0.0"}, "config": {"tca_policy": {"domain": "measurementsForVfScaling", "metricsPerEventName": [{"policyName": "DCAE.Config_tca-hi-lo", "policyScope": "DCAE", "thresholds": [{"direction": "LESS_OR_EQUAL", "severity": "MAJOR", "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "version": "1.0.2", "closedLoopEventStatus": "ONSET", "thresholdValue": 100}, {"direction": "GREATER_OR_EQUAL", "severity": "CRITICAL", "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "version": "1.0.2", "closedLoopEventStatus": "ONSET", "thresholdValue": 2000}], "eventName": "vFirewallBroadcastPackets", "controlLoopSchemaType": "VM", "policyVersion": "v0.0.1"}]}}, "policyVersion": "2.0.0"} Policy-handler Notification Logs =============================== 20200402_162308.576 INFO policy_listener policy_handler.pdp_api.policy_listener._on_policy_update_message: Received notification message: ["{\"deployed-policies\":[{\"policy-type\":\"onap.policies.monitoring.cdap.tca.hi.lo.app\",\"policy-type-version\":\"1.0.0\",\"policy-id\":\"onap.vfirewall.tca\",\"policy-version\":\"1.0.0\",\"success-count\":0,\"failure-count\":0,\"incomplete-count\":0}],\"undeployed-policies\":[]}"] 20200402_162310.127 INFO policy_listener policy_handler.pdp_api.policy_listener._on_policy_update_message: Received notification message: ["{\"deployed-policies\":[],\"undeployed-policies\":[{\"policy-type\":\"onap.policies.monitoring.cdap.tca.hi.lo.app\",\"policy-type-version\":\"1.0.0\",\"policy-id\":\"onap.vfirewall.tca\",\"policy-version\":\"1.0.0\",\"success-count\":1,\"failure-count\":0,\"incomplete-count\":0}]}"] 20200402_162621.344 INFO policy_listener policy_handler.pdp_api.policy_listener._on_policy_update_message: Received notification message: ["{\"deployed-policies\":[{\"policy-type\":\"onap.policies.monitoring.cdap.tca.hi.lo.app\",\"policy-type-version\":\"1.0.0\",\"policy-id\":\"onap.vfirewall.tca\",\"policy-version\":\"2.0.0\",\"success-count\":1,\"failure-count\":0,\"incomplete-count\":0}],\"undeployed-policies\":[]}"] 20200402_154632.649 INFO policy_listener policy_handler.pdp_api.policy_listener._on_policy_update_message: Received notification message: ["{\"deployed-policies\":[{\"policy-type\":\"onap.policies.controlloop.operational.common.Apex\",\"policy-type-version\":\"1.0.0\",\"policy-id\":\"OPERATIONAL_vLB_CDS_v1_0_Apex_1_0_0_frz\",\"policy-version\":\"1.0.0\",\"success-count\":1,\"failure-count\":0,\"incomplete-count\":0}],\"undeployed-policies\":[]}"] Policy-Handler LOGS =================== 20200402_162308.576 INFO policy_listener policy_handler.pdp_api.policy_listener._on_policy_update_message: Received notification message: ["{\"deployed-policies\":[ {\"policy-type\":\"onap.policies.monitoring.cdap.tca.hi.lo.app\",\"policy-type-version\":\"1.0.0\",\"policy-id\":\"onap.vfirewall.tca\",\"policy-version\":\"1.0.0\",\"s uccess-count\":0,\"failure-count\":0,\"incomplete-count\":0}],\"undeployed-policies\":[]}"] 20200402_162308.576 DEBUG policy_listener policy_handler.pdp_api.policy_listener._on_policy_update_message: raw policy_update[0]: {"deployed-policies": [{"policy-typ e": "onap.policies.monitoring.cdap.tca.hi.lo.app", "policy-type-version": "1.0.0", "policy-id": "onap.vfirewall.tca", "policy-version": "1.0.0", "success-count": 0, "fa ilure-count": 0, "incomplete-count": 0}], "undeployed-policies": []} 20200402_162308.577 INFO policy_listener policy_handler.pdp_api.policy_listener._on_policy_update_message: policy_update[0]: {"deployed-policies": [{"metadata": {"p olicy-id": "onap.vfirewall.tca", "policy-version": "1.0.0"}}], "undeployed-policies": []} 20200402_162308.577 INFO policy_listener policy_handler.pdp_api.policy_updates.push_policy_updates: pending(4b1b7dda-2329-40e6-abc0-acbd24e24f89) for policy-update notification - updated[1], removed[0] policies_updated {"onap.vfirewall.tca": {"policy_id": "onap.vfirewall.tca", "policy_body": {"metadata": {"policy-id": "onap.vfirew all.tca", "policy-version": "1.0.0"}, "policyName": "onap.vfirewall.tca.1-0-0.xml", "policyVersion": "1.0.0"}}} policies_removed {} 20200402_162308.577 INFO policy_updater policy_handler.policy_updater._on_policy_update: request_id: 4b1b7dda-2329-40e6-abc0-acbd24e24f89 policies_updated: {"onap.v firewall.tca": {"policy_id": "onap.vfirewall.tca", "policy_body": {"metadata": {"policy-id": "onap.vfirewall.tca", "policy-version": "1.0.0"}, "policyName": "onap.vfire wall.tca.1-0-0.xml", "policyVersion": "1.0.0"}}} policies_removed: {} 20200402_162308.578 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: get from dmaap_mr at https://message-router:3905/events/POLICY-NOTIFICA TION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2", "X-ECOM P-RequestID": "239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60) 20200402_162308.578 INFO policy_updater policy_handler.deploy_handler.get_deployed_policies: get from deployment_handler at https://deployment-handler:8443/policy h eaders={"X-ONAP-RequestID": "4b1b7dda-2329-40e6-abc0-acbd24e24f89", "X-ECOMP-RequestID": "4b1b7dda-2329-40e6-abc0-acbd24e24f89"}, params={"cfy_tenant_name": "default_te nant"}, timeout_in_secs=60, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) 20200402_162308.609 DEBUG policy_updater urllib3.connectionpool._get_conn: Resetting dropped connection: deployment-handler 20200402_162308.678 DEBUG policy_updater urllib3.connectionpool._make_request: https://deployment-handler:8443 "GET /policy?cfy_tenant_name=default_tenant HTTP/1.1" 200 424 20200402_162308.679 INFO policy_updater policy_handler.deploy_handler.get_deployed_policies: response 200 from get from deployment_handler at https://deployment-han dler:8443/policy: text={"requestID":"4b1b7dda-2329-40e6-abc0-acbd24e24f89","started":"2020-04-02T16:23:08.612Z","server_instance_uuid":"0e413880-9c6a-4569-86e7-4a5bf1f3 a9d4","policies":{"onap.vfirewall.tca":{"policy_id":"onap.vfirewall.tca","policy_versions":{"1.0.0":true},"pending_update":false}},"policy_filters":{},"ended":"2020-04- 02T16:23:08.675Z","status":200,"message":"got all node_instances 13/13 deployed policies[1] policy_filters[0]"} headers={"X-ONAP-RequestID": "4b1b7dda-2329-40e6-abc0-ac bd24e24f89", "X-ECOMP-RequestID": "4b1b7dda-2329-40e6-abc0-acbd24e24f89"}, params={"cfy_tenant_name": "default_tenant"}, timeout_in_secs=60, custom_kwargs({"verify": "/ opt/app/policy_handler/etc/tls/certs/cacert.pem"}) 20200402_162308.679 INFO policy_updater policy_handler.policy_updater._on_policy_update: - not sending empty policy-updates to deployment-handler 20200402_162308.680 INFO policy_updater policy_handler.policy_updater._on_policy_update: request_id: 4b1b7dda-2329-40e6-abc0-acbd24e24f89 policies_updated: {"onap.v firewall.tca": {"policy_id": "onap.vfirewall.tca", "policy_body": {"metadata": {"policy-id": "onap.vfirewall.tca", "policy-version": "1.0.0"}, "policyName": "onap.vfire wall.tca.1-0-0.xml", "policyVersion": "1.0.0"}}} policies_removed: {} - not sending empty policy-updates to deployment-handler 20200402_162308.680 INFO policy_updater policy_handler.policy_updater.run: waiting for policy-updates... 20200402_162310.124 DEBUG policy_listener urllib3.connectionpool._make_request: https://message-router:3905 "GET /events/POLICY-NOTIFICATION/policy-handler/ph1?timeo ut=15000 HTTP/1.1" 200 285 20200402_162310.125 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: response 200 from get from dmaap_mr at https://message-router:3905/even ts/POLICY-NOTIFICATION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "239e3db2-5c3b-4a9e-b3a0-4a04 25aa8ed2", "X-ECOMP-RequestID": "239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(6 0): text=["{\"deployed-policies\":[],\"undeployed-policies\":[{\"policy-type\":\"onap.policies.monitoring.cdap.tca.hi.lo.app\",\"policy-type-version\":\"1.0.0\",\"polic y-id\":\"onap.vfirewall.tca\",\"policy-version\":\"1.0.0\",\"success-count\":1,\"failure-count\":0,\"incomplete-count\":0}]}"] headers={"Date": "Thu, 02 Apr 2020 16:23: 08 GMT", "Cache-Control": "no-store, no-cache, must-revalidate", "Pragma": "no-cache", "Expires": "0", "Content-Type": "application/json", "Accept": "*/*", "Accept-Enco ding": "gzip, deflate", "breadcrumbId": "ID-dev-message-router-0-message-router-onap-svc-cluster-local-1585682549494-0-792325", "timeout": "15000", "User-Agent": "pytho n-requests/2.23.0", "X-CSI-Internal-WriteableRequest": "true", "X-ECOMP-RequestID": "239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2", "X-ONAP-RequestID": "239e3db2-5c3b-4a9e-b3a0 -4a0425aa8ed2", "Content-Length": "285", "Server": "Jetty(9.4.z-SNAPSHOT)"} 20200402_162310.127 INFO policy_listener policy_handler.pdp_api.policy_listener._on_policy_update_message: Received notification message: ["{\"deployed-policies\":[ ],\"undeployed-policies\":[{\"policy-type\":\"onap.policies.monitoring.cdap.tca.hi.lo.app\",\"policy-type-version\":\"1.0.0\",\"policy-id\":\"onap.vfirewall.tca\",\"pol icy-version\":\"1.0.0\",\"success-count\":1,\"failure-count\":0,\"incomplete-count\":0}]}"] 20200402_162310.127 DEBUG policy_listener policy_handler.pdp_api.policy_listener._on_policy_update_message: raw policy_update[0]: {"deployed-policies": [], "undeploy ed-policies": [{"policy-type": "onap.policies.monitoring.cdap.tca.hi.lo.app", "policy-type-version": "1.0.0", "policy-id": "onap.vfirewall.tca", "policy-version": "1.0. 0", "success-count": 1, "failure-count": 0, "incomplete-count": 0}]} 20200402_162310.127 INFO policy_listener policy_handler.pdp_api.policy_listener._on_policy_update_message: policy_update[0]: {"deployed-policies": [], "undeployed-p olicies": [{"metadata": {"policy-id": "onap.vfirewall.tca", "policy-version": "1.0.0"}}]} 20200402_162310.128 INFO policy_listener policy_handler.pdp_api.policy_updates.push_policy_updates: pending(239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2) for policy-update notification - updated[0], removed[1] policies_updated {} policies_removed {"onap.vfirewall.tca": {"policy_id": "onap.vfirewall.tca", "policy_body": {"metadata": {"poli cy-id": "onap.vfirewall.tca", "policy-version": "1.0.0"}, "policyName": "onap.vfirewall.tca.1-0-0.xml", "policyVersion": "1.0.0"}, "policy_names": {"onap.vfirewall.tca. 1-0-0.xml": true}}} 20200402_162310.129 INFO policy_updater policy_handler.policy_updater._on_policy_update: request_id: 239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2 policies_updated: {} polic ies_removed: {"onap.vfirewall.tca": {"policy_id": "onap.vfirewall.tca", "policy_body": {"metadata": {"policy-id": "onap.vfirewall.tca", "policy-version": "1.0.0"}, "pol icyName": "onap.vfirewall.tca.1-0-0.xml", "policyVersion": "1.0.0"}, "policy_names": {"onap.vfirewall.tca.1-0-0.xml": true}}} 20200402_162310.130 INFO policy_updater policy_handler.deploy_handler.get_deployed_policies: get from deployment_handler at https://deployment-handler:8443/policy h eaders={"X-ONAP-RequestID": "239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2", "X-ECOMP-RequestID": "239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2"}, params={"cfy_tenant_name": "default_te nant"}, timeout_in_secs=60, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) 20200402_162310.130 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: get from dmaap_mr at https://message-router:3905/events/POLICY-NOTIFICA TION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "21dd1ae3-a8b5-40a6-9568-65fd350bd11c", "X-ECOM P-RequestID": "21dd1ae3-a8b5-40a6-9568-65fd350bd11c"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60) 20200402_162310.235 DEBUG policy_updater urllib3.connectionpool._make_request: https://deployment-handler:8443 "GET /policy?cfy_tenant_name=default_tenant HTTP/1.1" 200 424 20200402_162310.237 INFO policy_updater policy_handler.deploy_handler.get_deployed_policies: response 200 from get from deployment_handler at https://deployment-han dler:8443/policy: text={"requestID":"239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2","started":"2020-04-02T16:23:10.169Z","server_instance_uuid":"0e413880-9c6a-4569-86e7-4a5bf1f3 a9d4","policies":{"onap.vfirewall.tca":{"policy_id":"onap.vfirewall.tca","policy_versions":{"1.0.0":true},"pending_update":false}},"policy_filters":{},"ended":"2020-04- 02T16:23:10.231Z","status":200,"message":"got all node_instances 13/13 deployed policies[1] policy_filters[0]"} headers={"X-ONAP-RequestID": "239e3db2-5c3b-4a9e-b3a0-4a 0425aa8ed2", "X-ECOMP-RequestID": "239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2"}, params={"cfy_tenant_name": "default_tenant"}, timeout_in_secs=60, custom_kwargs({"verify": "/ opt/app/policy_handler/etc/tls/certs/cacert.pem"}) 20200402_162310.237 DEBUG policy_updater policy_handler.pdp_api.policy_rest._get_latest_updated_policies: policies_updated[0]: [] policies_removed[1]: [["onap.vfirew all.tca", {"onap.vfirewall.tca.1-0-0.xml": true}]] 20200402_162310.238 DEBUG policy_updater policy_handler.pdp_api.policy_rest._get_latest_updated_policies: apns_length(1) policies_to_find {"onap.vfirewall.tca": {"po licy_id": "onap.vfirewall.tca", "ignore_policy_names": {"onap.vfirewall.tca.1-0-0.xml": true}}} 20200402_162310.238 DEBUG policy_updater policy_handler.pdp_api.policy_rest._get_latest_policy: try(1) retry_get_config(True): policy_id(onap.vfirewall.tca), expecte d_versions(null) ignore_policy_names({"onap.vfirewall.tca.1-0-0.xml": true}) 20200402_162310.238 INFO policy_updater policy_handler.pdp_api.policy_rest._pdp_get_decision: post to policy_engine at https://policy-xacml-pdp:6969/policy/pdpx/v1/ decision msg={"ONAPName": "DCAE", "ONAPComponent": "policy_handler", "ONAPInstance": "eab5e379-5289-4dd6-8e62-344e4c399761", "action": "configure", "resource": {"policy -id": ["onap.vfirewall.tca"]}} headers={"Accept": "application/json", "Content-Type": "application/json", "Authorization": "***(82f7a0779dcb9ea261b3e4a5fc60ad6935abe018 40c739f05ef0ba4dfedc88dc)***", "Environment": "TEST", "X-ONAP-RequestID": "239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2", "X-ECOMP-RequestID": "239e3db2-5c3b-4a9e-b3a0-4a0425aa 8ed2"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60) 20200402_162310.264 DEBUG policy_updater urllib3.connectionpool._get_conn: Resetting dropped connection: policy-xacml-pdp 20200402_162310.289 DEBUG policy_updater urllib3.connectionpool._make_request: https://policy-xacml-pdp:6969 "POST /policy/pdpx/v1/decision HTTP/1.1" 200 32 20200402_162310.290 INFO policy_updater policy_handler.pdp_api.policy_rest._pdp_get_decision: response 200 from post to policy_engine at https://policy-xacml-pdp:69 69/policy/pdpx/v1/decision msg={"ONAPName": "DCAE", "ONAPComponent": "policy_handler", "ONAPInstance": "eab5e379-5289-4dd6-8e62-344e4c399761", "action": "configure", "r esource": {"policy-id": ["onap.vfirewall.tca"]}} headers={"Accept": "application/json", "Content-Type": "application/json", "Authorization": "***(82f7a0779dcb9ea261b3e4 a5fc60ad6935abe01840c739f05ef0ba4dfedc88dc)***", "Environment": "TEST", "X-ONAP-RequestID": "239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2", "X-ECOMP-RequestID": "239e3db2-5c3b- 4a9e-b3a0-4a0425aa8ed2"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60): text={"status":"error","policies":{}} heade rs={"User-Agent": "python-requests/2.23.0", "Accept-Encoding": "gzip, deflate", "Accept": "application/json", "Connection": "keep-alive", "Content-Type": "application/j son", "Authorization": "***(82f7a0779dcb9ea261b3e4a5fc60ad6935abe01840c739f05ef0ba4dfedc88dc)***", "Environment": "TEST", "X-ONAP-RequestID": "239e3db2-5c3b-4a9e-b3a0-4 a0425aa8ed2", "X-ECOMP-RequestID": "239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2", "Content-Length": "185"} 20200402_162310.291 DEBUG policy_updater policy_handler.pdp_api.policy_rest._get_latest_updated_policies: result(1) updated_policies {}, removed_policies {"onap.vfir ewall.tca": true}, errored_policies {} 20200402_162310.291 INFO policy_updater policy_handler.deploy_handler._policy_update: put to deployment_handler at https://deployment-handler:8443/policy msg={"catc h_up": false, "latest_policies": {}, "removed_policies": {"onap.vfirewall.tca": true}, "policy_filter_matches": {}} headers={"X-ONAP-RequestID": "239e3db2-5c3b-4a9e-b3a 0-4a0425aa8ed2", "X-ECOMP-RequestID": "239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2"}, params={"cfy_tenant_name": "default_tenant"}, timeout_in_secs=60, custom_kwargs({"verify" : "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) 20200402_162310.306 DEBUG policy_updater urllib3.connectionpool._make_request: https://deployment-handler:8443 "PUT /policy?cfy_tenant_name=default_tenant HTTP/1.1" 200 151 20200402_162310.307 INFO policy_updater policy_handler.deploy_handler._policy_update: response 200 from put to deployment_handler at https://deployment-handler:8443 /policy: text={"requestID":"239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2","started":"2020-04-02T16:23:10.303Z","server_instance_uuid":"0e413880-9c6a-4569-86e7-4a5bf1f3a9d4"} ms g={"catch_up": false, "latest_policies": {}, "removed_policies": {"onap.vfirewall.tca": true}, "policy_filter_matches": {}} headers={"X-ONAP-RequestID": "239e3db2-5c3b- 4a9e-b3a0-4a0425aa8ed2", "X-ECOMP-RequestID": "239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2"}, params={"cfy_tenant_name": "default_tenant"}, timeout_in_secs=60, custom_kwargs({ "verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) 20200402_162310.308 INFO policy_updater policy_handler.policy_updater._on_policy_update: request_id[239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2]: {"catch_up": false, "late st_policies": {}, "removed_policies": {"onap.vfirewall.tca": true}, "policy_filter_matches": {}} - sent to deployment-handler policies-updated[0], removed[1], policy_fi lter_matches[0] 20200402_162310.308 INFO policy_updater policy_handler.policy_updater.run: waiting for policy-updates... 20200402_162325.103 DEBUG policy_listener urllib3.connectionpool._make_request: https://message-router:3905 "GET /events/POLICY-NOTIFICATION/policy-handler/ph1?timeo ut=15000 HTTP/1.1" 200 2 20200402_162325.104 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: response 200 from get from dmaap_mr at https://message-router:3905/even ts/POLICY-NOTIFICATION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "21dd1ae3-a8b5-40a6-9568-65fd 350bd11c", "X-ECOMP-RequestID": "21dd1ae3-a8b5-40a6-9568-65fd350bd11c"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(6 0): text=[] headers={"Date": "Thu, 02 Apr 2020 16:23:10 GMT", "Cache-Control": "no-store, no-cache, must-revalidate", "Pragma": "no-cache", "Expires": "0", "Content-Typ e": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "breadcrumbId": "ID-dev-message-router-0-message-router-onap-svc-cluster-local-158568254949 4-0-792352", "timeout": "15000", "User-Agent": "python-requests/2.23.0", "X-CSI-Internal-WriteableRequest": "true", "X-ECOMP-RequestID": "21dd1ae3-a8b5-40a6-9568-65fd35 0bd11c", "X-ONAP-RequestID": "21dd1ae3-a8b5-40a6-9568-65fd350bd11c", "Content-Length": "2", "Server": "Jetty(9.4.z-SNAPSHOT)"} 20200402_162325.105 INFO policy_listener policy_handler.pdp_api.policy_listener.run: no policy-updates: [] 20200402_162325.107 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: get from dmaap_mr at https://message-router:3905/events/POLICY-NOTIFICA TION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "6f03d0c1-0ebe-4140-85df-3fe94a420c61", "X-ECOM P-RequestID": "6f03d0c1-0ebe-4140-85df-3fe94a420c61"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60) 20200402_162340.051 DEBUG policy_listener urllib3.connectionpool._make_request: https://message-router:3905 "GET /events/POLICY-NOTIFICATION/policy-handler/ph1?timeo ut=15000 HTTP/1.1" 200 2 20200402_162340.051 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: response 200 from get from dmaap_mr at https://message-router:3905/even ts/POLICY-NOTIFICATION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "6f03d0c1-0ebe-4140-85df-3fe9 4a420c61", "X-ECOMP-RequestID": "6f03d0c1-0ebe-4140-85df-3fe94a420c61"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(6 0): text=[] headers={"Date": "Thu, 02 Apr 2020 16:23:25 GMT", "Cache-Control": "no-store, no-cache, must-revalidate", "Pragma": "no-cache", "Expires": "0", "Content-Typ e": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "breadcrumbId": "ID-dev-message-router-0-message-router-onap-svc-cluster-local-158568254949 4-0-792433", "timeout": "15000", "User-Agent": "python-requests/2.23.0", "X-CSI-Internal-WriteableRequest": "true", "X-ECOMP-RequestID": "6f03d0c1-0ebe-4140-85df-3fe94a 420c61", "X-ONAP-RequestID": "6f03d0c1-0ebe-4140-85df-3fe94a420c61", "Content-Length": "2", "Server": "Jetty(9.4.z-SNAPSHOT)"} 20200402_162340.052 INFO policy_listener policy_handler.pdp_api.policy_listener.run: no policy-updates: [] 20200402_162340.053 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: get from dmaap_mr at https://message-router:3905/events/POLICY-NOTIFICA TION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "06ea7855-c9af-4243-ab83-b6a72ce0de70", "X-ECOM P-RequestID": "06ea7855-c9af-4243-ab83-b6a72ce0de70"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60) 20200402_162354.999 DEBUG policy_listener urllib3.connectionpool._make_request: https://message-router:3905 "GET /events/POLICY-NOTIFICATION/policy-handler/ph1?timeo ut=15000 HTTP/1.1" 200 2 20200402_162355.000 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: response 200 from get from dmaap_mr at https://message-router:3905/even ts/POLICY-NOTIFICATION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "06ea7855-c9af-4243-ab83-b6a7 2ce0de70", "X-ECOMP-RequestID": "06ea7855-c9af-4243-ab83-b6a72ce0de70"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(6 0): text=[] headers={"Date": "Thu, 02 Apr 2020 16:23:40 GMT", "Cache-Control": "no-store, no-cache, must-revalidate", "Pragma": "no-cache", "Expires": "0", "Content-Typ e": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "breadcrumbId": "ID-dev-message-router-0-message-router-onap-svc-cluster-local-158568254949 4-0-792517", "timeout": "15000", "User-Agent": "python-requests/2.23.0", "X-CSI-Internal-WriteableRequest": "true", "X-ECOMP-RequestID": "06ea7855-c9af-4243-ab83-b6a72c e0de70", "X-ONAP-RequestID": "06ea7855-c9af-4243-ab83-b6a72ce0de70", "Content-Length": "2", "Server": "Jetty(9.4.z-SNAPSHOT)"} 20200402_162355.001 INFO policy_listener policy_handler.pdp_api.policy_listener.run: no policy-updates: [] 20200402_162355.003 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: get from dmaap_mr at https://message-router:3905/events/POLICY-NOTIFICA TION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "73d6330d-78a9-4d01-b4db-5f0edcdc0591", "X-ECOM P-RequestID": "73d6330d-78a9-4d01-b4db-5f0edcdc0591"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60) 20200402_162409.953 DEBUG policy_listener urllib3.connectionpool._make_request: https://message-router:3905 "GET /events/POLICY-NOTIFICATION/policy-handler/ph1?timeo ut=15000 HTTP/1.1" 200 2 20200402_162409.954 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: response 200 from get from dmaap_mr at https://message-router:3905/even ts/POLICY-NOTIFICATION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "73d6330d-78a9-4d01-b4db-5f0e dcdc0591", "X-ECOMP-RequestID": "73d6330d-78a9-4d01-b4db-5f0edcdc0591"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(6 0): text=[] headers={"Date": "Thu, 02 Apr 2020 16:23:55 GMT", "Cache-Control": "no-store, no-cache, must-revalidate", "Pragma": "no-cache", "Expires": "0", "Content-Typ e": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "breadcrumbId": "ID-dev-message-router-0-message-router-onap-svc-cluster-local-158568254949 4-0-792601", "timeout": "15000", "User-Agent": "python-requests/2.23.0", "X-CSI-Internal-WriteableRequest": "true", "X-ECOMP-RequestID": "73d6330d-78a9-4d01-b4db-5f0edc dc0591", "X-ONAP-RequestID": "73d6330d-78a9-4d01-b4db-5f0edcdc0591", "Content-Length": "2", "Server": "Jetty(9.4.z-SNAPSHOT)"} 20200402_162409.955 INFO policy_listener policy_handler.pdp_api.policy_listener.run: no policy-updates: [] 20200402_162409.956 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: get from dmaap_mr at https://message-router:3905/events/POLICY-NOTIFICA TION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "a388e7cf-8527-4665-80f6-e5ce9f998e83", "X-ECOM P-RequestID": "a388e7cf-8527-4665-80f6-e5ce9f998e83"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60) 20200402_162424.905 DEBUG policy_listener urllib3.connectionpool._make_request: https://message-router:3905 "GET /events/POLICY-NOTIFICATION/policy-handler/ph1?timeo ut=15000 HTTP/1.1" 200 2 20200402_162424.905 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: response 200 from get from dmaap_mr at https://message-router:3905/even ts/POLICY-NOTIFICATION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "a388e7cf-8527-4665-80f6-e5ce 9f998e83", "X-ECOMP-RequestID": "a388e7cf-8527-4665-80f6-e5ce9f998e83"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(6 0): text=[] headers={"Date": "Thu, 02 Apr 2020 16:24:09 GMT", "Cache-Control": "no-store, no-cache, must-revalidate", "Pragma": "no-cache", "Expires": "0", "Content-Typ e": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "breadcrumbId": "ID-dev-message-router-0-message-router-onap-svc-cluster-local-158568254949 4-0-792686", "timeout": "15000", "User-Agent": "python-requests/2.23.0", "X-CSI-Internal-WriteableRequest": "true", "X-ECOMP-RequestID": "a388e7cf-8527-4665-80f6-e5ce9f 998e83", "X-ONAP-RequestID": "a388e7cf-8527-4665-80f6-e5ce9f998e83", "Content-Length": "2", "Server": "Jetty(9.4.z-SNAPSHOT)"} 20200402_162424.906 INFO policy_listener policy_handler.pdp_api.policy_listener.run: no policy-updates: [] 20200402_162424.907 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: get from dmaap_mr at https://message-router:3905/events/POLICY-NOTIFICA TION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "a61fb6ff-6b14-4e5d-949a-2ab95dd9cba3", "X-ECOM P-RequestID": "a61fb6ff-6b14-4e5d-949a-2ab95dd9cba3"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60) 20200402_162439.857 DEBUG policy_listener urllib3.connectionpool._make_request: https://message-router:3905 "GET /events/POLICY-NOTIFICATION/policy-handler/ph1?timeo ut=15000 HTTP/1.1" 200 2 20200402_162439.858 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: response 200 from get from dmaap_mr at https://message-router:3905/even ts/POLICY-NOTIFICATION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "a61fb6ff-6b14-4e5d-949a-2ab9 5dd9cba3", "X-ECOMP-RequestID": "a61fb6ff-6b14-4e5d-949a-2ab95dd9cba3"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(6 0): text=[] headers={"Date": "Thu, 02 Apr 2020 16:24:24 GMT", "Cache-Control": "no-store, no-cache, must-revalidate", "Pragma": "no-cache", "Expires": "0", "Content-Typ e": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "breadcrumbId": "ID-dev-message-router-0-message-router-onap-svc-cluster-local-158568254949 4-0-792757", "timeout": "15000", "User-Agent": "python-requests/2.23.0", "X-CSI-Internal-WriteableRequest": "true", "X-ECOMP-RequestID": "a61fb6ff-6b14-4e5d-949a-2ab95d d9cba3", "X-ONAP-RequestID": "a61fb6ff-6b14-4e5d-949a-2ab95dd9cba3", "Content-Length": "2", "Server": "Jetty(9.4.z-SNAPSHOT)"} 20200402_162439.859 INFO policy_listener policy_handler.pdp_api.policy_listener.run: no policy-updates: [] 20200402_162439.860 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: get from dmaap_mr at https://message-router:3905/events/POLICY-NOTIFICA TION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "c0a5ec3e-a6f3-41b2-b83c-2dbb5421bab7", "X-ECOM P-RequestID": "c0a5ec3e-a6f3-41b2-b83c-2dbb5421bab7"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60) 20200402_162454.811 DEBUG policy_listener urllib3.connectionpool._make_request: https://message-router:3905 "GET /events/POLICY-NOTIFICATION/policy-handler/ph1?timeo ut=15000 HTTP/1.1" 200 2 20200402_162454.812 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: response 200 from get from dmaap_mr at https://message-router:3905/even ts/POLICY-NOTIFICATION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "c0a5ec3e-a6f3-41b2-b83c-2dbb 5421bab7", "X-ECOMP-RequestID": "c0a5ec3e-a6f3-41b2-b83c-2dbb5421bab7"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(6 0): text=[] headers={"Date": "Thu, 02 Apr 2020 16:24:39 GMT", "Cache-Control": "no-store, no-cache, must-revalidate", "Pragma": "no-cache", "Expires": "0", "Content-Typ e": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "breadcrumbId": "ID-dev-message-router-0-message-router-onap-svc-cluster-local-158568254949 4-0-792849", "timeout": "15000", "User-Agent": "python-requests/2.23.0", "X-CSI-Internal-WriteableRequest": "true", "X-ECOMP-RequestID": "c0a5ec3e-a6f3-41b2-b83c-2dbb54 21bab7", "X-ONAP-RequestID": "c0a5ec3e-a6f3-41b2-b83c-2dbb5421bab7", "Content-Length": "2", "Server": "Jetty(9.4.z-SNAPSHOT)"} 20200402_162454.813 INFO policy_listener policy_handler.pdp_api.policy_listener.run: no policy-updates: [] 20200402_162454.814 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: get from dmaap_mr at https://message-router:3905/events/POLICY-NOTIFICA TION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "a2697e30-52ea-4947-950c-46e05855a351", "X-ECOM P-RequestID": "a2697e30-52ea-4947-950c-46e05855a351"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60) 20200402_162509.763 DEBUG policy_listener urllib3.connectionpool._make_request: https://message-router:3905 "GET /events/POLICY-NOTIFICATION/policy-handler/ph1?timeo ut=15000 HTTP/1.1" 200 2 20200402_162509.764 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: response 200 from get from dmaap_mr at https://message-router:3905/even ts/POLICY-NOTIFICATION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "a2697e30-52ea-4947-950c-46e0 5855a351", "X-ECOMP-RequestID": "a2697e30-52ea-4947-950c-46e05855a351"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(6 0): text=[] headers={"Date": "Thu, 02 Apr 2020 16:24:54 GMT", "Cache-Control": "no-store, no-cache, must-revalidate", "Pragma": "no-cache", "Expires": "0", "Content-Typ e": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "breadcrumbId": "ID-dev-message-router-0-message-router-onap-svc-cluster-local-158568254949 4-0-792930", "timeout": "15000", "User-Agent": "python-requests/2.23.0", "X-CSI-Internal-WriteableRequest": "true", "X-ECOMP-RequestID": "a2697e30-52ea-4947-950c-46e058 55a351", "X-ONAP-RequestID": "a2697e30-52ea-4947-950c-46e05855a351", "Content-Length": "2", "Server": "Jetty(9.4.z-SNAPSHOT)"} 20200402_162509.765 INFO policy_listener policy_handler.pdp_api.policy_listener.run: no policy-updates: [] 20200402_162509.766 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: get from dmaap_mr at https://message-router:3905/events/POLICY-NOTIFICA TION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "44ff2f5b-6857-4638-a6f0-cc414189bad1", "X-ECOM P-RequestID": "44ff2f5b-6857-4638-a6f0-cc414189bad1"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60) 20200402_162524.706 DEBUG policy_listener urllib3.connectionpool._make_request: https://message-router:3905 "GET /events/POLICY-NOTIFICATION/policy-handler/ph1?timeo ut=15000 HTTP/1.1" 200 2 20200402_162524.707 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: response 200 from get from dmaap_mr at https://message-router:3905/even ts/POLICY-NOTIFICATION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "44ff2f5b-6857-4638-a6f0-cc41 4189bad1", "X-ECOMP-RequestID": "44ff2f5b-6857-4638-a6f0-cc414189bad1"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(6 0): text=[] headers={"Date": "Thu, 02 Apr 2020 16:25:09 GMT", "Cache-Control": "no-store, no-cache, must-revalidate", "Pragma": "no-cache", "Expires": "0", "Content-Typ e": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "breadcrumbId": "ID-dev-message-router-0-message-router-onap-svc-cluster-local-158568254949 4-0-793021", "timeout": "15000", "User-Agent": "python-requests/2.23.0", "X-CSI-Internal-WriteableRequest": "true", "X-ECOMP-RequestID": "44ff2f5b-6857-4638-a6f0-cc4141 89bad1", "X-ONAP-RequestID": "44ff2f5b-6857-4638-a6f0-cc414189bad1", "Content-Length": "2", "Server": "Jetty(9.4.z-SNAPSHOT)"} 20200402_162524.709 INFO policy_listener policy_handler.pdp_api.policy_listener.run: no policy-updates: [] 20200402_162524.711 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: get from dmaap_mr at https://message-router:3905/events/POLICY-NOTIFICA TION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "b8bc509d-7d81-49ce-89df-f0fc001e92d4", "X-ECOM P-RequestID": "b8bc509d-7d81-49ce-89df-f0fc001e92d4"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60) 20200402_162539.671 DEBUG policy_listener urllib3.connectionpool._make_request: https://message-router:3905 "GET /events/POLICY-NOTIFICATION/policy-handler/ph1?timeo ut=15000 HTTP/1.1" 200 2 20200402_162539.672 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: response 200 from get from dmaap_mr at https://message-router:3905/even ts/POLICY-NOTIFICATION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "b8bc509d-7d81-49ce-89df-f0fc 001e92d4", "X-ECOMP-RequestID": "b8bc509d-7d81-49ce-89df-f0fc001e92d4"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(6 0): text=[] headers={"Date": "Thu, 02 Apr 2020 16:25:24 GMT", "Cache-Control": "no-store, no-cache, must-revalidate", "Pragma": "no-cache", "Expires": "0", "Content-Typ e": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "breadcrumbId": "ID-dev-message-router-0-message-router-onap-svc-cluster-local-158568254949 4-0-793098", "timeout": "15000", "User-Agent": "python-requests/2.23.0", "X-CSI-Internal-WriteableRequest": "true", "X-ECOMP-RequestID": "b8bc509d-7d81-49ce-89df-f0fc00 1e92d4", "X-ONAP-RequestID": "b8bc509d-7d81-49ce-89df-f0fc001e92d4", "Content-Length": "2", "Server": "Jetty(9.4.z-SNAPSHOT)"} 20200402_162539.672 INFO policy_listener policy_handler.pdp_api.policy_listener.run: no policy-updates: [] 20200402_162539.673 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: get from dmaap_mr at https://message-router:3905/events/POLICY-NOTIFICA TION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "62fb58a4-d0de-4af3-8ecb-e47805ba1e32", "X-ECOM P-RequestID": "62fb58a4-d0de-4af3-8ecb-e47805ba1e32"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60) 20200402_162554.619 DEBUG policy_listener urllib3.connectionpool._make_request: https://message-router:3905 "GET /events/POLICY-NOTIFICATION/policy-handler/ph1?timeo ut=15000 HTTP/1.1" 200 2 20200402_162554.621 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: response 200 from get from dmaap_mr at https://message-router:3905/even ts/POLICY-NOTIFICATION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "62fb58a4-d0de-4af3-8ecb-e478 05ba1e32", "X-ECOMP-RequestID": "62fb58a4-d0de-4af3-8ecb-e47805ba1e32"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(6 0): text=[] headers={"Date": "Thu, 02 Apr 2020 16:25:39 GMT", "Cache-Control": "no-store, no-cache, must-revalidate", "Pragma": "no-cache", "Expires": "0", "Content-Typ e": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "breadcrumbId": "ID-dev-message-router-0-message-router-onap-svc-cluster-local-158568254949 4-0-793186", "timeout": "15000", "User-Agent": "python-requests/2.23.0", "X-CSI-Internal-WriteableRequest": "true", "X-ECOMP-RequestID": "62fb58a4-d0de-4af3-8ecb-e47805 ba1e32", "X-ONAP-RequestID": "62fb58a4-d0de-4af3-8ecb-e47805ba1e32", "Content-Length": "2", "Server": "Jetty(9.4.z-SNAPSHOT)"} 20200402_162554.621 INFO policy_listener policy_handler.pdp_api.policy_listener.run: no policy-updates: [] 20200402_162554.623 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: get from dmaap_mr at https://message-router:3905/events/POLICY-NOTIFICA TION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "2bf5bba2-1073-4cba-bb64-7414caa2fe9f", "X-ECOM P-RequestID": "2bf5bba2-1073-4cba-bb64-7414caa2fe9f"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60) 20200402_162609.559 DEBUG policy_listener urllib3.connectionpool._make_request: https://message-router:3905 "GET /events/POLICY-NOTIFICATION/policy-handler/ph1?timeo ut=15000 HTTP/1.1" 200 2 20200402_162609.560 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: response 200 from get from dmaap_mr at https://message-router:3905/even ts/POLICY-NOTIFICATION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "2bf5bba2-1073-4cba-bb64-7414 caa2fe9f", "X-ECOMP-RequestID": "2bf5bba2-1073-4cba-bb64-7414caa2fe9f"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(6 0): text=[] headers={"Date": "Thu, 02 Apr 2020 16:25:54 GMT", "Cache-Control": "no-store, no-cache, must-revalidate", "Pragma": "no-cache", "Expires": "0", "Content-Typ e": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "breadcrumbId": "ID-dev-message-router-0-message-router-onap-svc-cluster-local-158568254949 4-0-793266", "timeout": "15000", "User-Agent": "python-requests/2.23.0", "X-CSI-Internal-WriteableRequest": "true", "X-ECOMP-RequestID": "2bf5bba2-1073-4cba-bb64-7414ca a2fe9f", "X-ONAP-RequestID": "2bf5bba2-1073-4cba-bb64-7414caa2fe9f", "Content-Length": "2", "Server": "Jetty(9.4.z-SNAPSHOT)"} 20200402_162609.561 INFO policy_listener policy_handler.pdp_api.policy_listener.run: no policy-updates: [] 20200402_162609.562 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: get from dmaap_mr at https://message-router:3905/events/POLICY-NOTIFICA TION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd", "X-ECOM P-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60) 20200402_162621.342 DEBUG policy_listener urllib3.connectionpool._make_request: https://message-router:3905 "GET /events/POLICY-NOTIFICATION/policy-handler/ph1?timeo ut=15000 HTTP/1.1" 200 285 20200402_162621.343 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: response 200 from get from dmaap_mr at https://message-router:3905/even ts/POLICY-NOTIFICATION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bc b0f115cd", "X-ECOMP-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(6 0): text=["{\"deployed-policies\":[{\"policy-type\":\"onap.policies.monitoring.cdap.tca.hi.lo.app\",\"policy-type-version\":\"1.0.0\",\"policy-id\":\"onap.vfirewall.tca \",\"policy-version\":\"2.0.0\",\"success-count\":1,\"failure-count\":0,\"incomplete-count\":0}],\"undeployed-policies\":[]}"] headers={"Date": "Thu, 02 Apr 2020 16:26: 09 GMT", "Cache-Control": "no-store, no-cache, must-revalidate", "Pragma": "no-cache", "Expires": "0", "Content-Type": "application/json", "Accept": "*/*", "Accept-Enco ding": "gzip, deflate", "breadcrumbId": "ID-dev-message-router-0-message-router-onap-svc-cluster-local-1585682549494-0-793352", "timeout": "15000", "User-Agent": "pytho n-requests/2.23.0", "X-CSI-Internal-WriteableRequest": "true", "X-ECOMP-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd", "X-ONAP-RequestID": "33c5df8a-f9a6-4cee-9bfe -a8bcb0f115cd", "Content-Length": "285", "Server": "Jetty(9.4.z-SNAPSHOT)"} 20200402_162621.344 INFO policy_listener policy_handler.pdp_api.policy_listener._on_policy_update_message: Received notification message: ["{\"deployed-policies\":[ {\"policy-type\":\"onap.policies.monitoring.cdap.tca.hi.lo.app\",\"policy-type-version\":\"1.0.0\",\"policy-id\":\"onap.vfirewall.tca\",\"policy-version\":\"2.0.0\",\"s uccess-count\":1,\"failure-count\":0,\"incomplete-count\":0}],\"undeployed-policies\":[]}"] 20200402_162621.344 DEBUG policy_listener policy_handler.pdp_api.policy_listener._on_policy_update_message: raw policy_update[0]: {"deployed-policies": [{"policy-typ e": "onap.policies.monitoring.cdap.tca.hi.lo.app", "policy-type-version": "1.0.0", "policy-id": "onap.vfirewall.tca", "policy-version": "2.0.0", "success-count": 1, "fa ilure-count": 0, "incomplete-count": 0}], "undeployed-policies": []} 20200402_162621.345 INFO policy_listener policy_handler.pdp_api.policy_listener._on_policy_update_message: policy_update[0]: {"deployed-policies": [{"metadata": {"p olicy-id": "onap.vfirewall.tca", "policy-version": "2.0.0"}}], "undeployed-policies": []} 20200402_162621.345 INFO policy_listener policy_handler.pdp_api.policy_updates.push_policy_updates: pending(33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd) for policy-update notification - updated[1], removed[0] policies_updated {"onap.vfirewall.tca": {"policy_id": "onap.vfirewall.tca", "policy_body": {"metadata": {"policy-id": "onap.vfirew all.tca", "policy-version": "2.0.0"}, "policyName": "onap.vfirewall.tca.2-0-0.xml", "policyVersion": "2.0.0"}}} policies_removed {} 20200402_162621.345 INFO policy_updater policy_handler.policy_updater._on_policy_update: request_id: 33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd policies_updated: {"onap.v firewall.tca": {"policy_id": "onap.vfirewall.tca", "policy_body": {"metadata": {"policy-id": "onap.vfirewall.tca", "policy-version": "2.0.0"}, "policyName": "onap.vfire wall.tca.2-0-0.xml", "policyVersion": "2.0.0"}}} policies_removed: {} 20200402_162621.346 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: get from dmaap_mr at https://message-router:3905/events/POLICY-NOTIFICA TION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "2f9d05ea-6174-4f57-b0db-5dd06be926b0", "X-ECOM P-RequestID": "2f9d05ea-6174-4f57-b0db-5dd06be926b0"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60) 20200402_162621.346 INFO policy_updater policy_handler.deploy_handler.get_deployed_policies: get from deployment_handler at https://deployment-handler:8443/policy h eaders={"X-ONAP-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd", "X-ECOMP-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd"}, params={"cfy_tenant_name": "default_te nant"}, timeout_in_secs=60, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) 20200402_162621.373 DEBUG policy_updater urllib3.connectionpool._get_conn: Resetting dropped connection: deployment-handler 20200402_162621.444 DEBUG policy_updater urllib3.connectionpool._make_request: https://deployment-handler:8443 "GET /policy?cfy_tenant_name=default_tenant HTTP/1.1" 200 412 20200402_162621.445 INFO policy_updater policy_handler.deploy_handler.get_deployed_policies: response 200 from get from deployment_handler at https://deployment-han dler:8443/policy: text={"requestID":"33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd","started":"2020-04-02T16:26:21.376Z","server_instance_uuid":"0e413880-9c6a-4569-86e7-4a5bf1f3 a9d4","policies":{"onap.vfirewall.tca":{"policy_id":"onap.vfirewall.tca","policy_versions":{},"pending_update":false}},"policy_filters":{},"ended":"2020-04-02T16:26:21. 441Z","status":200,"message":"got all node_instances 13/13 deployed policies[1] policy_filters[0]"} headers={"X-ONAP-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd", "X-ECOMP-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd"}, params={"cfy_tenant_name": "default_tenant"}, timeout_in_secs=60, custom_kwargs({"verify": "/opt/app/poli cy_handler/etc/tls/certs/cacert.pem"}) 20200402_162621.446 DEBUG policy_updater policy_handler.pdp_api.policy_rest._get_latest_updated_policies: policies_updated[1]: [["onap.vfirewall.tca", "2.0.0"]] poli cies_removed[0]: [] 20200402_162621.446 DEBUG policy_updater policy_handler.pdp_api.policy_rest._get_latest_updated_policies: apns_length(1) policies_to_find {"onap.vfirewall.tca": {"po licy_id": "onap.vfirewall.tca", "expected_versions": {"2.0.0": true}, "ignore_policy_names": {}}} 20200402_162621.446 DEBUG policy_updater policy_handler.pdp_api.policy_rest._get_latest_policy: try(1) retry_get_config(True): policy_id(onap.vfirewall.tca), expecte d_versions({"2.0.0": true}) ignore_policy_names({}) 20200402_162621.446 INFO policy_updater policy_handler.pdp_api.policy_rest._pdp_get_decision: post to policy_engine at https://policy-xacml-pdp:6969/policy/pdpx/v1/ decision msg={"ONAPName": "DCAE", "ONAPComponent": "policy_handler", "ONAPInstance": "eab5e379-5289-4dd6-8e62-344e4c399761", "action": "configure", "resource": {"policy -id": ["onap.vfirewall.tca"]}} headers={"Accept": "application/json", "Content-Type": "application/json", "Authorization": "***(82f7a0779dcb9ea261b3e4a5fc60ad6935abe018 40c739f05ef0ba4dfedc88dc)***", "Environment": "TEST", "X-ONAP-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd", "X-ECOMP-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f1 15cd"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60) 20200402_162621.460 DEBUG policy_updater urllib3.connectionpool._get_conn: Resetting dropped connection: policy-xacml-pdp 20200402_162621.487 DEBUG policy_updater urllib3.connectionpool._make_request: https://policy-xacml-pdp:6969 "POST /policy/pdpx/v1/decision HTTP/1.1" 200 1116 20200402_162621.490 INFO policy_updater policy_handler.pdp_api.policy_rest._pdp_get_decision: response 200 from post to policy_engine at https://policy-xacml-pdp:69 69/policy/pdpx/v1/decision msg={"ONAPName": "DCAE", "ONAPComponent": "policy_handler", "ONAPInstance": "eab5e379-5289-4dd6-8e62-344e4c399761", "action": "configure", "r esource": {"policy-id": ["onap.vfirewall.tca"]}} headers={"Accept": "application/json", "Content-Type": "application/json", "Authorization": "***(82f7a0779dcb9ea261b3e4 a5fc60ad6935abe01840c739f05ef0ba4dfedc88dc)***", "Environment": "TEST", "X-ONAP-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd", "X-ECOMP-RequestID": "33c5df8a-f9a6- 4cee-9bfe-a8bcb0f115cd"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(60): text={"policies":{"onap.vfirewall.tca":{"ty pe":"onap.policies.monitoring.cdap.tca.hi.lo.app","type_version":"1.0.0","properties":{"tca_policy":{"domain":"measurementsForVfScaling","metricsPerEventName":[{"eventN ame":"vFirewallBroadcastPackets","controlLoopSchemaType":"VM","policyScope":"DCAE","policyName":"DCAE.Config_tca-hi-lo","policyVersion":"v0.0.1","thresholds":[{"closedL oopControlName":"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[ *].receivedTotalPacketsDelta","thresholdValue":100.0,"direction":"LESS_OR_EQUAL","severity":"MAJOR","closedLoopEventStatus":"ONSET"},{"closedLoopControlName":"ControlLo op-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a","version":"1.0.2","fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDel ta","thresholdValue":2000.0,"direction":"GREATER_OR_EQUAL","severity":"CRITICAL","closedLoopEventStatus":"ONSET"}]}]}},"name":"onap.vfirewall.tca","version":"2.0.0","me tadata":{"policy-id":"onap.vfirewall.tca","policy-version":"2.0.0"}}}} headers={"User-Agent": "python-requests/2.23.0", "Accept-Encoding": "gzip, deflate", "Accept": "a pplication/json", "Connection": "keep-alive", "Content-Type": "application/json", "Authorization": "***(82f7a0779dcb9ea261b3e4a5fc60ad6935abe01840c739f05ef0ba4dfedc88dc )***", "Environment": "TEST", "X-ONAP-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd", "X-ECOMP-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd", "Content-Length": "185"} 20200402_162621.491 INFO policy_updater policy_handler.pdp_api.policy_rest._get_latest_policy_once: 200 looking for policy_id(onap.vfirewall.tca) in latest_policies : {"onap.vfirewall.tca": {"policy_id": "onap.vfirewall.tca", "policy_body": {"type": "onap.policies.monitoring.cdap.tca.hi.lo.app", "type_version": "1.0.0", "name": "on ap.vfirewall.tca", "version": "2.0.0", "metadata": {"policy-id": "onap.vfirewall.tca", "policy-version": "2.0.0"}, "policyName": "onap.vfirewall.tca.2-0-0.xml", "policy Version": "2.0.0", "config": {"tca_policy": {"domain": "measurementsForVfScaling", "metricsPerEventName": [{"eventName": "vFirewallBroadcastPackets", "controlLoopSchema Type": "VM", "policyScope": "DCAE", "policyName": "DCAE.Config_tca-hi-lo", "policyVersion": "v0.0.1", "thresholds": [{"closedLoopControlName": "ControlLoop-vFirewall-d0 a1dfc6-94f5-4fd4-a5b5-4630b438850a", "version": "1.0.2", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "thres holdValue": 100.0, "direction": "LESS_OR_EQUAL", "severity": "MAJOR", "closedLoopEventStatus": "ONSET"}, {"closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5- 4fd4-a5b5-4630b438850a", "version": "1.0.2", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "thresholdValue": 2000.0, "direction": "GREATER_OR_EQUAL", "severity": "CRITICAL", "closedLoopEventStatus": "ONSET"}]}]}}}}} 20200402_162621.492 DEBUG policy_updater policy_handler.pdp_api.policy_rest._get_latest_updated_policies: result(1) updated_policies {"onap.vfirewall.tca": {"policy_ id": "onap.vfirewall.tca", "policy_body": {"type": "onap.policies.monitoring.cdap.tca.hi.lo.app", "type_version": "1.0.0", "name": "onap.vfirewall.tca", "version": "2.0 .0", "metadata": {"policy-id": "onap.vfirewall.tca", "policy-version": "2.0.0"}, "policyName": "onap.vfirewall.tca.2-0-0.xml", "policyVersion": "2.0.0", "config": {"tca _policy": {"domain": "measurementsForVfScaling", "metricsPerEventName": [{"eventName": "vFirewallBroadcastPackets", "controlLoopSchemaType": "VM", "policyScope": "DCAE" , "policyName": "DCAE.Config_tca-hi-lo", "policyVersion": "v0.0.1", "thresholds": [{"closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a ", "version": "1.0.2", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "thresholdValue": 100.0, "direction": "L ESS_OR_EQUAL", "severity": "MAJOR", "closedLoopEventStatus": "ONSET"}, {"closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "version" : "1.0.2", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "thresholdValue": 2000.0, "direction": "GREATER_OR_E QUAL", "severity": "CRITICAL", "closedLoopEventStatus": "ONSET"}]}]}}}}}, removed_policies {}, errored_policies {} 20200402_162621.493 INFO policy_updater policy_handler.deploy_handler._policy_update: put to deployment_handler at https://deployment-handler:8443/policy msg={"catc h_up": false, "latest_policies": {"onap.vfirewall.tca": {"policy_id": "onap.vfirewall.tca", "policy_body": {"type": "onap.policies.monitoring.cdap.tca.hi.lo.app", "type _version": "1.0.0", "name": "onap.vfirewall.tca", "version": "2.0.0", "metadata": {"policy-id": "onap.vfirewall.tca", "policy-version": "2.0.0"}, "policyName": "onap.vf irewall.tca.2-0-0.xml", "policyVersion": "2.0.0", "config": {"tca_policy": {"domain": "measurementsForVfScaling", "metricsPerEventName": [{"eventName": "vFirewallBroadc astPackets", "controlLoopSchemaType": "VM", "policyScope": "DCAE", "policyName": "DCAE.Config_tca-hi-lo", "policyVersion": "v0.0.1", "thresholds": [{"closedLoopControlN ame": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "version": "1.0.2", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].rec eivedTotalPacketsDelta", "thresholdValue": 100.0, "direction": "LESS_OR_EQUAL", "severity": "MAJOR", "closedLoopEventStatus": "ONSET"}, {"closedLoopControlName": "Contr olLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "version": "1.0.2", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPa cketsDelta", "thresholdValue": 2000.0, "direction": "GREATER_OR_EQUAL", "severity": "CRITICAL", "closedLoopEventStatus": "ONSET"}]}]}}}}}, "removed_policies": {}, "poli cy_filter_matches": {}} headers={"X-ONAP-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd", "X-ECOMP-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd"}, params={"cfy_ tenant_name": "default_tenant"}, timeout_in_secs=60, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) 20200402_162621.509 DEBUG policy_updater urllib3.connectionpool._make_request: https://deployment-handler:8443 "PUT /policy?cfy_tenant_name=default_tenant HTTP/1.1" 200 151 20200402_162621.510 INFO policy_updater policy_handler.deploy_handler._policy_update: response 200 from put to deployment_handler at https://deployment-handler:8443 /policy: text={"requestID":"33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd","started":"2020-04-02T16:26:21.506Z","server_instance_uuid":"0e413880-9c6a-4569-86e7-4a5bf1f3a9d4"} ms g={"catch_up": false, "latest_policies": {"onap.vfirewall.tca": {"policy_id": "onap.vfirewall.tca", "policy_body": {"type": "onap.policies.monitoring.cdap.tca.hi.lo.app ", "type_version": "1.0.0", "name": "onap.vfirewall.tca", "version": "2.0.0", "metadata": {"policy-id": "onap.vfirewall.tca", "policy-version": "2.0.0"}, "policyName": "onap.vfirewall.tca.2-0-0.xml", "policyVersion": "2.0.0", "config": {"tca_policy": {"domain": "measurementsForVfScaling", "metricsPerEventName": [{"eventName": "vFirewa llBroadcastPackets", "controlLoopSchemaType": "VM", "policyScope": "DCAE", "policyName": "DCAE.Config_tca-hi-lo", "policyVersion": "v0.0.1", "thresholds": [{"closedLoop ControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "version": "1.0.2", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArra y[*].receivedTotalPacketsDelta", "thresholdValue": 100.0, "direction": "LESS_OR_EQUAL", "severity": "MAJOR", "closedLoopEventStatus": "ONSET"}, {"closedLoopControlName" : "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "version": "1.0.2", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receive dTotalPacketsDelta", "thresholdValue": 2000.0, "direction": "GREATER_OR_EQUAL", "severity": "CRITICAL", "closedLoopEventStatus": "ONSET"}]}]}}}}}, "removed_policies": { }, "policy_filter_matches": {}} headers={"X-ONAP-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd", "X-ECOMP-RequestID": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd"}, param s={"cfy_tenant_name": "default_tenant"}, timeout_in_secs=60, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) 20200402_162621.511 INFO policy_updater policy_handler.policy_updater._on_policy_update: request_id[33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd]: {"catch_up": false, "late st_policies": {"onap.vfirewall.tca": {"policy_id": "onap.vfirewall.tca", "policy_body": {"type": "onap.policies.monitoring.cdap.tca.hi.lo.app", "type_version": "1.0.0", "name": "onap.vfirewall.tca", "version": "2.0.0", "metadata": {"policy-id": "onap.vfirewall.tca", "policy-version": "2.0.0"}, "policyName": "onap.vfirewall.tca.2-0-0.x ml", "policyVersion": "2.0.0", "config": {"tca_policy": {"domain": "measurementsForVfScaling", "metricsPerEventName": [{"eventName": "vFirewallBroadcastPackets", "contr olLoopSchemaType": "VM", "policyScope": "DCAE", "policyName": "DCAE.Config_tca-hi-lo", "policyVersion": "v0.0.1", "thresholds": [{"closedLoopControlName": "ControlLoop- vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "version": "1.0.2", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDe lta", "thresholdValue": 100.0, "direction": "LESS_OR_EQUAL", "severity": "MAJOR", "closedLoopEventStatus": "ONSET"}, {"closedLoopControlName": "ControlLoop-vFirewall-d0 a1dfc6-94f5-4fd4-a5b5-4630b438850a", "version": "1.0.2", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "thres holdValue": 2000.0, "direction": "GREATER_OR_EQUAL", "severity": "CRITICAL", "closedLoopEventStatus": "ONSET"}]}]}}}}}, "removed_policies": {}, "policy_filter_matches": {}} - sent to deployment-handler policies-updated[1], removed[0], policy_filter_matches[0] 20200402_162621.512 INFO policy_updater policy_handler.policy_updater.run: waiting for policy-updates... 20200402_162629.220 INFO reconfigure_timer policy_handler.step_timer._log_substep: reconfigure_timer[600.000337] next[17] woke up after timeout: timeout(False), pau sed(False), next(False), finished(False) 20200402_162629.220 INFO reconfigure_timer policy_handler.step_timer._log_substep: reconfigure_timer[0.000257] next[17] on_time event: timeout(False), paused(False) , next(False), finished(False) 20200402_162629.221 INFO reconfigure_timer policy_handler.policy_updater.reconfigure: auto reconfigure request_id 0350ae46-7365-416b-8747-2dfabdea91cd 20200402_162629.221 INFO reconfigure_timer policy_handler.step_timer._log_substep: reconfigure_timer[0.000505] next[17] waiting for next...: timeout(False), paused( False), next(False), finished(False) 20200402_162629.221 INFO policy_updater policy_handler.policy_updater._on_reconfigure: auto reconfigure(0350ae46-7365-416b-8747-2dfabdea91cd) 20200402_162629.221 INFO policy_updater policy_handler.service_activator.is_active_mode_of_operation: mode_of_operation = None active = True 20200402_162629.222 INFO policy_updater policy_handler.discovery.get_value: get from consul at http://consul:8500/v1/kv/policy_handler 20200402_162629.236 DEBUG policy_updater urllib3.connectionpool._new_conn: Starting new HTTP connection (1): consul:8500 20200402_162629.239 DEBUG policy_updater urllib3.connectionpool._make_request: http://consul:8500 "GET /v1/kv/policy_handler HTTP/1.1" 200 1883 20200402_162629.241 DEBUG policy_updater policy_handler.config.discover: loaded config from discovery(policy_handler): {"policy_handler": {"thread_pool_size": 4, "po ol_connections": 20, "policy_retry_count": 5, "policy_retry_sleep": 5, "catch_up": {"interval": 1200}, "reconfigure": {"interval": 600}, "policy_engine": {"url": "https ://policy-xacml-pdp:6969", "path_decision": "/policy/pdpx/v1/decision", "headers": {"Accept": "application/json", "Content-Type": "application/json", "Authorization": " ***(82f7a0779dcb9ea261b3e4a5fc60ad6935abe01840c739f05ef0ba4dfedc88dc)***", "Environment": "TEST"}, "target_entity": "policy_engine", "tls_ca_mode": "cert_directory", "t imeout_in_secs": 60}, "dmaap_mr": {"url": "https://message-router:3905/events/POLICY-NOTIFICATION/policy-handler/ph1", "query": {"timeout": 15000}, "headers": {"Content -Type": "application/json"}, "target_entity": "dmaap_mr", "tls_ca_mode": "cert_directory", "timeout_in_secs": 60}, "deploy_handler": {"target_entity": "deployment_handl er", "url": "https://deployment-handler:8443", "max_msg_length_mb": 5, "query": {"cfy_tenant_name": "default_tenant"}, "tls_ca_mode": "cert_directory", "timeout_in_secs ": 60}}} 20200402_162629.242 INFO policy_updater policy_handler.config.discover: config from discovery: {"config_keys": [], "config": {"thread_pool_size": 4, "pool_connectio ns": 20, "policy_retry_count": 5, "policy_retry_sleep": 5, "catch_up": {"interval": 1200}, "reconfigure": {"interval": 600}, "policy_engine": {"url": "https://policy-xa cml-pdp:6969", "path_decision": "/policy/pdpx/v1/decision", "headers": {"Accept": "application/json", "Content-Type": "application/json", "Authorization": "***(82f7a077 9dcb9ea261b3e4a5fc60ad6935abe01840c739f05ef0ba4dfedc88dc)***", "Environment": "TEST"}, "target_entity": "policy_engine", "tls_ca_mode": "cert_directory", "timeout_in_se cs": 60}, "dmaap_mr": {"url": "https://message-router:3905/events/POLICY-NOTIFICATION/policy-handler/ph1", "query": {"timeout": 15000}, "headers": {"Content-Type": "app lication/json"}, "target_entity": "dmaap_mr", "tls_ca_mode": "cert_directory", "timeout_in_secs": 60}, "deploy_handler": {"target_entity": "deployment_handler", "url": "https://deployment-handler:8443", "max_msg_length_mb": 5, "query": {"cfy_tenant_name": "default_tenant"}, "tls_ca_mode": "cert_directory", "timeout_in_secs": 60}}} 20200402_162629.242 INFO policy_updater policy_handler.service_activator.determine_mode_of_operation: no url found for None 20200402_162629.242 INFO policy_updater policy_handler.service_activator.is_active_mode_of_operation: mode_of_operation = None active = True 20200402_162629.243 INFO policy_updater policy_handler.policy_updater._on_reconfigure: auto reconfigure(0350ae46-7365-416b-8747-2dfabdea91cd) -- config not changed 20200402_162629.243 INFO policy_updater policy_handler.policy_updater._run_reconfigure_timer: next step reconfigure_timer in 600 20200402_162629.243 INFO policy_updater policy_handler.step_timer._request_to_timer: reconfigure_timer[600.023535] next->next[18] waiting for next...: timeout(False ), paused(False), next(True), finished(False) 20200402_162629.243 INFO reconfigure_timer policy_handler.step_timer._log_substep: reconfigure_timer[0.022214] next[18] woke up on next: timeout(False), paused(Fals e), next(False), finished(False) 20200402_162629.243 INFO reconfigure_timer policy_handler.step_timer._log_substep: reconfigure_timer[0.000201] next[18] waiting for timeout 600...: timeout(False), paused(False), next(False), finished(False) 20200402_162629.249 INFO policy_updater policy_handler.policy_updater._on_reconfigure: policy_handler health: {"server": {"service_name": "policy_handler", "service _version": "5.1.0", "service_instance_uuid": "eab5e379-5289-4dd6-8e62-344e4c399761"}, "runtime": {"started": "2020-04-02 13:36:27.867591", "utcnow": "2020-04-02 16:26:2 9.243545", "uptime": "2:50:01.375954", "active_threads": ["Autoreloader(139628690523904)", "CP Server Thread-10(139628103329536)", "CP Server Thread-11(139628094936832) ", "CP Server Thread-12(139628086544128)", "CP Server Thread-13(139628078151424)", "CP Server Thread-14(139628069758720)", "CP Server Thread-15(139628061366016)", "CP S erver Thread-16(139627574851328)", "CP Server Thread-7(139628673738496)", "CP Server Thread-8(139628665345792)", "CP Server Thread-9(139628111722240)", "HTTPServer Thre ad-6(139628682131200)", "MainThread(139628988987200)", "Thread-1(139628955965184)", "Thread-2(139628947572480)", "Thread-3(139628939179776)", "Thread-4(139628930787072) ", "catch_up_timer(139627566458624)", "policy_listener(139628715702016)", "policy_updater(139628707309312)", "reconfigure_timer(139628698916608)"], "gc": {"gc_count": " (183, 1, 1)", "gc_threshold": "(700, 10, 10)"}, "virtual_memory": {"total": "15.66 GiB", "available": "7.81 GiB", "percent": 50.2, "used": "7.53 GiB", "free": "2.12 GiB ", "active": "8.71 GiB", "inactive": "3.65 GiB", "buffers": "346.36 MiB", "cached": "5.68 GiB", "shared": "46.82 MiB", "slab": "1022.14 MiB"}, "process_memory": {"rss": "43.36 MiB", "vms": "1.45 GiB", "shared": "10.15 MiB", "text": "8.00 KiB", "lib": 0, "data": "193.95 MiB", "dirty": 0, "uss": "41.88 MiB", "pss": "42.29 MiB", "swap": 0}}, "stats": {"start_policy_handler": {"total": {"call_count": 1, "ave_timer_millisecs": 35.0}, "success": {"success_count": 1, "last_success": "2020-04-02 13:36:28.83 5213", "last_success_request_id": "46589756-bf0b-474a-a651-9647f5e0899e"}, "error": {"error_count": 0, "last_error": "None", "last_error_request_id": null}, "active": { "active_count": 0, "last_start": "2020-04-02 13:36:28.799461", "last_started_request_id": "46589756-bf0b-474a-a651-9647f5e0899e"}, "longest": {"longest_timer_millisecs" : 35, "longest_request_id": "46589756-bf0b-474a-a651-9647f5e0899e", "longest_end": "2020-04-02 13:36:28.835213"}}, "audit_total_stats": {"total": {"call_count": 702, "a ve_timer_millisecs": 12813.005698005698}, "success": {"success_count": 662, "last_success": "2020-04-02 16:26:29.242847", "last_success_request_id": "0350ae46-7365-416b -8747-2dfabdea91cd"}, "error": {"error_count": 40, "last_error": "2020-04-02 13:55:59.724121", "last_error_request_id": "d9200396-764c-4f52-b6fa-bccbe47d14da"}, "active ": {"active_count": 1, "last_start": "2020-04-02 16:26:29.221109", "last_started_request_id": "0350ae46-7365-416b-8747-2dfabdea91cd"}, "longest": {"longest_timer_millis ecs": 15155, "longest_request_id": "edee9611-fe27-431d-bae0-8447e53e8b82", "longest_end": "2020-04-02 15:46:32.760881"}}, "metrics_consul": {"total": {"call_count": 18, "ave_timer_millisecs": 17.833333333333332}, "success": {"success_count": 18, "last_success": "2020-04-02 16:26:29.240720", "last_success_request_id": "0350ae46-7365-41 6b-8747-2dfabdea91cd"}, "error": {"error_count": 0, "last_error": "None", "last_error_request_id": null}, "active": {"active_count": 0, "last_start": "2020-04-02 16:26: 29.222256", "last_started_request_id": "0350ae46-7365-416b-8747-2dfabdea91cd"}, "longest": {"longest_timer_millisecs": 26, "longest_request_id": "46589756-bf0b-474a-a65 1-9647f5e0899e", "longest_end": "2020-04-02 13:36:28.826841"}}, "metrics_total_stats": {"total": {"call_count": 693, "ave_timer_millisecs": 12977.78354978355}, "success ": {"success_count": 653, "last_success": "2020-04-02 16:26:29.240726", "last_success_request_id": "0350ae46-7365-416b-8747-2dfabdea91cd"}, "error": {"error_count": 40, "last_error": "2020-04-02 13:55:59.723254", "last_error_request_id": "d9200396-764c-4f52-b6fa-bccbe47d14da"}, "active": {"active_count": 1, "last_start": "2020-04-02 1 6:26:29.222261", "last_started_request_id": "0350ae46-7365-416b-8747-2dfabdea91cd"}, "longest": {"longest_timer_millisecs": 15042, "longest_request_id": "edee9611-fe27- 431d-bae0-8447e53e8b82", "longest_end": "2020-04-02 15:46:32.648698"}}, "policy_update": {"total": {"call_count": 643, "ave_timer_millisecs": 13986.289269051322}, "succ ess": {"success_count": 603, "last_success": "2020-04-02 16:26:21.511667", "last_success_request_id": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd"}, "error": {"error_count": 40, "last_error": "2020-04-02 13:55:59.724117", "last_error_request_id": "d9200396-764c-4f52-b6fa-bccbe47d14da"}, "active": {"active_count": 1, "last_start": "2020-04-0 2 16:26:21.345552", "last_started_request_id": "2f9d05ea-6174-4f57-b0db-5dd06be926b0"}, "longest": {"longest_timer_millisecs": 15155, "longest_request_id": "edee9611-fe 27-431d-bae0-8447e53e8b82", "longest_end": "2020-04-02 15:46:32.760875"}}, "metrics_dmaap_mr": {"total": {"call_count": 643, "ave_timer_millisecs": 13983.342146189736}, "success": {"success_count": 603, "last_success": "2020-04-02 16:26:21.344171", "last_success_request_id": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd"}, "error": {"error_co unt": 40, "last_error": "2020-04-02 13:55:59.723249", "last_error_request_id": "d9200396-764c-4f52-b6fa-bccbe47d14da"}, "active": {"active_count": 1, "last_start": "202 0-04-02 16:26:21.346161", "last_started_request_id": "2f9d05ea-6174-4f57-b0db-5dd06be926b0"}, "longest": {"longest_timer_millisecs": 15042, "longest_request_id": "edee9 611-fe27-431d-bae0-8447e53e8b82", "longest_end": "2020-04-02 15:46:32.648689"}}, "metrics_deployment_handler_get_deployed_policies": {"total": {"call_count": 14, "ave_t imer_millisecs": 100.14285714285714}, "success": {"success_count": 14, "last_success": "2020-04-02 16:26:21.445612", "last_success_request_id": "33c5df8a-f9a6-4cee-9bfe -a8bcb0f115cd"}, "error": {"error_count": 0, "last_error": "None", "last_error_request_id": null}, "active": {"active_count": 0, "last_start": "2020-04-02 16:26:21.3520 60", "last_started_request_id": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd"}, "longest": {"longest_timer_millisecs": 114, "longest_request_id": "e16358c8-35b7-43ce-8aed-532d 25008bbb", "longest_end": "2020-04-02 16:16:40.968008"}}, "metrics_policy_engine": {"total": {"call_count": 12, "ave_timer_millisecs": 35.666666666666664}, "success": { "success_count": 12, "last_success": "2020-04-02 16:26:21.491095", "last_success_request_id": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd"}, "error": {"error_count": 0, "last _error": "None", "last_error_request_id": null}, "active": {"active_count": 0, "last_start": "2020-04-02 16:26:21.446919", "last_started_request_id": "33c5df8a-f9a6-4ce e-9bfe-a8bcb0f115cd"}, "longest": {"longest_timer_millisecs": 52, "longest_request_id": "239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2", "longest_end": "2020-04-02 16:23:10.2905 30"}}, "healthcheck": {"total": {"call_count": 34, "ave_timer_millisecs": 7.0}, "success": {"success_count": 34, "last_success": "2020-04-02 16:23:07.416225", "last_suc cess_request_id": "8f048765-61d3-47ee-bfdd-79aa9598ce9f"}, "error": {"error_count": 0, "last_error": "None", "last_error_request_id": null}, "active": {"active_count": 0, "last_start": "2020-04-02 16:23:07.409538", "last_started_request_id": "8f048765-61d3-47ee-bfdd-79aa9598ce9f"}, "longest": {"longest_timer_millisecs": 10, "longest_r equest_id": "e9c156d6-4a0a-4973-a7ca-17b98039491b", "longest_end": "2020-04-02 13:38:07.419565"}}, "auto_reconfigure": {"total": {"call_count": 17, "ave_timer_millisecs ": 21.176470588235293}, "success": {"success_count": 17, "last_success": "2020-04-02 16:26:29.242843", "last_success_request_id": "0350ae46-7365-416b-8747-2dfabdea91cd" }, "error": {"error_count": 0, "last_error": "None", "last_error_request_id": null}, "active": {"active_count": 0, "last_start": "2020-04-02 16:26:29.221105", "last_sta rted_request_id": "0350ae46-7365-416b-8747-2dfabdea91cd"}, "longest": {"longest_timer_millisecs": 27, "longest_request_id": "c82f9e3a-7e95-491f-9488-bd3316507dea", "lon gest_end": "2020-04-02 13:46:28.880216"}}, "auto_catch_up": {"total": {"call_count": 7, "ave_timer_millisecs": 130.42857142857142}, "success": {"success_count": 7, "las t_success": "2020-04-02 16:16:41.003616", "last_success_request_id": "e16358c8-35b7-43ce-8aed-532d25008bbb"}, "error": {"error_count": 0, "last_error": "None", "last_er ror_request_id": null}, "active": {"active_count": 0, "last_start": "2020-04-02 16:16:40.852157", "last_started_request_id": "e16358c8-35b7-43ce-8aed-532d25008bbb"}, "l ongest": {"longest_timer_millisecs": 151, "longest_request_id": "e16358c8-35b7-43ce-8aed-532d25008bbb", "longest_end": "2020-04-02 16:16:41.003616"}}, "metrics_policy_e ngine_total_get_latest_updated_policies": {"total": {"call_count": 2, "ave_timer_millisecs": 49.5}, "success": {"success_count": 2, "last_success": "2020-04-02 16:26:21 .491880", "last_success_request_id": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd"}, "error": {"error_count": 0, "last_error": "None", "last_error_request_id": null}, "active" : {"active_count": 0, "last_start": "2020-04-02 16:26:21.446279", "last_started_request_id": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd"}, "longest": {"longest_timer_millise cs": 53, "longest_request_id": "239e3db2-5c3b-4a9e-b3a0-4a0425aa8ed2", "longest_end": "2020-04-02 16:23:10.291056"}}, "metrics_deployment_handler_total_policy_update": {"total": {"call_count": 2, "ave_timer_millisecs": 17.0}, "success": {"success_count": 2, "last_success": "2020-04-02 16:26:21.511190", "last_success_request_id": "33c5 df8a-f9a6-4cee-9bfe-a8bcb0f115cd"}, "error": {"error_count": 0, "last_error": "None", "last_error_request_id": null}, "active": {"active_count": 0, "last_start": "2020- 04-02 16:26:21.493238", "last_started_request_id": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd"}, "longest": {"longest_timer_millisecs": 18, "longest_request_id": "33c5df8a-f 9a6-4cee-9bfe-a8bcb0f115cd", "longest_end": "2020-04-02 16:26:21.511190"}}, "metrics_deployment_handler_policy_update": {"total": {"call_count": 2, "ave_timer_millisecs ": 15.5}, "success": {"success_count": 2, "last_success": "2020-04-02 16:26:21.510454", "last_success_request_id": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd"}, "error": {"e rror_count": 0, "last_error": "None", "last_error_request_id": null}, "active": {"active_count": 0, "last_start": "2020-04-02 16:26:21.494211", "last_started_request_id ": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd"}, "longest": {"longest_timer_millisecs": 16, "longest_request_id": "33c5df8a-f9a6-4cee-9bfe-a8bcb0f115cd", "longest_end": "202 0-04-02 16:26:21.510454"}}}, "soft": {"python": "3.6.10 (default, Feb 26 2020, 16:13:33) [GCC 8.3.0]", "packages": ["certifi==2019.11.28", "chardet==3.0.4", "cheroot==8 .3.0", "CherryPy==15.0.0", "idna==2.9", "jaraco.functools==3.0.0", "more-itertools==8.2.0", "portend==2.6", "psutil==5.7.0", "pytz==2019.3", "requests==2.23.0", "six==1 .14.0", "tempora==2.1.0", "urllib3==1.25.8", "websocket-client==0.53.0"]}, "service_mode": {"is_active_mode_of_operation": true, "is_pdp_api_default": true}} 20200402_162629.255 INFO policy_updater policy_handler.policy_updater._on_reconfigure: process_info: {"active_threads": ["Autoreloader(139628690523904)", "CP Server Thread-10(139628103329536)", "CP Server Thread-11(139628094936832)", "CP Server Thread-12(139628086544128)", "CP Server Thread-13(139628078151424)", "CP Server Thread- 14(139628069758720)", "CP Server Thread-15(139628061366016)", "CP Server Thread-16(139627574851328)", "CP Server Thread-7(139628673738496)", "CP Server Thread-8(1396286 65345792)", "CP Server Thread-9(139628111722240)", "HTTPServer Thread-6(139628682131200)", "MainThread(139628988987200)", "Thread-1(139628955965184)", "Thread-2(1396289 47572480)", "Thread-3(139628939179776)", "Thread-4(139628930787072)", "catch_up_timer(139627566458624)", "policy_listener(139628715702016)", "policy_updater(13962870730 9312)", "reconfigure_timer(139628698916608)"], "gc": {"gc_count": "(186, 1, 1)", "gc_threshold": "(700, 10, 10)"}, "process_memory": {"rss": "43.36 MiB", "vms": "1.45 G iB", "shared": "10.15 MiB", "text": "8.00 KiB", "lib": 0, "data": "193.95 MiB", "dirty": 0, "uss": "41.88 MiB", "pss": "42.30 MiB", "swap": 0}, "virtual_memory": {"tota l": "15.66 GiB", "available": "7.81 GiB", "percent": 50.2, "used": "7.53 GiB", "free": "2.12 GiB", "active": "8.71 GiB", "inactive": "3.65 GiB", "buffers": "346.36 MiB" , "cached": "5.68 GiB", "shared": "46.82 MiB", "slab": "1022.14 MiB"}, "thread_stacks": [{"thread_id": 139627566458624, "thread_name": "catch_up_timer", "thread_stack": [{"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 884, "function": "_bootstrap", "line": "self._bootstrap_inner()"}, {"filename": "/usr/local/lib/python 3.6/threading.py", "lineno": 916, "function": "_bootstrap_inner", "line": "self.run()"}, {"filename": "/opt/app/policy_handler/policyhandler/step_timer.py", "lineno": 1 51, "function": "run", "line": "interrupted = self._timeout.wait(self._interval)"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 551, "function": "wa it", "line": "signaled = self._cond.wait(timeout)"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 299, "function": "wait", "line": "gotit = waiter.ac quire(True, timeout)"}]}, {"thread_id": 139627574851328, "thread_name": "CP Server Thread-16", "thread_stack": [{"filename": "/usr/local/lib/python3.6/threading.py", "l ineno": 884, "function": "_bootstrap", "line": "self._bootstrap_inner()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 916, "function": "_bootstrap_ inner", "line": "self.run()"}, {"filename": "/usr/local/lib/python3.6/site-packages/cheroot/workers/threadpool.py", "lineno": 110, "function": "run", "line": "conn = se lf.server.requests.get()"}, {"filename": "/usr/local/lib/python3.6/queue.py", "lineno": 164, "function": "get", "line": "self.not_empty.wait()"}, {"filename": "/usr/loc al/lib/python3.6/threading.py", "lineno": 295, "function": "wait", "line": "waiter.acquire()"}]}, {"thread_id": 139628061366016, "thread_name": "CP Server Thread-15", " thread_stack": [{"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 884, "function": "_bootstrap", "line": "self._bootstrap_inner()"}, {"filename": "/usr/lo cal/lib/python3.6/threading.py", "lineno": 916, "function": "_bootstrap_inner", "line": "self.run()"}, {"filename": "/usr/local/lib/python3.6/site-packages/cheroot/work ers/threadpool.py", "lineno": 110, "function": "run", "line": "conn = self.server.requests.get()"}, {"filename": "/usr/local/lib/python3.6/queue.py", "lineno": 164, "fu nction": "get", "line": "self.not_empty.wait()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 295, "function": "wait", "line": "waiter.acquire()"}]} , {"thread_id": 139628069758720, "thread_name": "CP Server Thread-14", "thread_stack": [{"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 884, "function": "_bootstrap", "line": "self._bootstrap_inner()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 916, "function": "_bootstrap_inner", "line": "self.ru n()"}, {"filename": "/usr/local/lib/python3.6/site-packages/cheroot/workers/threadpool.py", "lineno": 110, "function": "run", "line": "conn = self.server.requests.get() "}, {"filename": "/usr/local/lib/python3.6/queue.py", "lineno": 164, "function": "get", "line": "self.not_empty.wait()"}, {"filename": "/usr/local/lib/python3.6/threadi ng.py", "lineno": 295, "function": "wait", "line": "waiter.acquire()"}]}, {"thread_id": 139628078151424, "thread_name": "CP Server Thread-13", "thread_stack": [{"filena me": "/usr/local/lib/python3.6/threading.py", "lineno": 884, "function": "_bootstrap", "line": "self._bootstrap_inner()"}, {"filename": "/usr/local/lib/python3.6/thread ing.py", "lineno": 916, "function": "_bootstrap_inner", "line": "self.run()"}, {"filename": "/usr/local/lib/python3.6/site-packages/cheroot/workers/threadpool.py", "lin eno": 110, "function": "run", "line": "conn = self.server.requests.get()"}, {"filename": "/usr/local/lib/python3.6/queue.py", "lineno": 164, "function": "get", "line": "self.not_empty.wait()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 295, "function": "wait", "line": "waiter.acquire()"}]}, {"thread_id": 13962808 6544128, "thread_name": "CP Server Thread-12", "thread_stack": [{"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 884, "function": "_bootstrap", "line": " self._bootstrap_inner()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 916, "function": "_bootstrap_inner", "line": "self.run()"}, {"filename": "/us r/local/lib/python3.6/site-packages/cheroot/workers/threadpool.py", "lineno": 110, "function": "run", "line": "conn = self.server.requests.get()"}, {"filename": "/usr/l ocal/lib/python3.6/queue.py", "lineno": 164, "function": "get", "line": "self.not_empty.wait()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 295, " function": "wait", "line": "waiter.acquire()"}]}, {"thread_id": 139628094936832, "thread_name": "CP Server Thread-11", "thread_stack": [{"filename": "/usr/local/lib/pyt hon3.6/threading.py", "lineno": 884, "function": "_bootstrap", "line": "self._bootstrap_inner()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 916, "function": "_bootstrap_inner", "line": "self.run()"}, {"filename": "/usr/local/lib/python3.6/site-packages/cheroot/workers/threadpool.py", "lineno": 110, "function": " run", "line": "conn = self.server.requests.get()"}, {"filename": "/usr/local/lib/python3.6/queue.py", "lineno": 164, "function": "get", "line": "self.not_empty.wait()"} , {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 295, "function": "wait", "line": "waiter.acquire()"}]}, {"thread_id": 139628103329536, "thread_name": "CP Server Thread-10", "thread_stack": [{"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 884, "function": "_bootstrap", "line": "self._bootstrap_inner()" }, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 916, "function": "_bootstrap_inner", "line": "self.run()"}, {"filename": "/usr/local/lib/python3.6/si te-packages/cheroot/workers/threadpool.py", "lineno": 110, "function": "run", "line": "conn = self.server.requests.get()"}, {"filename": "/usr/local/lib/python3.6/queue .py", "lineno": 164, "function": "get", "line": "self.not_empty.wait()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 295, "function": "wait", "line ": "waiter.acquire()"}]}, {"thread_id": 139628111722240, "thread_name": "CP Server Thread-9", "thread_stack": [{"filename": "/usr/local/lib/python3.6/threading.py", "li neno": 884, "function": "_bootstrap", "line": "self._bootstrap_inner()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 916, "function": "_bootstrap_i nner", "line": "self.run()"}, {"filename": "/usr/local/lib/python3.6/site-packages/cheroot/workers/threadpool.py", "lineno": 110, "function": "run", "line": "conn = sel f.server.requests.get()"}, {"filename": "/usr/local/lib/python3.6/queue.py", "lineno": 164, "function": "get", "line": "self.not_empty.wait()"}, {"filename": "/usr/loca l/lib/python3.6/threading.py", "lineno": 295, "function": "wait", "line": "waiter.acquire()"}]}, {"thread_id": 139628665345792, "thread_name": "CP Server Thread-8", "th read_stack": [{"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 884, "function": "_bootstrap", "line": "self._bootstrap_inner()"}, {"filename": "/usr/loca l/lib/python3.6/threading.py", "lineno": 916, "function": "_bootstrap_inner", "line": "self.run()"}, {"filename": "/usr/local/lib/python3.6/site-packages/cheroot/worker s/threadpool.py", "lineno": 110, "function": "run", "line": "conn = self.server.requests.get()"}, {"filename": "/usr/local/lib/python3.6/queue.py", "lineno": 164, "func tion": "get", "line": "self.not_empty.wait()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 295, "function": "wait", "line": "waiter.acquire()"}]}, {"thread_id": 139628673738496, "thread_name": "CP Server Thread-7", "thread_stack": [{"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 884, "function": "_ bootstrap", "line": "self._bootstrap_inner()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 916, "function": "_bootstrap_inner", "line": "self.run() "}, {"filename": "/usr/local/lib/python3.6/site-packages/cheroot/workers/threadpool.py", "lineno": 110, "function": "run", "line": "conn = self.server.requests.get()"}, {"filename": "/usr/local/lib/python3.6/queue.py", "lineno": 164, "function": "get", "line": "self.not_empty.wait()"}, {"filename": "/usr/local/lib/python3.6/threading. py", "lineno": 295, "function": "wait", "line": "waiter.acquire()"}]}, {"thread_id": 139628682131200, "thread_name": "HTTPServer Thread-6", "thread_stack": [{"filename" : "/usr/local/lib/python3.6/threading.py", "lineno": 884, "function": "_bootstrap", "line": "self._bootstrap_inner()"}, {"filename": "/usr/local/lib/python3.6/threading .py", "lineno": 916, "function": "_bootstrap_inner", "line": "self.run()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 864, "function": "run", "lin e": "self._target(*self._args, **self._kwargs)"}, {"filename": "/usr/local/lib/python3.6/site-packages/cherrypy/process/servers.py", "lineno": 225, "function": "_start_ http_thread", "line": "self.httpserver.start()"}, {"filename": "/usr/local/lib/python3.6/site-packages/cheroot/server.py", "lineno": 1802, "function": "start", "line": "self.serve()"}, {"filename": "/usr/local/lib/python3.6/site-packages/cheroot/server.py", "lineno": 1776, "function": "serve", "line": "self.tick()"}, {"filename": "/us r/local/lib/python3.6/site-packages/cheroot/server.py", "lineno": 1999, "function": "tick", "line": "conn = self.connections.get_conn(self.socket)"}, {"filename": "/usr /local/lib/python3.6/site-packages/cheroot/connections.py", "lineno": 142, "function": "get_conn", "line": "rlist, _, _ = select.select(list(socket_dict), [], [], 0.1)" }]}, {"thread_id": 139628690523904, "thread_name": "Autoreloader", "thread_stack": [{"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 884, "function": "_b ootstrap", "line": "self._bootstrap_inner()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 916, "function": "_bootstrap_inner", "line": "self.run()" }, {"filename": "/usr/local/lib/python3.6/site-packages/cherrypy/process/plugins.py", "lineno": 514, "function": "run", "line": "time.sleep(self.interval)"}]}, {"thread _id": 139628698916608, "thread_name": "reconfigure_timer", "thread_stack": [{"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 884, "function": "_bootstrap ", "line": "self._bootstrap_inner()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 916, "function": "_bootstrap_inner", "line": "self.run()"}, {"fil ename": "/opt/app/policy_handler/policyhandler/step_timer.py", "lineno": 151, "function": "run", "line": "interrupted = self._timeout.wait(self._interval)"}, {"filename ": "/usr/local/lib/python3.6/threading.py", "lineno": 551, "function": "wait", "line": "signaled = self._cond.wait(timeout)"}, {"filename": "/usr/local/lib/python3.6/th reading.py", "lineno": 299, "function": "wait", "line": "gotit = waiter.acquire(True, timeout)"}]}, {"thread_id": 139628707309312, "thread_name": "policy_updater", "thr ead_stack": [{"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 884, "function": "_bootstrap", "line": "self._bootstrap_inner()"}, {"filename": "/usr/local /lib/python3.6/threading.py", "lineno": 916, "function": "_bootstrap_inner", "line": "self.run()"}, {"filename": "/opt/app/policy_handler/policyhandler/policy_updater.p y", "lineno": 119, "function": "run", "line": "self._on_reconfigure()"}, {"filename": "/opt/app/policy_handler/policyhandler/policy_updater.py", "lineno": 267, "functio n": "_on_reconfigure", "line": "_LOGGER.info(\"process_info: %s\", json.dumps(aud_reconfigure.process_info()))"}, {"filename": "/opt/app/policy_handler/policyhandler/on ap/audit.py", "lineno": 238, "function": "process_info", "line": "process_info = ProcessInfo.get_all()"}, {"filename": "/opt/app/policy_handler/policyhandler/onap/proce ss_info.py", "lineno": 151, "function": "get_all", "line": "\"thread_stacks\" : ProcessInfo.thread_stacks()"}, {"filename": "/opt/app/policy_handler/policyhandler/onap/ process_info.py", "lineno": 39, "function": "wrapper", "line": "return func(*args, **kwargs)"}, {"filename": "/opt/app/policy_handler/policyhandler/onap/process_info.py ", "lineno": 126, "function": "thread_stacks", "line": "for thread_id, stack in sys._current_frames().items()"}]}, {"thread_id": 139628715702016, "thread_name": "policy _listener", "thread_stack": [{"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 884, "function": "_bootstrap", "line": "self._bootstrap_inner()"}, {"filena me": "/usr/local/lib/python3.6/threading.py", "lineno": 916, "function": "_bootstrap_inner", "line": "self.run()"}, {"filename": "/opt/app/policy_handler/policyhandler/ pdp_api/policy_listener.py", "lineno": 87, "function": "run", "line": "policy_updates = DmaapMr.get_policy_updates(audit)"}, {"filename": "/opt/app/policy_handler/polic yhandler/pdp_api/dmaap_mr.py", "lineno": 176, "function": "get_policy_updates", "line": "timeout=timeout_in_secs, **custom_kwargs)"}, {"filename": "/usr/local/lib/pytho n3.6/site-packages/requests/sessions.py", "lineno": 543, "function": "get", "line": "return self.request('GET', url, **kwargs)"}, {"filename": "/usr/local/lib/python3.6 /site-packages/requests/sessions.py", "lineno": 530, "function": "request", "line": "resp = self.send(prep, **send_kwargs)"}, {"filename": "/usr/local/lib/python3.6/sit e-packages/requests/sessions.py", "lineno": 643, "function": "send", "line": "r = adapter.send(request, **kwargs)"}, {"filename": "/usr/local/lib/python3.6/site-package s/requests/adapters.py", "lineno": 449, "function": "send", "line": "timeout=timeout"}, {"filename": "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", "lineno": 672, "function": "urlopen", "line": "chunked=chunked,"}, {"filename": "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", "lineno": 416, "fun ction": "_make_request", "line": "httplib_response = conn.getresponse()"}, {"filename": "/usr/local/lib/python3.6/http/client.py", "lineno": 1354, "function": "getrespo nse", "line": "response.begin()"}, {"filename": "/usr/local/lib/python3.6/http/client.py", "lineno": 307, "function": "begin", "line": "version, status, reason = self._ read_status()"}, {"filename": "/usr/local/lib/python3.6/http/client.py", "lineno": 268, "function": "_read_status", "line": "line = str(self.fp.readline(_MAXLINE + 1), \"iso-8859-1\")"}, {"filename": "/usr/local/lib/python3.6/socket.py", "lineno": 586, "function": "readinto", "line": "return self._sock.recv_into(b)"}, {"filename": "/u sr/local/lib/python3.6/ssl.py", "lineno": 1012, "function": "recv_into", "line": "return self.read(nbytes, buffer)"}, {"filename": "/usr/local/lib/python3.6/ssl.py", "l ineno": 874, "function": "read", "line": "return self._sslobj.read(len, buffer)"}, {"filename": "/usr/local/lib/python3.6/ssl.py", "lineno": 631, "function": "read", "l ine": "v = self._sslobj.read(len, buffer)"}]}, {"thread_id": 139628930787072, "thread_name": "Thread-4", "thread_stack": [{"filename": "/usr/local/lib/python3.6/threadi ng.py", "lineno": 884, "function": "_bootstrap", "line": "self._bootstrap_inner()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 916, "function": "_ bootstrap_inner", "line": "self.run()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 864, "function": "run", "line": "self._target(*self._args, **se lf._kwargs)"}, {"filename": "/opt/app/policy_handler/policyhandler/onap/CommonLogger.py", "lineno": 322, "function": "_monitorConfigFile", "line": "time.sleep(5)"}]}, { "thread_id": 139628939179776, "thread_name": "Thread-3", "thread_stack": [{"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 884, "function": "_bootstrap", "line": "self._bootstrap_inner()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 916, "function": "_bootstrap_inner", "line": "self.run()"}, {"filen ame": "/usr/local/lib/python3.6/threading.py", "lineno": 864, "function": "run", "line": "self._target(*self._args, **self._kwargs)"}, {"filename": "/opt/app/policy_han dler/policyhandler/onap/CommonLogger.py", "lineno": 322, "function": "_monitorConfigFile", "line": "time.sleep(5)"}]}, {"thread_id": 139628947572480, "thread_name": "Th read-2", "thread_stack": [{"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 884, "function": "_bootstrap", "line": "self._bootstrap_inner()"}, {"filename" : "/usr/local/lib/python3.6/threading.py", "lineno": 916, "function": "_bootstrap_inner", "line": "self.run()"}, {"filename": "/usr/local/lib/python3.6/threading.py", " lineno": 864, "function": "run", "line": "self._target(*self._args, **self._kwargs)"}, {"filename": "/opt/app/policy_handler/policyhandler/onap/CommonLogger.py", "linen o": 322, "function": "_monitorConfigFile", "line": "time.sleep(5)"}]}, {"thread_id": 139628955965184, "thread_name": "Thread-1", "thread_stack": [{"filename": "/usr/loc al/lib/python3.6/threading.py", "lineno": 884, "function": "_bootstrap", "line": "self._bootstrap_inner()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "line no": 916, "function": "_bootstrap_inner", "line": "self.run()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 864, "function": "run", "line": "self._ target(*self._args, **self._kwargs)"}, {"filename": "/opt/app/policy_handler/policyhandler/onap/CommonLogger.py", "lineno": 322, "function": "_monitorConfigFile", "line ": "time.sleep(5)"}]}, {"thread_id": 139628988987200, "thread_name": "MainThread", "thread_stack": [{"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 1294 , "function": "_shutdown", "line": "t.join()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 1056, "function": "join", "line": "self._wait_for_tstate _lock()"}, {"filename": "/usr/local/lib/python3.6/threading.py", "lineno": 1072, "function": "_wait_for_tstate_lock", "line": "elif lock.acquire(block, timeout):"}]}]} 20200402_162629.255 INFO policy_updater policy_handler.policy_updater.run: waiting for policy-updates... 20200402_162636.309 DEBUG policy_listener urllib3.connectionpool._make_request: https://message-router:3905 "GET /events/POLICY-NOTIFICATION/policy-handler/ph1?timeo ut=15000 HTTP/1.1" 200 2 20200402_162636.310 INFO policy_listener policy_handler.pdp_api.dmaap_mr.get_policy_updates: response 200 from get from dmaap_mr at https://message-router:3905/even ts/POLICY-NOTIFICATION/policy-handler/ph1 with params={"timeout": 15000}, headers={"Content-Type": "application/json", "X-ONAP-RequestID": "2f9d05ea-6174-4f57-b0db-5dd0 6be926b0", "X-ECOMP-RequestID": "2f9d05ea-6174-4f57-b0db-5dd06be926b0"}, custom_kwargs({"verify": "/opt/app/policy_handler/etc/tls/certs/cacert.pem"}) timeout_in_secs(6 0): text=[] headers={"Date": "Thu, 02 Apr 2020 16:26:21 GMT", "Cache-Control": "no-store, no-cache, must-revalidate", "Pragma": "no-cache", "Expires": "0", "Content-Typ e": "application/json", "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "breadcrumbId": "ID-dev-message-router-0-message-router-onap-svc-cluster-local-158568254949 4-0-793433", "timeout": "15000", "User-Agent": "python-requests/2.23.0", "X-CSI-Internal-WriteableRequest": "true", "X-ECOMP-RequestID": "2f9d05ea-6174-4f57-b0db-5dd06b e926b0", "X-ONAP-RequestID": "2f9d05ea-6174-4f57-b0db-5dd06be926b0", "Content-Length": "2", "Server": "Jetty(9.4.z-SNAPSHOT)"} 20200402_162636.311 INFO policy_listener policy_handler.pdp_api.policy_listener.run: no policy-updates: [] TCA LOGS on Config change ========================= Newly received configuration/preference identical from the running instance's ======================================================> Thu Apr 2 16:22:50 UTC 2020 TCADMaaPMRPublisherWorker status: {"status":"RUNNING"} TCADMaaPMRSubscriberWorker status: {"status":"RUNNING"} TCAVESCollectorFlow status: {"status":"RUNNING"} tca_poll_policy: Retrieving all-in-one config at config-binding-service:10000/service_component_all/s389b8a9925ad4c4aa1c68cdf11d93521-dcaegen2-analytics-tca tca_poll_policy: CONFIG is [{ "tcaVESAlertsTableTTLSeconds": "1728000", "thresholdCalculatorFlowletInstances": "2", "tcaAlertsAbatementTableTTLSeconds": "1728000", "tcaAlertsAbatementTableName": "TCAAlertsAbatementTable", "appName": "dcae-tca", "appDescription": "DCAE Analytics Threshold Crossing Alert Application", "tcaSubscriberOutputStreamName": "TCASubscriberOutputStream", "tcaVESMessageStatusTableTTLSeconds": "86400", "tcaVESAlertsTableName": "TCAVESAlertsTable", "tcaVESMessageStatusTableName": "TCAVESMessageStatusTable" }], PREF is [{ "aaiEnrichmentIgnoreSSLCertificateErrors": "true", "publisherMaxRecoveryQueueSize": "100000", "subscriberConsumerId": "c12", "aaiVNFEnrichmentAPIPath": "/aai/v11/network/generic-vnfs/generic-vnf", "aaiEnrichmentUserPassword": "demo123456!", "publisherHostName": "message-router.onap.svc.cluster.local", "aaiEnrichmentPortNumber": "8443", "publisherPollingInterval": "20000", "subscriberProtocol": "http", "aaiEnrichmentHost": "aai.onap.svc.cluster.local", "enableRedisCaching": "false", "subscriberContentType": "application/json", "subscriberHostName": "message-router.onap.svc.cluster.local", "redisHosts": "dcae-redis.onap.svc.cluster.local:6379", "publisherContentType": "application/json", "subscriberTopicName": "unauthenticated.VES_MEASUREMENT_OUTPUT", "aaiVMEnrichmentAPIPath": "/aai/v11/search/nodes-query", "publisherMaxBatchSize": "1", "publisherProtocol": "http", "publisherHostPort": "3904", "subscriberMessageLimit": "-1", "tca_policy": "", "enableAAIEnrichment": "true", "publisherTopicName": "unauthenticated.DCAE_CL_OUTPUT", "subscriberPollingInterval": "30000", "aaiEnrichmentProtocol": "https", "enableAlertCEFFormat": "false", "subscriberConsumerGroup": "OpenDCAE-clamp", "subscriberHostPort": "3904", "aaiEnrichmentUserName": "dcae@dcae.onap.org", "subscriberTimeoutMS": "-1" }], POLICY is [{ "domain": "measurementsForVfScaling", "metricsPerEventName": [ { "policyName": "DCAE.Config_tca-hi-lo", "policyScope": "DCAE", "thresholds": [ { "direction": "LESS_OR_EQUAL", "severity": "MAJOR", "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "version": "1.0.2", "closedLoopEventStatus": "ONSET", "thresholdValue": 100 }, { "direction": "GREATER_OR_EQUAL", "severity": "CRITICAL", "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "version": "1.0.2", "closedLoopEventStatus": "ONSET", "thresholdValue": 1000 } ], "eventName": "vFirewallBroadcastPackets", "controlLoopSchemaType": "VM", "policyVersion": "v0.0.1" } ] }] Newly received configuration/preference identical from the running instance's ======================================================> Thu Apr 2 16:23:20 UTC 2020 TCADMaaPMRPublisherWorker status: {"status":"RUNNING"} TCADMaaPMRSubscriberWorker status: {"status":"RUNNING"} TCAVESCollectorFlow status: {"status":"RUNNING"} tca_poll_policy: Retrieving all-in-one config at config-binding-service:10000/service_component_all/s389b8a9925ad4c4aa1c68cdf11d93521-dcaegen2-analytics-tca tca_poll_policy: CONFIG is [{ "tcaVESAlertsTableTTLSeconds": "1728000", "thresholdCalculatorFlowletInstances": "2", "tcaAlertsAbatementTableTTLSeconds": "1728000", "tcaAlertsAbatementTableName": "TCAAlertsAbatementTable", "appName": "dcae-tca", "appDescription": "DCAE Analytics Threshold Crossing Alert Application", "tcaSubscriberOutputStreamName": "TCASubscriberOutputStream", "tcaVESMessageStatusTableTTLSeconds": "86400", "tcaVESAlertsTableName": "TCAVESAlertsTable", "tcaVESMessageStatusTableName": "TCAVESMessageStatusTable" }], PREF is [{ "aaiEnrichmentIgnoreSSLCertificateErrors": "true", "publisherMaxRecoveryQueueSize": "100000", "subscriberConsumerId": "c12", "aaiVNFEnrichmentAPIPath": "/aai/v11/network/generic-vnfs/generic-vnf", "aaiEnrichmentUserPassword": "demo123456!", "publisherHostName": "message-router.onap.svc.cluster.local", "aaiEnrichmentPortNumber": "8443", "publisherPollingInterval": "20000", "subscriberProtocol": "http", "aaiEnrichmentHost": "aai.onap.svc.cluster.local", "enableRedisCaching": "false", "subscriberContentType": "application/json", "subscriberHostName": "message-router.onap.svc.cluster.local", "redisHosts": "dcae-redis.onap.svc.cluster.local:6379", "publisherContentType": "application/json", "subscriberTopicName": "unauthenticated.VES_MEASUREMENT_OUTPUT", "aaiVMEnrichmentAPIPath": "/aai/v11/search/nodes-query", "publisherMaxBatchSize": "1", "publisherProtocol": "http", "publisherHostPort": "3904", "subscriberMessageLimit": "-1", "tca_policy": "", "enableAAIEnrichment": "true", "publisherTopicName": "unauthenticated.DCAE_CL_OUTPUT", "subscriberPollingInterval": "30000", "aaiEnrichmentProtocol": "https", "enableAlertCEFFormat": "false", "subscriberConsumerGroup": "OpenDCAE-clamp", "subscriberHostPort": "3904", "aaiEnrichmentUserName": "dcae@dcae.onap.org", "subscriberTimeoutMS": "-1" }], POLICY is [null] 32c32 < "tca_policy": "{ \"domain\": \"measurementsForVfScaling\", \"metricsPerEventName\": [ { \"policyName\": \"DCAE.Config_tca-hi-lo\", \"policyScope\": \"DCAE\", \"thresholds\": [ { \"direction\": \"LESS_OR_EQUAL\", \"severity\": \"MAJOR\", \"closedLoopControlName\": \"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a\", \"fieldPath\": \"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta\", \"version\": \"1.0.2\", \"closedLoopEventStatus\": \"ONSET\", \"thresholdValue\": 100 }, { \"direction\": \"GREATER_OR_EQUAL\", \"severity\": \"CRITICAL\", \"closedLoopControlName\": \"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a\", \"fieldPath\": \"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta\", \"version\": \"1.0.2\", \"closedLoopEventStatus\": \"ONSET\", \"thresholdValue\": 1000 } ], \"eventName\": \"vFirewallBroadcastPackets\", \"controlLoopSchemaType\": \"VM\", \"policyVersion\": \"v0.0.1\" } ]}" --- > "tca_policy": "" TCA preference updated Newly received configuration/preference differ from the running instance's. reload confg Verifying DMaaP topic: unauthenticated.VES_MEASUREMENT_OUTPUT@message-router.onap.svc.cluster.local:3904 (will block until topic ready) ==> Check topic [unauthenticated.VES_MEASUREMENT_OUTPUT] availbility on message-router.onap.svc.cluster.local:3904 ==> MR topic listing received, check topic availbility ==> Topic [unauthenticated.VES_MEASUREMENT_OUTPUT] ready Stopping TCADMaaPMRPublisherWorker, TCADMaaPMRSubscriberWorker, and TCAVESCollectorFlow ... done Deleting application dcae-tca http://localhost:11015/v3/namespaces/cdap_tca_hi_lo/apps/dcae-tca Deleting artifact http://localhost:11015/v3/namespaces/cdap_tca_hi_lo/artifacts/dcae-analytics-cdap-tca/versions/2.3.0 ... Loading artifact /opt/tca/dcae-analytics-cdap-tca.2.3.0.jar to http://localhost:11015/v3/namespaces/cdap_tca_hi_lo/artifacts/dcae-analytics-cdap-tca... Artifact added successfully Loading configuration /opt/tca/tca_app_config.json to http://localhost:11015/v3/namespaces/cdap_tca_hi_lo/apps/dcae-tca Deploy Complete Loading preferences /opt/tca/tca_app_preferences.json to http://localhost:11015/v3/namespaces/cdap_tca_hi_lo/apps/dcae-tca/preferences Starting TCADMaaPMRPublisherWorker, TCADMaaPMRSubscriberWorker, and TCAVESCollectorFlow ... TCADMaaPMRPublisherWorker status: {"status":"RUNNING"} TCADMaaPMRSubscriberWorker status: {"status":"RUNNING"} TCAVESCollectorFlow status: {"status":"RUNNING"} ======================================================> Thu Apr 2 16:24:09 UTC 2020 TCADMaaPMRPublisherWorker status: {"status":"RUNNING"} TCADMaaPMRSubscriberWorker status: {"status":"RUNNING"} TCAVESCollectorFlow status: {"status":"RUNNING"} tca_poll_policy: Retrieving all-in-one config at config-binding-service:10000/service_component_all/s389b8a9925ad4c4aa1c68cdf11d93521-dcaegen2-analytics-tca tca_poll_policy: CONFIG is [{ "tcaVESAlertsTableTTLSeconds": "1728000", "thresholdCalculatorFlowletInstances": "2", "tcaAlertsAbatementTableTTLSeconds": "1728000", "tcaAlertsAbatementTableName": "TCAAlertsAbatementTable", "appName": "dcae-tca", "appDescription": "DCAE Analytics Threshold Crossing Alert Application", "tcaSubscriberOutputStreamName": "TCASubscriberOutputStream", "tcaVESMessageStatusTableTTLSeconds": "86400", "tcaVESAlertsTableName": "TCAVESAlertsTable", "tcaVESMessageStatusTableName": "TCAVESMessageStatusTable" }], PREF is [{ "aaiEnrichmentIgnoreSSLCertificateErrors": "true", "publisherMaxRecoveryQueueSize": "100000", "subscriberConsumerId": "c12", "aaiVNFEnrichmentAPIPath": "/aai/v11/network/generic-vnfs/generic-vnf", "aaiEnrichmentUserPassword": "demo123456!", "publisherHostName": "message-router.onap.svc.cluster.local", "aaiEnrichmentPortNumber": "8443", "publisherPollingInterval": "20000", "subscriberProtocol": "http", "aaiEnrichmentHost": "aai.onap.svc.cluster.local", "enableRedisCaching": "false", "subscriberContentType": "application/json", "subscriberHostName": "message-router.onap.svc.cluster.local", "redisHosts": "dcae-redis.onap.svc.cluster.local:6379", "publisherContentType": "application/json", "subscriberTopicName": "unauthenticated.VES_MEASUREMENT_OUTPUT", "aaiVMEnrichmentAPIPath": "/aai/v11/search/nodes-query", "publisherMaxBatchSize": "1", "publisherProtocol": "http", "publisherHostPort": "3904", "subscriberMessageLimit": "-1", "tca_policy": "", "enableAAIEnrichment": "true", "publisherTopicName": "unauthenticated.DCAE_CL_OUTPUT", "subscriberPollingInterval": "30000", "aaiEnrichmentProtocol": "https", "enableAlertCEFFormat": "false", "subscriberConsumerGroup": "OpenDCAE-clamp", "subscriberHostPort": "3904", "aaiEnrichmentUserName": "dcae@dcae.onap.org", "subscriberTimeoutMS": "-1" }], POLICY is [null] Newly received configuration/preference identical from the running instance's ======================================================> Thu Apr 2 16:24:39 UTC 2020 TCADMaaPMRPublisherWorker status: {"status":"RUNNING"} TCADMaaPMRSubscriberWorker status: {"status":"RUNNING"} TCAVESCollectorFlow status: {"status":"RUNNING"} tca_poll_policy: Retrieving all-in-one config at config-binding-service:10000/service_component_all/s389b8a9925ad4c4aa1c68cdf11d93521-dcaegen2-analytics-tca tca_poll_policy: CONFIG is [{ "tcaVESAlertsTableTTLSeconds": "1728000", "thresholdCalculatorFlowletInstances": "2", "tcaAlertsAbatementTableTTLSeconds": "1728000", "tcaAlertsAbatementTableName": "TCAAlertsAbatementTable", "appName": "dcae-tca", "appDescription": "DCAE Analytics Threshold Crossing Alert Application", "tcaSubscriberOutputStreamName": "TCASubscriberOutputStream", "tcaVESMessageStatusTableTTLSeconds": "86400", "tcaVESAlertsTableName": "TCAVESAlertsTable", "tcaVESMessageStatusTableName": "TCAVESMessageStatusTable" }], PREF is [{ "aaiEnrichmentIgnoreSSLCertificateErrors": "true", "publisherMaxRecoveryQueueSize": "100000", "subscriberConsumerId": "c12", "aaiVNFEnrichmentAPIPath": "/aai/v11/network/generic-vnfs/generic-vnf", "aaiEnrichmentUserPassword": "demo123456!", "publisherHostName": "message-router.onap.svc.cluster.local", "aaiEnrichmentPortNumber": "8443", "publisherPollingInterval": "20000", "subscriberProtocol": "http", "aaiEnrichmentHost": "aai.onap.svc.cluster.local", "enableRedisCaching": "false", "subscriberContentType": "application/json", "subscriberHostName": "message-router.onap.svc.cluster.local", "redisHosts": "dcae-redis.onap.svc.cluster.local:6379", "publisherContentType": "application/json", "subscriberTopicName": "unauthenticated.VES_MEASUREMENT_OUTPUT", "aaiVMEnrichmentAPIPath": "/aai/v11/search/nodes-query", "publisherMaxBatchSize": "1", "publisherProtocol": "http", "publisherHostPort": "3904", "subscriberMessageLimit": "-1", "tca_policy": "", "enableAAIEnrichment": "true", "publisherTopicName": "unauthenticated.DCAE_CL_OUTPUT", "subscriberPollingInterval": "30000", "aaiEnrichmentProtocol": "https", "enableAlertCEFFormat": "false", "subscriberConsumerGroup": "OpenDCAE-clamp", "subscriberHostPort": "3904", "aaiEnrichmentUserName": "dcae@dcae.onap.org", "subscriberTimeoutMS": "-1" }], POLICY is [null] Newly received configuration/preference identical from the running instance's ======================================================> Thu Apr 2 16:25:09 UTC 2020 TCADMaaPMRPublisherWorker status: {"status":"RUNNING"} TCADMaaPMRSubscriberWorker status: {"status":"RUNNING"} TCAVESCollectorFlow status: {"status":"RUNNING"} tca_poll_policy: Retrieving all-in-one config at config-binding-service:10000/service_component_all/s389b8a9925ad4c4aa1c68cdf11d93521-dcaegen2-analytics-tca tca_poll_policy: CONFIG is [{ "tcaVESAlertsTableTTLSeconds": "1728000", "thresholdCalculatorFlowletInstances": "2", "tcaAlertsAbatementTableTTLSeconds": "1728000", "tcaAlertsAbatementTableName": "TCAAlertsAbatementTable", "appName": "dcae-tca", "appDescription": "DCAE Analytics Threshold Crossing Alert Application", "tcaSubscriberOutputStreamName": "TCASubscriberOutputStream", "tcaVESMessageStatusTableTTLSeconds": "86400", "tcaVESAlertsTableName": "TCAVESAlertsTable", "tcaVESMessageStatusTableName": "TCAVESMessageStatusTable" }], PREF is [{ "aaiEnrichmentIgnoreSSLCertificateErrors": "true", "publisherMaxRecoveryQueueSize": "100000", "subscriberConsumerId": "c12", "aaiVNFEnrichmentAPIPath": "/aai/v11/network/generic-vnfs/generic-vnf", "aaiEnrichmentUserPassword": "demo123456!", "publisherHostName": "message-router.onap.svc.cluster.local", "aaiEnrichmentPortNumber": "8443", "publisherPollingInterval": "20000", "subscriberProtocol": "http", "aaiEnrichmentHost": "aai.onap.svc.cluster.local", "enableRedisCaching": "false", "subscriberContentType": "application/json", "subscriberHostName": "message-router.onap.svc.cluster.local", "redisHosts": "dcae-redis.onap.svc.cluster.local:6379", "publisherContentType": "application/json", "subscriberTopicName": "unauthenticated.VES_MEASUREMENT_OUTPUT", "aaiVMEnrichmentAPIPath": "/aai/v11/search/nodes-query", "publisherMaxBatchSize": "1", "publisherProtocol": "http", "publisherHostPort": "3904", "subscriberMessageLimit": "-1", "tca_policy": "", "enableAAIEnrichment": "true", "publisherTopicName": "unauthenticated.DCAE_CL_OUTPUT", "subscriberPollingInterval": "30000", "aaiEnrichmentProtocol": "https", "enableAlertCEFFormat": "false", "subscriberConsumerGroup": "OpenDCAE-clamp", "subscriberHostPort": "3904", "aaiEnrichmentUserName": "dcae@dcae.onap.org", "subscriberTimeoutMS": "-1" }], POLICY is [null] Newly received configuration/preference identical from the running instance's ======================================================> Thu Apr 2 16:25:39 UTC 2020 TCADMaaPMRPublisherWorker status: {"status":"RUNNING"} TCADMaaPMRSubscriberWorker status: {"status":"RUNNING"} TCAVESCollectorFlow status: {"status":"RUNNING"} tca_poll_policy: Retrieving all-in-one config at config-binding-service:10000/service_component_all/s389b8a9925ad4c4aa1c68cdf11d93521-dcaegen2-analytics-tca tca_poll_policy: CONFIG is [{ "tcaVESAlertsTableTTLSeconds": "1728000", "thresholdCalculatorFlowletInstances": "2", "tcaAlertsAbatementTableTTLSeconds": "1728000", "tcaAlertsAbatementTableName": "TCAAlertsAbatementTable", "appName": "dcae-tca", "appDescription": "DCAE Analytics Threshold Crossing Alert Application", "tcaSubscriberOutputStreamName": "TCASubscriberOutputStream", "tcaVESMessageStatusTableTTLSeconds": "86400", "tcaVESAlertsTableName": "TCAVESAlertsTable", "tcaVESMessageStatusTableName": "TCAVESMessageStatusTable" }], PREF is [{ "aaiEnrichmentIgnoreSSLCertificateErrors": "true", "publisherMaxRecoveryQueueSize": "100000", "subscriberConsumerId": "c12", "aaiVNFEnrichmentAPIPath": "/aai/v11/network/generic-vnfs/generic-vnf", "aaiEnrichmentUserPassword": "demo123456!", "publisherHostName": "message-router.onap.svc.cluster.local", "aaiEnrichmentPortNumber": "8443", "publisherPollingInterval": "20000", "subscriberProtocol": "http", "aaiEnrichmentHost": "aai.onap.svc.cluster.local", "enableRedisCaching": "false", "subscriberContentType": "application/json", "subscriberHostName": "message-router.onap.svc.cluster.local", "redisHosts": "dcae-redis.onap.svc.cluster.local:6379", "publisherContentType": "application/json", "subscriberTopicName": "unauthenticated.VES_MEASUREMENT_OUTPUT", "aaiVMEnrichmentAPIPath": "/aai/v11/search/nodes-query", "publisherMaxBatchSize": "1", "publisherProtocol": "http", "publisherHostPort": "3904", "subscriberMessageLimit": "-1", "tca_policy": "", "enableAAIEnrichment": "true", "publisherTopicName": "unauthenticated.DCAE_CL_OUTPUT", "subscriberPollingInterval": "30000", "aaiEnrichmentProtocol": "https", "enableAlertCEFFormat": "false", "subscriberConsumerGroup": "OpenDCAE-clamp", "subscriberHostPort": "3904", "aaiEnrichmentUserName": "dcae@dcae.onap.org", "subscriberTimeoutMS": "-1" }], POLICY is [null] Newly received configuration/preference identical from the running instance's ======================================================> Thu Apr 2 16:26:09 UTC 2020 TCADMaaPMRPublisherWorker status: {"status":"RUNNING"} TCADMaaPMRSubscriberWorker status: {"status":"RUNNING"} TCAVESCollectorFlow status: {"status":"RUNNING"} tca_poll_policy: Retrieving all-in-one config at config-binding-service:10000/service_component_all/s389b8a9925ad4c4aa1c68cdf11d93521-dcaegen2-analytics-tca tca_poll_policy: CONFIG is [{ "tcaVESAlertsTableTTLSeconds": "1728000", "thresholdCalculatorFlowletInstances": "2", "tcaAlertsAbatementTableTTLSeconds": "1728000", "tcaAlertsAbatementTableName": "TCAAlertsAbatementTable", "appName": "dcae-tca", "appDescription": "DCAE Analytics Threshold Crossing Alert Application", "tcaSubscriberOutputStreamName": "TCASubscriberOutputStream", "tcaVESMessageStatusTableTTLSeconds": "86400", "tcaVESAlertsTableName": "TCAVESAlertsTable", "tcaVESMessageStatusTableName": "TCAVESMessageStatusTable" }], PREF is [{ "aaiEnrichmentIgnoreSSLCertificateErrors": "true", "publisherMaxRecoveryQueueSize": "100000", "subscriberConsumerId": "c12", "aaiVNFEnrichmentAPIPath": "/aai/v11/network/generic-vnfs/generic-vnf", "aaiEnrichmentUserPassword": "demo123456!", "publisherHostName": "message-router.onap.svc.cluster.local", "aaiEnrichmentPortNumber": "8443", "publisherPollingInterval": "20000", "subscriberProtocol": "http", "aaiEnrichmentHost": "aai.onap.svc.cluster.local", "enableRedisCaching": "false", "subscriberContentType": "application/json", "subscriberHostName": "message-router.onap.svc.cluster.local", "redisHosts": "dcae-redis.onap.svc.cluster.local:6379", "publisherContentType": "application/json", "subscriberTopicName": "unauthenticated.VES_MEASUREMENT_OUTPUT", "aaiVMEnrichmentAPIPath": "/aai/v11/search/nodes-query", "publisherMaxBatchSize": "1", "publisherProtocol": "http", "publisherHostPort": "3904", "subscriberMessageLimit": "-1", "tca_policy": "", "enableAAIEnrichment": "true", "publisherTopicName": "unauthenticated.DCAE_CL_OUTPUT", "subscriberPollingInterval": "30000", "aaiEnrichmentProtocol": "https", "enableAlertCEFFormat": "false", "subscriberConsumerGroup": "OpenDCAE-clamp", "subscriberHostPort": "3904", "aaiEnrichmentUserName": "dcae@dcae.onap.org", "subscriberTimeoutMS": "-1" }], POLICY is [null] Newly received configuration/preference identical from the running instance's ======================================================> Thu Apr 2 16:26:39 UTC 2020 TCADMaaPMRPublisherWorker status: {"status":"RUNNING"} TCADMaaPMRSubscriberWorker status: {"status":"RUNNING"} TCAVESCollectorFlow status: {"status":"RUNNING"} tca_poll_policy: Retrieving all-in-one config at config-binding-service:10000/service_component_all/s389b8a9925ad4c4aa1c68cdf11d93521-dcaegen2-analytics-tca tca_poll_policy: CONFIG is [{ "tcaVESAlertsTableTTLSeconds": "1728000", "thresholdCalculatorFlowletInstances": "2", "tcaAlertsAbatementTableTTLSeconds": "1728000", "tcaAlertsAbatementTableName": "TCAAlertsAbatementTable", "appName": "dcae-tca", "appDescription": "DCAE Analytics Threshold Crossing Alert Application", "tcaSubscriberOutputStreamName": "TCASubscriberOutputStream", "tcaVESMessageStatusTableTTLSeconds": "86400", "tcaVESAlertsTableName": "TCAVESAlertsTable", "tcaVESMessageStatusTableName": "TCAVESMessageStatusTable" }], PREF is [{ "aaiEnrichmentIgnoreSSLCertificateErrors": "true", "publisherMaxRecoveryQueueSize": "100000", "subscriberConsumerId": "c12", "aaiVNFEnrichmentAPIPath": "/aai/v11/network/generic-vnfs/generic-vnf", "aaiEnrichmentUserPassword": "demo123456!", "publisherHostName": "message-router.onap.svc.cluster.local", "aaiEnrichmentPortNumber": "8443", "publisherPollingInterval": "20000", "subscriberProtocol": "http", "aaiEnrichmentHost": "aai.onap.svc.cluster.local", "enableRedisCaching": "false", "subscriberContentType": "application/json", "subscriberHostName": "message-router.onap.svc.cluster.local", "redisHosts": "dcae-redis.onap.svc.cluster.local:6379", "publisherContentType": "application/json", "subscriberTopicName": "unauthenticated.VES_MEASUREMENT_OUTPUT", "aaiVMEnrichmentAPIPath": "/aai/v11/search/nodes-query", "publisherMaxBatchSize": "1", "publisherProtocol": "http", "publisherHostPort": "3904", "subscriberMessageLimit": "-1", "tca_policy": "", "enableAAIEnrichment": "true", "publisherTopicName": "unauthenticated.DCAE_CL_OUTPUT", "subscriberPollingInterval": "30000", "aaiEnrichmentProtocol": "https", "enableAlertCEFFormat": "false", "subscriberConsumerGroup": "OpenDCAE-clamp", "subscriberHostPort": "3904", "aaiEnrichmentUserName": "dcae@dcae.onap.org", "subscriberTimeoutMS": "-1" }], POLICY is [{ "domain": "measurementsForVfScaling", "metricsPerEventName": [ { "policyName": "DCAE.Config_tca-hi-lo", "policyScope": "DCAE", "thresholds": [ { "direction": "LESS_OR_EQUAL", "severity": "MAJOR", "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "version": "1.0.2", "closedLoopEventStatus": "ONSET", "thresholdValue": 100 }, { "direction": "GREATER_OR_EQUAL", "severity": "CRITICAL", "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "version": "1.0.2", "closedLoopEventStatus": "ONSET", "thresholdValue": 2000 } ], "eventName": "vFirewallBroadcastPackets", "controlLoopSchemaType": "VM", "policyVersion": "v0.0.1" } ] }] 32c32 < "tca_policy": "" --- > "tca_policy": "{ \"domain\": \"measurementsForVfScaling\", \"metricsPerEventName\": [ { \"policyName\": \"DCAE.Config_tca-hi-lo\", \"policyScope\": \"DCAE\", \"thresholds\": [ { \"direction\": \"LESS_OR_EQUAL\", \"severity\": \"MAJOR\", \"closedLoopControlName\": \"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a\", \"fieldPath\": \"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta\", \"version\": \"1.0.2\", \"closedLoopEventStatus\": \"ONSET\", \"thresholdValue\": 100 }, { \"direction\": \"GREATER_OR_EQUAL\", \"severity\": \"CRITICAL\", \"closedLoopControlName\": \"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a\", \"fieldPath\": \"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta\", \"version\": \"1.0.2\", \"closedLoopEventStatus\": \"ONSET\", \"thresholdValue\": 2000 } ], \"eventName\": \"vFirewallBroadcastPackets\", \"controlLoopSchemaType\": \"VM\", \"policyVersion\": \"v0.0.1\" } ]}" TCA preference updated Newly received configuration/preference differ from the running instance's. reload confg Verifying DMaaP topic: unauthenticated.VES_MEASUREMENT_OUTPUT@message-router.onap.svc.cluster.local:3904 (will block until topic ready) ==> Check topic [unauthenticated.VES_MEASUREMENT_OUTPUT] availbility on message-router.onap.svc.cluster.local:3904 ==> MR topic listing received, check topic availbility ==> Topic [unauthenticated.VES_MEASUREMENT_OUTPUT] ready Stopping TCADMaaPMRPublisherWorker, TCADMaaPMRSubscriberWorker, and TCAVESCollectorFlow ... done Deleting application dcae-tca http://localhost:11015/v3/namespaces/cdap_tca_hi_lo/apps/dcae-tca Deleting artifact http://localhost:11015/v3/namespaces/cdap_tca_hi_lo/artifacts/dcae-analytics-cdap-tca/versions/2.3.0 ... Loading artifact /opt/tca/dcae-analytics-cdap-tca.2.3.0.jar to http://localhost:11015/v3/namespaces/cdap_tca_hi_lo/artifacts/dcae-analytics-cdap-tca... Artifact added successfully Loading configuration /opt/tca/tca_app_config.json to http://localhost:11015/v3/namespaces/cdap_tca_hi_lo/apps/dcae-tca Deploy Complete Loading preferences /opt/tca/tca_app_preferences.json to http://localhost:11015/v3/namespaces/cdap_tca_hi_lo/apps/dcae-tca/preferences Starting TCADMaaPMRPublisherWorker, TCADMaaPMRSubscriberWorker, and TCAVESCollectorFlow ... TCADMaaPMRPublisherWorker status: {"status":"RUNNING"} TCADMaaPMRSubscriberWorker status: {"status":"RUNNING"} TCAVESCollectorFlow status: {"status":"RUNNING"} ======================================================> Thu Apr 2 16:27:24 UTC 2020 TCADMaaPMRPublisherWorker status: {"status":"RUNNING"} TCADMaaPMRSubscriberWorker status: {"status":"RUNNING"} TCAVESCollectorFlow status: {"status":"RUNNING"} tca_poll_policy: Retrieving all-in-one config at config-binding-service:10000/service_component_all/s389b8a9925ad4c4aa1c68cdf11d93521-dcaegen2-analytics-tca tca_poll_policy: CONFIG is [{ "tcaVESAlertsTableTTLSeconds": "1728000", "thresholdCalculatorFlowletInstances": "2", "tcaAlertsAbatementTableTTLSeconds": "1728000", "tcaAlertsAbatementTableName": "TCAAlertsAbatementTable", "appName": "dcae-tca", "appDescription": "DCAE Analytics Threshold Crossing Alert Application", "tcaSubscriberOutputStreamName": "TCASubscriberOutputStream", "tcaVESMessageStatusTableTTLSeconds": "86400", "tcaVESAlertsTableName": "TCAVESAlertsTable", "tcaVESMessageStatusTableName": "TCAVESMessageStatusTable" }], PREF is [{ "aaiEnrichmentIgnoreSSLCertificateErrors": "true", "publisherMaxRecoveryQueueSize": "100000", "subscriberConsumerId": "c12", "aaiVNFEnrichmentAPIPath": "/aai/v11/network/generic-vnfs/generic-vnf", "aaiEnrichmentUserPassword": "demo123456!", "publisherHostName": "message-router.onap.svc.cluster.local", "aaiEnrichmentPortNumber": "8443", "publisherPollingInterval": "20000", "subscriberProtocol": "http", "aaiEnrichmentHost": "aai.onap.svc.cluster.local", "enableRedisCaching": "false", "subscriberContentType": "application/json", "subscriberHostName": "message-router.onap.svc.cluster.local", "redisHosts": "dcae-redis.onap.svc.cluster.local:6379", "publisherContentType": "application/json", "subscriberTopicName": "unauthenticated.VES_MEASUREMENT_OUTPUT", "aaiVMEnrichmentAPIPath": "/aai/v11/search/nodes-query", "publisherMaxBatchSize": "1", "publisherProtocol": "http", "publisherHostPort": "3904", "subscriberMessageLimit": "-1", "tca_policy": "", "enableAAIEnrichment": "true", "publisherTopicName": "unauthenticated.DCAE_CL_OUTPUT", "subscriberPollingInterval": "30000", "aaiEnrichmentProtocol": "https", "enableAlertCEFFormat": "false", "subscriberConsumerGroup": "OpenDCAE-clamp", "subscriberHostPort": "3904", "aaiEnrichmentUserName": "dcae@dcae.onap.org", "subscriberTimeoutMS": "-1" }], POLICY is [{ "domain": "measurementsForVfScaling", "metricsPerEventName": [ { "policyName": "DCAE.Config_tca-hi-lo", "policyScope": "DCAE", "thresholds": [ { "direction": "LESS_OR_EQUAL", "severity": "MAJOR", "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "version": "1.0.2", "closedLoopEventStatus": "ONSET", "thresholdValue": 100 }, { "direction": "GREATER_OR_EQUAL", "severity": "CRITICAL", "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "version": "1.0.2", "closedLoopEventStatus": "ONSET", "thresholdValue": 2000 } ], "eventName": "vFirewallBroadcastPackets", "controlLoopSchemaType": "VM", "policyVersion": "v0.0.1" } ] }] Newly received configuration/preference identical from the running instance's ======================================================> Thu Apr 2 16:27:54 UTC 2020 TCADMaaPMRPublisherWorker status: {"status":"RUNNING"} TCADMaaPMRSubscriberWorker status: {"status":"RUNNING"} TCAVESCollectorFlow status: {"status":"RUNNING"} tca_poll_policy: Retrieving all-in-one config at config-binding-service:10000/service_component_all/s389b8a9925ad4c4aa1c68cdf11d93521-dcaegen2-analytics-tca tca_poll_policy: CONFIG is [{ "tcaVESAlertsTableTTLSeconds": "1728000", "thresholdCalculatorFlowletInstances": "2", "tcaAlertsAbatementTableTTLSeconds": "1728000", "tcaAlertsAbatementTableName": "TCAAlertsAbatementTable", "appName": "dcae-tca", "appDescription": "DCAE Analytics Threshold Crossing Alert Application", "tcaSubscriberOutputStreamName": "TCASubscriberOutputStream", "tcaVESMessageStatusTableTTLSeconds": "86400", "tcaVESAlertsTableName": "TCAVESAlertsTable", "tcaVESMessageStatusTableName": "TCAVESMessageStatusTable" }], PREF is [{ "aaiEnrichmentIgnoreSSLCertificateErrors": "true", "publisherMaxRecoveryQueueSize": "100000", "subscriberConsumerId": "c12", "aaiVNFEnrichmentAPIPath": "/aai/v11/network/generic-vnfs/generic-vnf", "aaiEnrichmentUserPassword": "demo123456!", "publisherHostName": "message-router.onap.svc.cluster.local", "aaiEnrichmentPortNumber": "8443", "publisherPollingInterval": "20000", "subscriberProtocol": "http", "aaiEnrichmentHost": "aai.onap.svc.cluster.local", "enableRedisCaching": "false", "subscriberContentType": "application/json", "subscriberHostName": "message-router.onap.svc.cluster.local", "redisHosts": "dcae-redis.onap.svc.cluster.local:6379", "publisherContentType": "application/json", "subscriberTopicName": "unauthenticated.VES_MEASUREMENT_OUTPUT", "aaiVMEnrichmentAPIPath": "/aai/v11/search/nodes-query", "publisherMaxBatchSize": "1", "publisherProtocol": "http", "publisherHostPort": "3904", "subscriberMessageLimit": "-1", "tca_policy": "", "enableAAIEnrichment": "true", "publisherTopicName": "unauthenticated.DCAE_CL_OUTPUT", "subscriberPollingInterval": "30000", "aaiEnrichmentProtocol": "https", "enableAlertCEFFormat": "false", "subscriberConsumerGroup": "OpenDCAE-clamp", "subscriberHostPort": "3904", "aaiEnrichmentUserName": "dcae@dcae.onap.org", "subscriberTimeoutMS": "-1" }], POLICY is [{ "domain": "measurementsForVfScaling", "metricsPerEventName": [ { "policyName": "DCAE.Config_tca-hi-lo", "policyScope": "DCAE", "thresholds": [ { "direction": "LESS_OR_EQUAL", "severity": "MAJOR", "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "version": "1.0.2", "closedLoopEventStatus": "ONSET", "thresholdValue": 100 }, { "direction": "GREATER_OR_EQUAL", "severity": "CRITICAL", "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "version": "1.0.2", "closedLoopEventStatus": "ONSET", "thresholdValue": 2000 } ], "eventName": "vFirewallBroadcastPackets", "controlLoopSchemaType": "VM", "policyVersion": "v0.0.1" } ] }] Newly received configuration/preference identical from the running instance's ======================================================> Thu Apr 2 16:28:24 UTC 2020 TCADMaaPMRPublisherWorker status: {"status":"RUNNING"} TCADMaaPMRSubscriberWorker status: {"status":"RUNNING"} TCAVESCollectorFlow status: {"status":"RUNNING"} tca_poll_policy: Retrieving all-in-one config at config-binding-service:10000/service_component_all/s389b8a9925ad4c4aa1c68cdf11d93521-dcaegen2-analytics-tca tca_poll_policy: CONFIG is [{ "tcaVESAlertsTableTTLSeconds": "1728000", "thresholdCalculatorFlowletInstances": "2", "tcaAlertsAbatementTableTTLSeconds": "1728000", "tcaAlertsAbatementTableName": "TCAAlertsAbatementTable", "appName": "dcae-tca", "appDescription": "DCAE Analytics Threshold Crossing Alert Application", "tcaSubscriberOutputStreamName": "TCASubscriberOutputStream", "tcaVESMessageStatusTableTTLSeconds": "86400", "tcaVESAlertsTableName": "TCAVESAlertsTable", "tcaVESMessageStatusTableName": "TCAVESMessageStatusTable" }], PREF is [{ "aaiEnrichmentIgnoreSSLCertificateErrors": "true", "publisherMaxRecoveryQueueSize": "100000", "subscriberConsumerId": "c12", "aaiVNFEnrichmentAPIPath": "/aai/v11/network/generic-vnfs/generic-vnf", "aaiEnrichmentUserPassword": "demo123456!", "publisherHostName": "message-router.onap.svc.cluster.local", "aaiEnrichmentPortNumber": "8443", "publisherPollingInterval": "20000", "subscriberProtocol": "http", "aaiEnrichmentHost": "aai.onap.svc.cluster.local", "enableRedisCaching": "false", "subscriberContentType": "application/json", "subscriberHostName": "message-router.onap.svc.cluster.local", "redisHosts": "dcae-redis.onap.svc.cluster.local:6379", "publisherContentType": "application/json", "subscriberTopicName": "unauthenticated.VES_MEASUREMENT_OUTPUT", "aaiVMEnrichmentAPIPath": "/aai/v11/search/nodes-query", "publisherMaxBatchSize": "1", "publisherProtocol": "http", "publisherHostPort": "3904", "subscriberMessageLimit": "-1", "tca_policy": "", "enableAAIEnrichment": "true", "publisherTopicName": "unauthenticated.DCAE_CL_OUTPUT", "subscriberPollingInterval": "30000", "aaiEnrichmentProtocol": "https", "enableAlertCEFFormat": "false", "subscriberConsumerGroup": "OpenDCAE-clamp", "subscriberHostPort": "3904", "aaiEnrichmentUserName": "dcae@dcae.onap.org", "subscriberTimeoutMS": "-1" }], POLICY is [{ "domain": "measurementsForVfScaling", "metricsPerEventName": [ { "policyName": "DCAE.Config_tca-hi-lo", "policyScope": "DCAE", "thresholds": [ { "direction": "LESS_OR_EQUAL", "severity": "MAJOR", "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "version": "1.0.2", "closedLoopEventStatus": "ONSET", "thresholdValue": 100 }, { "direction": "GREATER_OR_EQUAL", "severity": "CRITICAL", "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "version": "1.0.2", "closedLoopEventStatus": "ONSET", "thresholdValue": 2000 } ], "eventName": "vFirewallBroadcastPackets", "controlLoopSchemaType": "VM", "policyVersion": "v0.0.1" } ] }] Newly received configuration/preference identical from the running instance's ======================================================> Thu Apr 2 16:28:54 UTC 2020 TCADMaaPMRPublisherWorker status: {"status":"RUNNING"} TCADMaaPMRSubscriberWorker status: {"status":"RUNNING"} TCAVESCollectorFlow status: {"status":"RUNNING"} tca_poll_policy: Retrieving all-in-one config at config-binding-service:10000/service_component_all/s389b8a9925ad4c4aa1c68cdf11d93521-dcaegen2-analytics-tca tca_poll_policy: CONFIG is [{ "tcaVESAlertsTableTTLSeconds": "1728000", "thresholdCalculatorFlowletInstances": "2", "tcaAlertsAbatementTableTTLSeconds": "1728000", "tcaAlertsAbatementTableName": "TCAAlertsAbatementTable", "appName": "dcae-tca", "appDescription": "DCAE Analytics Threshold Crossing Alert Application", "tcaSubscriberOutputStreamName": "TCASubscriberOutputStream", "tcaVESMessageStatusTableTTLSeconds": "86400", "tcaVESAlertsTableName": "TCAVESAlertsTable", "tcaVESMessageStatusTableName": "TCAVESMessageStatusTable" }], PREF is [{ "aaiEnrichmentIgnoreSSLCertificateErrors": "true", "publisherMaxRecoveryQueueSize": "100000", "subscriberConsumerId": "c12", "aaiVNFEnrichmentAPIPath": "/aai/v11/network/generic-vnfs/generic-vnf", "aaiEnrichmentUserPassword": "demo123456!", "publisherHostName": "message-router.onap.svc.cluster.local", "aaiEnrichmentPortNumber": "8443", "publisherPollingInterval": "20000", "subscriberProtocol": "http", "aaiEnrichmentHost": "aai.onap.svc.cluster.local", "enableRedisCaching": "false", "subscriberContentType": "application/json", "subscriberHostName": "message-router.onap.svc.cluster.local", "redisHosts": "dcae-redis.onap.svc.cluster.local:6379", "publisherContentType": "application/json", "subscriberTopicName": "unauthenticated.VES_MEASUREMENT_OUTPUT", "aaiVMEnrichmentAPIPath": "/aai/v11/search/nodes-query", "publisherMaxBatchSize": "1", "publisherProtocol": "http", "publisherHostPort": "3904", "subscriberMessageLimit": "-1", "tca_policy": "", "enableAAIEnrichment": "true", "publisherTopicName": "unauthenticated.DCAE_CL_OUTPUT", "subscriberPollingInterval": "30000", "aaiEnrichmentProtocol": "https", "enableAlertCEFFormat": "false", "subscriberConsumerGroup": "OpenDCAE-clamp", "subscriberHostPort": "3904", "aaiEnrichmentUserName": "dcae@dcae.onap.org", "subscriberTimeoutMS": "-1" }], POLICY is [{ "domain": "measurementsForVfScaling", "metricsPerEventName": [ { "policyName": "DCAE.Config_tca-hi-lo", "policyScope": "DCAE", "thresholds": [ { "direction": "LESS_OR_EQUAL", "severity": "MAJOR", "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "version": "1.0.2", "closedLoopEventStatus": "ONSET", "thresholdValue": 100 }, { "direction": "GREATER_OR_EQUAL", "severity": "CRITICAL", "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta", "version": "1.0.2", "closedLoopEventStatus": "ONSET", "thresholdValue": 2000 } ], "eventName": "vFirewallBroadcastPackets", "controlLoopSchemaType": "VM", "policyVersion": "v0.0.1" } ] }] Newly received configuration/preference identical from the running instance's ======================================================> Thu Apr 2 16:29:24 UTC 2020