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
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 statuswas 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