Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-2718

Policy component health check is successful when PDP is down

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Low Low
    • Guilin Release
    • Frankfurt Release
    • None
    • Any OOM installation of Policy Framework

      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"
        }
      }

            ramverma ramverma
            ramverma ramverma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: