Merge "Explain why API services are filtered out of GET /os-services"
This commit is contained in:
commit
dbf5fdb156
|
@ -39,6 +39,9 @@ class ServiceController(wsgi.Controller):
|
||||||
"disable-log-reason": self._disable_log_reason}
|
"disable-log-reason": self._disable_log_reason}
|
||||||
|
|
||||||
def _get_services(self, req):
|
def _get_services(self, req):
|
||||||
|
# The API services are filtered out since they are not RPC services
|
||||||
|
# and therefore their state is not reported through the service group
|
||||||
|
# API, so they would always be reported as 'down' (see bug 1543625).
|
||||||
api_services = ('nova-osapi_compute', 'nova-ec2', 'nova-metadata')
|
api_services = ('nova-osapi_compute', 'nova-ec2', 'nova-metadata')
|
||||||
|
|
||||||
context = req.environ['nova.context']
|
context = req.environ['nova.context']
|
||||||
|
|
Loading…
Reference in New Issue