libvirt doesn't show all interfaces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Won't Fix
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Medium
|
Unassigned | ||
netcf (Debian) |
Fix Released
|
Unknown
|
|||
netcf (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned | ||
Bionic |
Won't Fix
|
Undecided
|
Unassigned | ||
Cosmic |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
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,
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp14s0f0: <BROADCAST,
link/ether 52:54:00:e7:95:47 brd ff:ff:ff:ff:ff:ff
3: enp11s0: <BROADCAST,
link/ether 70:85:c2:42:e9:2a brd ff:ff:ff:ff:ff:ff
4: enp14s0f1: <BROADCAST,
link/ether 68:05:ca:05:c1:5b brd ff:ff:ff:ff:ff:ff
5: wlp9s0: <BROADCAST,
link/ether 10:f0:05:8b:44:49 brd ff:ff:ff:ff:ff:ff
6: br1: <BROADCAST,
link/ether 22:22:76:64:28:f9 brd ff:ff:ff:ff:ff:ff
7: br0: <BROADCAST,
link/ether ee:5d:78:0f:f2:e5 brd ff:ff:ff:ff:ff:ff
8: vnet0: <BROADCAST,
link/ether fe:54:00:e6:0a:dc brd ff:ff:ff:ff:ff:ff
9: macvtap0@enp14s0f0: <BROADCAST,
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,
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,
link/ether 00:25:22:9f:28:6e brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,
link/ether 00:1b:21:8d:87:9c brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,
link/ether 00:1b:21:8d:87:9d brd ff:ff:ff:ff:ff:ff
5: br0: <BROADCAST,
link/ether 00:25:22:9f:28:6e brd ff:ff:ff:ff:ff:ff
6: br1: <BROADCAST,
link/ether 00:1b:21:8d:87:9c brd ff:ff:ff:ff:ff:ff
7: br2: <BROADCAST,
link/ether 00:1b:21:8d:87:9d brd ff:ff:ff:ff:ff:ff
11: vnet0: <BROADCAST,
link/ether fe:54:00:2e:e6:7a brd ff:ff:ff:ff:ff:ff
12: vnet1: <BROADCAST,
link/ether fe:54:00:48:7c:d2 brd ff:ff:ff:ff:ff:ff
13: vnet2: <BROADCAST,
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-
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)
Changed in netcf (Debian): | |
status: | Unknown → New |
Changed in netcf (Debian): | |
status: | New → Fix Released |
For what is worth, I get nothing listed on my 18.04 laptop, where I use libvirt extensively:
$ virsh iface-list --all ------- ------- ------- ------- ------- ------- --
Name State MAC Address
-------
$