Public bug reported: On Ubuntu 16.04 and libvirt 1.3.1, libvirt wrongly reports the interfaces of type "network" as type "bridge". This confuses virt-manager and thus does not allow for example to modify the interface portgroup once it has been created.
To reproduce, add a network interface to a domain, connected to an openvswitch bridge. You can then check that the interface reported by libvirt (through virsh, virt-manager or python-libvirt) has the type "bridge" and not "network" as it should. The network is working nonetheless, only the reported configuration is wrong. Versions : root@virt6:~# lsb_release -rd Description: Ubuntu 16.04.4 LTS Release: 16.04 root@virt6:~# dpkg -l | grep libvirt ii libvirt-bin 1.3.1-1ubuntu10.21 amd64 programs for the libvirt library ii libvirt0:amd64 1.3.1-1ubuntu10.21 amd64 library for interfacing with different virtualization systems ii python-libvirt 1.3.1-1ubuntu1.1 amd64 libvirt Python bindings The domain configuration (irrelevant parts removed) : root@virt6:~# cat /etc/libvirt/qemu/dev.xml [ ... ] <interface type='network'> <mac address='52:54:00:eb:b2:b8'/> <source network='ovsbr0' portgroup='vlan1'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> [ ... ] root@virt6:~# virsh dumpxml dev [ ... ] <interface type='bridge'> <mac address='52:54:00:eb:b2:b8'/> <source network='ovsbr0' portgroup='vlan1' bridge='ovsbr0'/> <vlan> <tag id='1'/> </vlan> <virtualport type='openvswitch'> <parameters interfaceid='732763c6-78b7-40b2-a02a-0c2216952988'/> </virtualport> <target dev='vnet3'/> <model type='virtio'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> [ ... ] And if it can be useful, the network definition : root@virt6:~# virsh net-dumpxml ovsbr0 <network connections='6'> <name>ovsbr0</name> <uuid>49bd2303-ae07-4466-aff7-d6c33817b032</uuid> <forward mode='bridge'/> <bridge name='ovsbr0'/> <virtualport type='openvswitch'/> <portgroup name='vlan1' default='yes'> <vlan> <tag id='1'/> </vlan> </portgroup> </network> ** Affects: libvirt (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1766888 Title: interfaces of type "network" are reported as type "bridge" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1766888/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs