Comment 0 for bug 1388698

Revision history for this message
kazuhiro MIYASHITA (miyakz) wrote :

Hi,

I want to ask about dhcp_agents_per_network option in neutron.conf.

That's instruction is in neutron.conf
-----
# Number of DHCP agents scheduled to host a network. This enables redundant
# DHCP agents for configured networks.
# dhcp_agents_per_network = 1
dhcp_agents_per_network = 1
-----

I hit situation that network is hosted by multiple dhcp-agents evenif dhcp_agents_per_network = 1.
I think dhcp_agents_per_network does not work appropriately.

The procedure are as follows.

Conditions:
  A) multiple network nodes.
  B) dhcp-agents are alives in each network nodes.
  C) one network is hosted by one dhcp-agent.

   ex:
     network node1: dhcp-agent1 hosts network1 and network2.
     network node2: dhcp-agent2 hosts no network.

procedures:

1) stop dhcp-agent1 and dhcp-agent2.
2) start dhcp-agent2.

result:

     network node1: dhcp-agent1 hosts network1 and network2.
     network node2: dhcp-agent2 hosts network1 and network2.

dnsmasq hosting network1 boots on network node1 and 2.
also, dnsmasq hosting network2 boots on network node1 and 2.

dhcp_agents_per_network option means "active_dhcp_agents_per_network" or "dhcp_agents_per_network"?