← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1682871] Re: attempts to rename vlans / vlans have addr_assign_type of 2

 

** Summary changed:

- attempts to rename vlans / get_interfaces_by_mac does not filter vlans
+ attempts to rename vlans / vlans have addr_assign_type of 2

** Summary changed:

- attempts to rename vlans / vlans have addr_assign_type of 2
+ attempts to rename vlans / vlans have addr_assign_type of 0 on kernel 4.4

** Also affects: cloud-init (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: cloud-init (Ubuntu)
       Status: New => Confirmed

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

** Changed in: linux (Ubuntu)
       Status: New => Fix Released

** Also affects: linux (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: cloud-init (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Description changed:

  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
+  * bug 1669860: cloud-init attempts to rename bonds

** Changed in: linux (Ubuntu Xenial)
       Status: New => Confirmed

** Changed in: cloud-init (Ubuntu Xenial)
       Status: New => Confirmed

** Changed in: cloud-init (Ubuntu Xenial)
   Importance: Undecided => Medium

** Changed in: cloud-init (Ubuntu)
   Importance: Undecided => Medium

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

Title:
  attempts to rename vlans / vlans have addr_assign_type of 0 on kernel
  4.4

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

Bug description:
  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:
https://bugs.launchpad.net/cloud-init/+bug/1682871/+subscriptions


References