← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1155063] Re: dhcp-agent uses an interface which is down

 

I am setting this bug as won't fix as we did not hear anything about for
over a year.

** Changed in: neutron
       Status: Incomplete => Won't Fix

** Changed in: neutron
     Assignee: Gary Kotton (garyk) => (unassigned)

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

Title:
  dhcp-agent uses an interface which is down

Status in OpenStack Neutron (virtual network service):
  Won't Fix

Bug description:
  I am using folsom from the ubuntu cloud archive.
  Quantum started dnsmasq correctly, but on an interface which is down.
  Modifying init_l3 in agent/linux/interface.py with adding a device.link.set_up() call remediated the problem.
  I don't know who would be responsible for upping the interface in the first place though.

  Here is the relevant snippet from my current code:

      def init_l3(self, device_name, ip_cidrs, namespace=None):
          """Set the L3 settings for the interface using data from the port.
             ip_cidrs: list of 'X.X.X.X/YY' strings
          """
          LOG.debug("init_l3")
          device = ip_lib.IPDevice(device_name, self.conf.root_helper,
                                   namespace=namespace)
          LOG.debug("link setup")
          device.link.set_up()

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