codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[all][healthcheck]


Hi,

I send this mail out to summarize the discussion around Healthcheck API on
Neutron PTG, and start a discussion how we can make this most valuable to
the operators.

On the Neutron PTG etherpad this topic is from L114:
https://etherpad.opendev.org/p/neutron-wallaby-ptg .

Background: oslo_middleware provides /healthcheck API path(see [1]), which
can be used to poll by services like haproxy, and gives a plugin mechanism
to add some more complicated checks, which can be switched on/off from
config.

The main questions:

   - Some common guidance what to present to the operators (if you check
   [2] and [3] in the comments there are really good questions/concerns)
      - Perhaps the API SIG has something about healtcheck, just I can't
      find it.
   - What to present with and without authentication (after checking again,
   I am not sure that it is possible to use authentication for the healthcheck)
      - A way forward can be to make it configurable with default to
      authenticated, and give the decision to the admin.
   - During the discussion the agreement was to separate the frontend
   health from the backend health and use direct indicators (like working db
   connectivity, and mq connectivity) instead of indirect indicators (like
   agents' health).

Thanks in advance for the feedback.

[1]
https://docs.openstack.org/oslo.middleware/latest/reference/healthcheck_plugins.html
[2] https://review.opendev.org/731396
[3] https://review.opendev.org/731554

Regards
Lajos Katona (lajoskatona)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20201116/e13dfd84/attachment.html>