Could you please try the following patched kernel and check if it fixes
the issue?

PPA: https://launchpad.net/~kleber-souza/+archive/ubuntu/ppa
Package: linux=4.4.0-74.95+lp1682871v1

Thank you in advance.

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  attempts to rename vlans / vlans have addr_assign_type of 0 on kernel

Status in cloud-init:
Status in cloud-init package in Ubuntu:
Status in linux package in Ubuntu:
  Fix Released
Status in cloud-init source package in Xenial:
Status in linux source package in Xenial:

Bug description:

   * When vlan interfaces are created, their mac address is copied from
  the underlying interface, but it is not marked by kernel as stolen.

   * When underlying interface MAC address is changed, it does not
  propagate to the vlan interfaces.

  [Test Case]

   * Create vlan interface, check the addr_assign_type sysfs attribute,
  it should be 2, not 0.

   * Update the base interface mac address, the mac address of the vlan
  interface should change too.

  [Regression Potential]

   * Userspace may rely on non-propagating MAC addresses, and the fact
  that vlan mac address type is wrongly stated as non-stolen; however
  this behaviour will be consistent with 4.7+ kernels.

  [Other Info]

   * Please cherrypick 308453aa9156a3b8ee382c0949befb507a32b0c1 into
  v4.4 kernels

  commit 308453aa9156a3b8ee382c0949befb507a32b0c1
  Author: Mike Manning <mmann...@brocade.com>
  Date:   Fri May 27 17:45:07 2016 +0100

      vlan: Propagate MAC address to VLANs

      The MAC address of the physical interface is only copied to the VLAN
      when it is first created, resulting in an inconsistency after MAC
      address changes of only newly created VLANs having an up-to-date MAC.

      The VLANs should continue inheriting the MAC address of the physical
      interface until the VLAN MAC address is explicitly set to any value.
      This allows IPv6 EUI64 addresses for the VLAN to reflect any changes
      to the MAC of the physical interface and thus for DAD to behave as

      Signed-off-by: Mike Manning <mmann...@brocade.com>
      Signed-off-by: David S. Miller <da...@davemloft.net>

   * Original bug report

  When attempting to verify sru for bug 1669860, I found that vlans
  are not properly filtered out by 'get_interfaces_by_mac'.  That means
  that the bug is still present with vlans.

  The reason for this is that /sys/class/net/<vlan_name>/addr_assign_type
  shows '0' for a vlan on 4.4, but (correctly) shows '2' on 4.8.
  See https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-net
  for doc on addr_assign_type.

  Related bugs:
   * bug 1669860: cloud-init attempts to rename bonds

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to