[nova][all] Adding /healthcheck support in Nova, and better healthcheck in every projects

Thomas Goirand zigo at debian.org
Wed Nov 17 22:47:45 UTC 2021

On 11/17/21 10:54 PM, Dan Smith wrote:
>> I don't think we rely on /healthcheck -- there's nothing healthy about
>> an API endpoint blindly returning a 200 OK.
>> You might as well just hit / and accept 300 as a code and that's
>> exactly the same behaviour.  I support what Sean is bringing up here
>> and I don't think it makes sense to have a noop /healthcheck that
>> always gives a 200 OK...seems a bit useless imho
> Yup, totally agree. Our previous concerns over a healthcheck that
> checked all of nova returning too much info to be useful (for something
> trying to figure out if an individual worker is healthy) apply in
> reverse to one that returns too little to be useful.
> I agree, what Sean is working on is the right balance and that we should
> focus on that.
> --Dan

That's not the only thing it does. It also is capable of being disabled,
which is useful for maintenance: one can gracefully remove an API node
for removal this way, which one cannot do with the root.


Thomas Goirand (zigo)

More information about the openstack-discuss mailing list