[Bug 1804861] Re: MTU size defined on /etc/netplan/50-cloud-init.yaml not applied

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Tue Dec 4 16:20:09 UTC 2018


I disagree.

We'd be working around a real design issue in systemd, rather that
possibly matching against Type=ethernet (if that existed). I think we
should instead prioritize on avoiding this broken case in the other
parts of the networking stack, and make sure we fix systemd to provide
the right matching Type.

Nothing guarantees that vlan, bridge, and bonds are the only types of
devices affected and we're second-guessing the admin otherwise: I rather
we match precisely on what was added as matches in the netplan YAML, in
the case where you set the MAC to the same on all of a stack because you
really *did* want to apply some of the same options to all of these
devices.

** Also affects: netplan.io (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: maas (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1804861

Title:
  MTU size defined on /etc/netplan/50-cloud-init.yaml not applied

Status in netplan:
  New
Status in maas package in Ubuntu:
  New
Status in netplan.io package in Ubuntu:
  New

Bug description:
  netplan version: 0.36.3
  Ubuntu Bionic

  """
  network:
      version: 2
      vlans:
          bond0.810:
              addresses:
              - 10.20.33.3/29
              id: 810
              link: bond0
              mtu: 1500
              nameservers: *id001
  """

  Note: bond0 and its slaves have mtu=9000 configured (there are other
  vlans using 9000, too).

  On netplan source code deployed by the package, only "migrate.py" has
  references to "MTU", however, a command does not exist for "migrate".

  I also tried to add /etc/udev/rules.d/70-net.rules:
  """
  SUBSYSTEM=="net", ACTION=="add", KERNEL=="bond0.810", ATTR{mtu}=="9000", ATTR{mtu}="1500"
  """

  But it doesn't get applied.

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



More information about the foundations-bugs mailing list