dhcp scheduler should stop redundant agent

Bug #1338938 reported by Xurong Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Expired
Low
Unassigned

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.

Tags: l3-ipam-dhcp
Xurong Yang (idopra)
Changed in neutron:
assignee: nobody → Xurong Yang (idopra)
Revision history for this message
Xav Paice (xavpaice) wrote :

I would be very happy to have redundant agents so that when a dhcp agent goes down we have some place to re-schedule.

Revision history for this message
Xurong Yang (idopra) wrote :

but if this issue happens frequently, there will be more and more dhcp agents. like deploying 10 dhcp agents and 5 down, then re-schedule other 5 agents, when down agents recover, 5 dhcp agents are redundant. what's worse, some resource will be in use, like ip.
,

Revision history for this message
Eugene Nikanorov (enikanorov) wrote :

I think the bug description should be updated, we don't need to stop agents, we need to unschedule networks from agents which were down and now are up.

tags: added: l3-ipam-dhcp
Changed in neutron:
importance: Undecided → Low
status: New → Opinion
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

I don't understand the problem statement.

Changed in neutron:
status: Opinion → Incomplete
assignee: Xurong Yang (idopra) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for neutron because there has been no activity for 60 days.]

Changed in neutron:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.