cloudinit.net.get_devicelist includes "bonding_masters" if present

Bug #1917322 reported by Dan Watkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Expired
Low
Unassigned

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']

Revision history for this message
Dan Watkins (oddbloke) wrote :

This doesn't present an issue currently, I don't believe.

Changed in cloud-init:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
James Falcon (falcojr) wrote :
Changed in cloud-init:
status: Triaged → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.