Public bug reported:

libvirt-manager or virsh iface-list -all don't show all interfaces available in 
the system.
Specifically, I've 2 bridge defined (br0 and br1) and only br0 shows up in the 
selectable menu or in the listing. On 16.04, all bridges show up.
On 18.04 box, ip link gives:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp14s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state 
UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:e7:95:47 brd ff:ff:ff:ff:ff:ff
3: enp11s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 
state UP mode DEFAULT group default qlen 1000
    link/ether 70:85:c2:42:e9:2a brd ff:ff:ff:ff:ff:ff
4: enp14s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master 
br1 state UP mode DEFAULT group default qlen 1000
    link/ether 68:05:ca:05:c1:5b brd ff:ff:ff:ff:ff:ff
5: wlp9s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state 
UP mode DEFAULT group default qlen 1000
    link/ether 10:f0:05:8b:44:49 brd ff:ff:ff:ff:ff:ff
6: br1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode 
DEFAULT group default qlen 1000
    link/ether 22:22:76:64:28:f9 brd ff:ff:ff:ff:ff:ff
7: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode 
DEFAULT group default qlen 1000
    link/ether ee:5d:78:0f:f2:e5 brd ff:ff:ff:ff:ff:ff
8: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br0 
state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether fe:54:00:e6:0a:dc brd ff:ff:ff:ff:ff:ff
9: macvtap0@enp14s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc 
fq_codel state UP mode DEFAULT group default qlen 500
    link/ether 52:54:00:e7:95:47 brd ff:ff:ff:ff:ff:ff

on the same box, virsh iface-list --all gives:

 Name                 State      MAC Address
---------------------------------------------------
 br0                  active     ee:5d:78:0f:f2:e5
 lo                   active     00:00:00:00:00:00


on a different box running 16.04. I get:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br0 
state UP mode DEFAULT group default qlen 1000
    link/ether 00:25:22:9f:28:6e brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br1 
state UP mode DEFAULT group default qlen 1000
    link/ether 00:1b:21:8d:87:9c brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master br2 
state UP mode DEFAULT group default qlen 1000
    link/ether 00:1b:21:8d:87:9d brd ff:ff:ff:ff:ff:ff
5: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode 
DEFAULT group default qlen 1000
    link/ether 00:25:22:9f:28:6e brd ff:ff:ff:ff:ff:ff
6: br1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode 
DEFAULT group default qlen 1000
    link/ether 00:1b:21:8d:87:9c brd ff:ff:ff:ff:ff:ff
7: br2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode 
DEFAULT group default qlen 1000
    link/ether 00:1b:21:8d:87:9d brd ff:ff:ff:ff:ff:ff
11: vnet0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master 
br0 state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether fe:54:00:2e:e6:7a brd ff:ff:ff:ff:ff:ff
12: vnet1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master 
br1 state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether fe:54:00:48:7c:d2 brd ff:ff:ff:ff:ff:ff
13: vnet2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master 
br2 state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether fe:54:00:02:38:08 brd ff:ff:ff:ff:ff:ff

 Name                 State      MAC Address
---------------------------------------------------
 br0                  active     00:25:22:9f:28:6e
 br1                  active     00:1b:21:8d:87:9c
 br2                  active     00:1b:21:8d:87:9d
 lo                   active     00:00:00:00:00:00

On a practical side, on the 18.04 box, filling in br1 as interface for a
vm definition works (only tested in virt-manager).

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libvirt-bin 4.0.0-1ubuntu7
Uname: Linux 4.16.0-041600rc7-generic x86_64
ApportVersion: 2.20.9-0ubuntu4
Architecture: amd64
Date: Mon Apr 16 09:42:46 2018
InstallationDate: Installed on 2018-03-27 (19 days ago)
InstallationMedia: Ubuntu-Server 18.04 LTS "Bionic Beaver" - Alpha amd64 
(20180311)
SourcePackage: libvirt
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1764314

Title:
  libvirt doesn't show all interfaces

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1764314/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to