Merge "Make resource tracker use conductor for listing compute nodes"

This commit is contained in:
Jenkins
2013-01-16 17:43:32 +00:00
committed by Gerrit Code Review

View File

@@ -309,7 +309,8 @@ class ResourceTracker(object):
def _get_service(self, context):
try:
return db.service_get_by_compute_host(context, self.host)
return self.conductor_api.service_get_by_compute_host(context,
self.host)
except exception.NotFound:
LOG.warn(_("No service record for host %s"), self.host)