← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1338745] [NEW] Add healthcheck middleware

 

Public bug reported:

Would be useful for keystone to support a healthcheck URL for
consumption by load balancers.

This middleware should provide the ability to manually disable the
service via the existence of a file on the system's local disk.  This
middleware can also be extended [1] to perform basic application
functionality checks prior to reporting OK.

Having this middleware would give us some flexibility around LB health
checks we do not have today, and IMO would be beneficial.  This is
fairly similar to what swift [2] is doing as well.


[1] https://github.com/CiscoSystems/puppet-monit/blob/a459a7314ac4f0250ad8b9c6956a872b949840f1/files/healthcheck.py#L37
[2] https://github.com/openstack/swift/blob/0b594bc3afbffe942edebe9cdf02f60c06e627ab/swift/common/middleware/healthcheck.p

** Affects: keystone
     Importance: Undecided
         Status: New


** Tags: ops

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1338745

Title:
  Add healthcheck middleware

Status in OpenStack Identity (Keystone):
  New

Bug description:
  Would be useful for keystone to support a healthcheck URL for
  consumption by load balancers.

  This middleware should provide the ability to manually disable the
  service via the existence of a file on the system's local disk.  This
  middleware can also be extended [1] to perform basic application
  functionality checks prior to reporting OK.

  Having this middleware would give us some flexibility around LB health
  checks we do not have today, and IMO would be beneficial.  This is
  fairly similar to what swift [2] is doing as well.

  
  [1] https://github.com/CiscoSystems/puppet-monit/blob/a459a7314ac4f0250ad8b9c6956a872b949840f1/files/healthcheck.py#L37
  [2] https://github.com/openstack/swift/blob/0b594bc3afbffe942edebe9cdf02f60c06e627ab/swift/common/middleware/healthcheck.p

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1338745/+subscriptions


Follow ups

References