<div dir="ltr"><div><div>Hi Fuelers,<br><br>It would be valuable to configure the healthcheck middleware [0] for all services deployed by fuel, available since Kilo.<br><br></div><div>Several (obvious) benefits:<br>- Provide a common API for healthcheck across OpenStack services<br></div><div>- HAproxy  performs more accurate HTTP checks for its backend status<br>- Operators can disable a service (maintenance mode, test, ..) by creating a simple file w/o stopping the service.<br></div><div>- monitoring systems can leverage this API to provide insight information of service status with a lighten checks w/o authentication (in opposition to heavily check for specific resources) <-- here my use case </div><div><br></div>Does it sound reasonable to target this for 7.0? any clue?  drawback?<br></div><div>I can handle the writing of the spec to bootstrap this effort and maybe more.</div><div><br></div><div>Implementation details to estimate the workload: <br>* Configure WSGI pipelines for each project "api-paste.ini"</div><div>*
 For security reason as mentioned in the original spec [1], the 'healthcheck' URI mustn't be open to the WWW:  </div><div>   * restricted access to local/management network or by auth</div><div>   * or random/configurable URI at deployment time</div><div>* HAproxy "httpchk" option will be "GET /<healthcheck path>" instead of the default "OPTION /"</div><div><br></div><div>Parallel (future) work on oslo or whatever:<br>* extend with specific checks (DB unavailable, RabbitMQ stuck, ..) to provide a detailed status of subsystem dependencies.<br></div><div><br>[0] <a href="http://docs.openstack.org/developer/oslo.middleware/healthcheck_plugins.html">http://docs.openstack.org/developer/oslo.middleware/healthcheck_plugins.html</a><br>[1] <a href="http://git.openstack.org/cgit/openstack/oslo-specs/plain/specs/kilo/oslo-middleware-healthcheck.rst">http://git.openstack.org/cgit/openstack/oslo-specs/plain/specs/kilo/oslo-middleware-healthcheck.rst</a><br></div></div>