← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1534197] [NEW] advertise_mtu=True for DHCP agent when plugin does not pass .mtu attribute for networks results in agent failure

 

Public bug reported:

In that case, you would see a traceback with the following lines:

      File "neutron/agent/linux/dhcp.py", line 371, in _build_cmdline_callback
        mtu = self.network.mtu
    AttributeError: 'FakeV4Network' object has no attribute 'mtu'

We should check whether plugin passed mtu attribute before accessing it.

** Affects: neutron
     Importance: Low
     Assignee: Ihar Hrachyshka (ihar-hrachyshka)
         Status: In Progress


** Tags: liberty-backport-potential

** Changed in: neutron
     Assignee: (unassigned) => Ihar Hrachyshka (ihar-hrachyshka)

** Changed in: neutron
       Status: New => Confirmed

** Tags added: liberty-backport-potential

** Changed in: neutron
   Importance: Undecided => Low

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

Title:
  advertise_mtu=True for DHCP agent when plugin does not pass .mtu
  attribute for networks results in agent failure

Status in neutron:
  In Progress

Bug description:
  In that case, you would see a traceback with the following lines:

        File "neutron/agent/linux/dhcp.py", line 371, in _build_cmdline_callback
          mtu = self.network.mtu
      AttributeError: 'FakeV4Network' object has no attribute 'mtu'

  We should check whether plugin passed mtu attribute before accessing
  it.

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


Follow ups