dhcp agent binding count greather than dhcp_agents_per_network

Bug #2028544 reported by yaoguang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Undecided
Unassigned

Bug Description

neutron version: train
dhcp_agents_per_network = 2
execute command "neutron dhcp-agent-network-add" bind a network to dhcp agent, but not check configuration dhcp_agents_per_network.

Revision history for this message
Bence Romsics (bence-romsics) wrote :

Hi,

Thank you for your report!

I'm not sure if this is properly documented, but my understanding was that dhcp_agents_per_network is used only when autoscheduling dhcp agents. When we manually schedule agents then the config option is purposefully ignored, not to interfere with the manual operations. Like if we add a third, would you expect one of the three to be magically removed? Which one? Can neutron always choose the proper one to unschedule? Or should neutron prohibit the unscheduling of an agent when we go under two? Would you consider the manual operation still usable if neutron did those things?

I believe that manual schedule/unschedule operations purposefully allow temporary violations of dhcp_agents_per_network and that it's the admin's responsibility to leave the system in a known good state after such operations.

What do you think?

Revision history for this message
yaoguang (yaoguang100) wrote :

Ok, i think it makes sense.

Changed in neutron:
status: New → Invalid
Revision history for this message
yaoguang (yaoguang100) wrote :

I still have some questions. If the index is no longer 1 or 2 after manual scheduling, automatic scheduling is also affected, although the number of bindings is still 2.

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.