Add config to set min/max dhcp agents per network

Bug #1475534 reported by Alberto Donato
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron-api (Juju Charms Collection)
Fix Released
High
Alex Kavanagh

Bug Description

It'd be nice to have a couple of charm configs to be set min/max DHCP agents per network, similarly to what happens with the L3 agent with min/max-l3-agents-per-router.

Related branches

James Page (james-page)
Changed in neutron-api (Juju Charms Collection):
status: New → Triaged
importance: Undecided → High
milestone: none → 15.10
Changed in neutron-api (Juju Charms Collection):
assignee: nobody → Alex Kavanagh (ajkavanagh)
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

So, I've dug into this, and the min/max request for dhcp_agents_per_network for neutron doesn't seem to fit according to the documentation for neutron.conf (which is written from this charm):

http://docs.openstack.org/liberty/config-reference/content/section_networking-options-reference.html

This indicates that there is a single setting "dhcp_agents_per_network" (with a default of 1).

Note that this IS different to the min/max-l3-agents-per-router, which is configured like that in the neutron.conf. See:
http://docs.openstack.org/liberty/config-reference/content/networking-options-l3_agent.html

Therefore, I propose that a single option "dhcp-agents-per-network" is added (with a default of 1).

Changed in neutron-api (Juju Charms Collection):
status: Triaged → In Progress
Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

After a conversation with the bug author on IRC, we've agreed to implement the dhcp-agents-per-network option with a default of 2, but ONLY activate it when the the 'enable-l3ha' is set.

Revision history for this message
Nobuto Murata (nobuto) wrote :

For example VLAN provider network with enable-local-dhcp-and-metadata enabled in neutron-openvswitch charm, dhcp-agents-per-network is still helpful even without L3 functionality.

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Okay, this is a bit back and forth: However, having discussed nobotu's requirement, it does seem that there is a need for dhcp_agents_per_network to be settable orthogonally to l3ha.

The openstack docs indicate that it has a default setting of 1, so adding it such that it always defaults to 1 (if not explicitly set) will have no impact on existing bundles/settings.

The only downside is having to remember to set dhcp_agents_per_network if you want it in ADDITION to l3ha. However, I believe it is the best of both worlds.

Thus, the setting will be available regardless of 'enable-l3ha'.

David Ames (thedac)
Changed in neutron-api (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in neutron-api (Juju Charms Collection):
milestone: 15.10 → 16.01
James Page (james-page)
Changed in neutron-api (Juju Charms Collection):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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