remove the short circuit in abstract scheduler when no local hosts are available

This commit is contained in:
Chris Behrens
2011-09-07 20:40:47 -07:00
parent e06b8e389b
commit 899784481d

View File

@@ -269,9 +269,6 @@ class AbstractScheduler(driver.Scheduler):
# Filter local hosts based on requirements ...
filtered_hosts = self.filter_hosts(topic, request_spec,
unfiltered_hosts)
if not filtered_hosts:
LOG.warn(_("No hosts available"))
return []
# weigh the selected hosts.
# weighted_hosts = [{weight=weight, hostname=hostname,