← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1222541] Re: dhcp_agent_scheduler.ChanceScheduler.auto_schedule_networks doesn't schedule randomly

 

As stated in auto_schedule_networks() docstring it is supposed to
'Schedule non-hosted networks to the DHCP agent on the specified host'
and 'host' is the parameter of the func. There is a restriction of
having only one agent of particular type on one host. So I think it's
not correct to iterate through dhcp agents on one host - there should be
only one. Marking as invalid for now.

** Changed in: neutron
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1222541

Title:
  dhcp_agent_scheduler.ChanceScheduler.auto_schedule_networks doesn't
  schedule randomly

Status in OpenStack Neutron (virtual network service):
  Invalid

Bug description:
  as discussed in https://review.openstack.org/#/c/42457/5

  for a single schedule, the result depends on the order of the
  dhcp_agents list, which is the order of row in db (if i'm wrong please
  correct it). so if net_num=10, agent_num=2, quota=1, then for a fresh
  auto_schedule, all nets will be scheduled to first one. then we add 10
  nets, all would be schedule to first one too.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1222541/+subscriptions