yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #16974
[Bug 1338745] Re: Add healthcheck middleware
It looks like swifts middleware could be moved to oslo, as there's
nothing swift-specific about it. There's nothing stopping you from
deploying that middleware in front of Keystone or swift, regardless of
whether it lives in oslo or swift.
** Description changed:
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 should also perform a basic application functionality [1]
check 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
+ [2] https://github.com/openstack/swift/blob/0b594bc3afbffe942edebe9cdf02f60c06e627ab/swift/common/middleware/healthcheck.py
** Changed in: keystone
Status: New => Opinion
** Changed in: keystone
Importance: Undecided => Wishlist
--
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):
Opinion
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 should also perform a basic application functionality [1]
check 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.py
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1338745/+subscriptions
References