Merge "Remove the warning for Scheduling Network" into stable/havana

This commit is contained in:
Jenkins 2014-03-18 08:00:10 +00:00 committed by Gerrit Code Review
commit f0db2753f4
1 changed files with 1 additions and 4 deletions

View File

@ -203,11 +203,8 @@ class DhcpAgentSchedulerDbMixin(dhcpagentscheduler
def schedule_network(self, context, created_network):
if self.network_scheduler:
chosen_agent = self.network_scheduler.schedule(
return self.network_scheduler.schedule(
self, context, created_network)
if not chosen_agent:
LOG.warn(_('Fail scheduling network %s'), created_network)
return chosen_agent
def auto_schedule_networks(self, context, host):
if self.network_scheduler: