← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1338938] [NEW] dhcp scheduler should stop redundant agent

 

Public bug reported:

we initiate the counter of dhcp agents between active host and
cfg.CONF.dhcp_agents_per_network, suppose that we start dhcp agents
correctly, then some dhcp agents are down(host down or kill the dhcp-
agent), during this period, we will reschedule and recover the normal
dhcp agents.  but when down dhcp agents restart, some dhcp agents are
redundant.

            if len(dhcp_agents) >= agents_per_network:
                LOG.debug(_('Network %s is hosted already'),
                          network['id'])
                return    

IMO, we need stop the redundant agents  In above case.

** Affects: neutron
     Importance: Undecided
     Assignee: Xurong Yang (idopra)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Xurong Yang (idopra)

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

Title:
  dhcp scheduler should stop redundant agent

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  we initiate the counter of dhcp agents between active host and
  cfg.CONF.dhcp_agents_per_network, suppose that we start dhcp agents
  correctly, then some dhcp agents are down(host down or kill the dhcp-
  agent), during this period, we will reschedule and recover the normal
  dhcp agents.  but when down dhcp agents restart, some dhcp agents are
  redundant.

              if len(dhcp_agents) >= agents_per_network:
                  LOG.debug(_('Network %s is hosted already'),
                            network['id'])
                  return    

  IMO, we need stop the redundant agents  In above case.

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


Follow ups

References