-
Task
-
Resolution: Done
-
Low
-
Frankfurt Release
-
None
-
Any OOM installation of Policy Framework
-
Policy 7/20-7/31, Policy 8/4-8/18
It has been observed that the policy component health check is successful even if the PDP instance goes down.
For example in the below case drools-pdp was brought down intentionally for more than 6 minutes (the PDP tracker timeout in PAP). Resulting in PAP removing the PDP after missing 3 consecutive heartbeats.
{ "pdps": { "xacml": [ { "instanceId": "fireants-policy-xacml-pdp-74d44cd8fb-9tlkl", "pdpState": "ACTIVE", "healthy": "HEALTHY" } ], "drools": [], "apex": [ { "instanceId": "fireants-policy-apex-pdp-0", "pdpState": "ACTIVE", "healthy": "HEALTHY", "message": "Pdp Heartbeat" } ] }, "healthy": true, "api": { "name": "Policy API", "url": "https://fireants-policy-api-ff987b856-b4m8w:6969/policy/api/v1/healthcheck", "healthy": true, "code": 200, "message": "alive" }, "distribution": { "name": "Policy SSD", "url": "https://fireants-policy-distribution-86b9c6d4bb-hpptq:6969/healthcheck", "healthy": true, "code": 200, "message": "alive" }, "pap": { "name": "Policy PAP", "url": "https://fireants-pap-6b9b66946d-nsbsp:6969/policy/pap/v1/healthcheck", "healthy": true, "code": 200, "message": "alive" } }