Skip to content

/healthcheck does not report problem #958

@czunker

Description

@czunker

I'm not sure whether this is a gnocchi problem or oslo_middleware.
We are using Gnocchi in an OpenStack setup (openstack-ansible with Pike) with redis as incoming storage. Recently we had the problem, that redis died and gnocchi didn't answer API requests. a request to metric status was answered by a HTTP 500. Our HAProxy in front of the gnocchi API is configured to query /healthcheck. But it didn't report the backends as down.

Which version of Gnocchi are you using

gnocchi-4.0.5.dev8

How to reproduce your problem

Kill redis server, used as incoming storage. But that's just an example

What is the result that you get

/healthcheck returns HTTP 200

What is result that you expected

According to the oslo docs, I would expect a HTTP 503

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions