Skip to content

Make /healthcheck endpoint capture health of OPA connection #69

Description

@v-rocheleau

Background

Authz needs a healthy connection to OPA to function correctly, issue #64 breaks this and is still being investigated.

The temporary solution to get the deployment healthy again is to restart the authz deployment in k8s.

Issue

The authz deployment has probes on authz's /healthcheck endpoint, if that endpoint returns non 200 status k8s is able to restart the deployment automatically.

Problem: the /healthcheck endpoint keeps returning 200 statuses even if the connection to OPA is unhealthy, preventing automatic re-deployment and forcing operators to restart the deployment manually, after outages are noticed by submission users.

Note

A definitive solution to #64 should still be implemented, this issue is strictly to remove the need for manual interventions when the issue occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions