[libvirt-users] Source information not showing for virsh domiflist causing problems with migrating VMs

Carl J Taylor cjtaylor at gmail.com
Tue May 5 11:47:18 UTC 2015


Hi,

Does anyone know of a way to get around this problem.  I have several long
running VMs running on an Ubuntu 14.10 host and for some reason I am
getting errors when trying to migrate them to another host.  If I restart
the VM then the problem does not exist, however for various reasons that is
not an option with the remaining VMs.

root at comp001:~# /root/bin/vm_migrate.sh ws001 comp003
virsh migrate --live --persistent --tunneled --p2p --unsafe --domain ws001
--desturi qemu+tcp://comp003/system

error: internal error: No <source> 'bridge' attribute specified with
<interface type='bridge'/>

I have eventually figure out that the problem is not with the XML
definitions for the host, but is related to the details of the network
interfaces assigned to the host as output by the virsh domiflist command.

The question I need to resolve is how do I populate the missing Source
information.

Any help gratefully appreciated.

Kind regards

Carl Taylor

root at comp001:~# libvirtd --version
libvirtd (libvirt) 1.2.8

root at comp001:~# virsh domiflist --inactive ws001
Interface  Type       Source     Model       MAC
-------------------------------------------------------
-          network    br300      virtio      52:54:00:62:9b:20
-          network    br201      virtio      52:54:00:f0:73:85
-          network    default    virtio      52:54:00:69:b1:e5

root at comp001:~# virsh domiflist ws001
Interface  Type       Source     Model       MAC
-------------------------------------------------------
vnet18     bridge     -          virtio      52:54:00:62:9b:20
vnet19     bridge     -          virtio      52:54:00:f0:73:85
vnet20     network    default    virtio      52:54:00:69:b1:e5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20150505/d994a26b/attachment.htm>


More information about the libvirt-users mailing list