[Bug 1101187] Re: in case ow two networks on the same bridge nova overwrites dnsmasq config

TangYi 1101187 at bugs.launchpad.net
Mon Feb 25 11:35:41 UTC 2013


I modified update_dhcp funciton in nova/network/linux_net.py ,

so it would be something like :
def update_dhcp(context, dev, network_ref):
    """(Re)starts a dnsmasq server for a given network.

    If a dnsmasq instance is already running then send a HUP
    signal causing it to reload, otherwise spawn a new instance.

    """
    network = "network-%s" % str(network_ref['id'])
    conffile = _dhcp_file(network, 'conf')
   ....

So it can bring up a dnsmasq instance for each network, hoever, it doesn't work either, maybe cause it had listen on the same bridge of two dnsmasq.
So there has one cannot receive dhcp request.

Anyone can help?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1101187

Title:
  in case ow two networks on the same bridge nova overwrites dnsmasq
  config

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



More information about the Ubuntu-server-bugs mailing list