[openstack-dev] Porting healthcheck from Swift - feedback?
Mark McLoughlin
markmc at redhat.com
Wed Aug 15 12:13:16 UTC 2012
On Wed, 2012-08-15 at 12:52 +0100, Paul Bourke wrote:
> Hi all,
>
> Swift contains some middleware called "healthcheck", with which you may or may
> not be familiar. It sits at the front of the pipeline and responds to GETs
> with 200 under normal circumstances.
>
> I have submitted the following blueprint and patchset that ports this
> functionality to openstack-common for inclusion across multiple Openstack
> components:
>
> https://blueprints.launchpad.net/openstack-common/+spec/port-swift-healthcheck
> https://review.openstack.org/#/c/11074/
>
> There has been some uncertainty as to whether this healthcheck is more valuable
> than a simple GET/HEAD on the top level service endpoint. While this could be
> used, but it may be more consistent to have something which can be checked in
> the same was across services.
My own take on this is that consistently supporting HEAD on all our
toplevel endpoints is much more obvious to API users than a /healthcheck
resource.
Cheers,
Mark.
More information about the OpenStack-dev
mailing list