← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1917322] Re: cloudinit.net.get_devicelist includes "bonding_masters" if present

 

Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/3849

** Bug watch added: github.com/canonical/cloud-init/issues #3849
   https://github.com/canonical/cloud-init/issues/3849

** Changed in: cloud-init
       Status: Triaged => Expired

-- 
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/1917322

Title:
  cloudinit.net.get_devicelist includes "bonding_masters" if present

Status in cloud-init:
  Expired

Bug description:
  $ ls -l /sys/class/net/
  total 0
  lrwxrwxrwx 1 root root    0 Feb 26 21:51 bond0 -> ../../devices/virtual/net/bond0
  -rw-r--r-- 1 root root 4096 Feb 26 21:51 bonding_masters
  lrwxrwxrwx 1 root root    0 Feb 26 21:51 enp5s0 -> ../../devices/pci0000:00/0000:00:01.4/0000:05:00.0/virtio12/net/enp5s0
  lrwxrwxrwx 1 root root    0 Feb 26 21:51 lo -> ../../devices/virtual/net/lo
  lrwxrwxrwx 1 root root    0 Feb 26 21:51 ovs-br -> ../../devices/virtual/net/ovs-br
  lrwxrwxrwx 1 root root    0 Feb 26 21:51 ovs-br.100 -> ../../devices/virtual/net/ovs-br.100
  lrwxrwxrwx 1 root root    0 Feb 26 21:51 ovs-system -> ../../devices/virtual/net/ovs-system

  $ python3 -c "from cloudinit.net import get_devicelist; print(get_devicelist())"
  ['bonding_masters', 'enp5s0', 'bond0', 'ovs-system', 'ovs-br.100', 'lo', 'ovs-br']

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1917322/+subscriptions



References