← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1388698] [NEW] dhcp_agents_per_network does not work appropriately.

 

Public bug reported:

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"?

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  dhcp_agents_per_network does not work appropriately.

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  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"?

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


Follow ups

References