[Pkg-libvirt-maintainers] Bug#878299: libvirt-daemon: Live migration with qemu - not working with copy-storage-xx on stretch

Jan Sechovec skudlik at mail.klfree.net
Thu Oct 12 12:01:45 UTC 2017


Package: libvirt-daemon
Version: 3.0.0-4
Severity: normal

Dear Maintainer,

after dist-upgrade from jessie to stretch live migrations with --copy-storage-all stopped working.
There is no usable error/warning log message, migration process waits for something, that will not 
happen (until killed).

example: 
virsh migrate --live virtual qemu+ssh://dest-host/system --verbose --persistent --copy-storage-all

We're using local LVM logical volumes for virtuals:

<disk type='block' device='disk'>
  <driver name='qemu' type='raw' cache='none' io='native'/>
  <source dev='/dev/data/sys-virtual'/>
  <target dev='vda' bus='virtio'/>
  <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</disk>

Volumes exists on both source and target side (no problems with this setup until upgrade to stretch, 
it worked fine on squeeze/wheezy/jessie distros.

Migration without copying of data finishes successfuly, problem appears only with --copy-storage-all 
and --copy-storage-inc. 

When running with LIBVIRT_DEBUG=1, last executed action is Perform3 in virDomainMigrateVersion3Full,
then only waiting. Transmitting of storage data never starts. I've tried migration between 
stretch->jessie, stretch->stretch, jessie-> stretch  hosts, none of these worked. When migrating from 
jessie to stretch, it gets even worse - after a while, the migrated virtual freezes until the 
migration virsh process is killed (after killing it starts responding again).

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796122#59

Reports the same behaviour..

Thanks in advance,

Jan


-- System Information:
Debian Release: 9.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libvirt-daemon depends on:
ii  libapparmor1        2.11.0-3
ii  libaudit1           1:2.6.7-2
ii  libavahi-client3    0.6.32-2
ii  libavahi-common3    0.6.32-2
ii  libblkid1           2.29.2-1
ii  libc6               2.24-11+deb9u1
ii  libcap-ng0          0.7.7-3+b1
ii  libdbus-1-3         1.10.18-1
ii  libdevmapper1.02.1  2:1.02.137-2
ii  libfuse2            2.9.7-1
ii  libgnutls30         3.5.8-5+deb9u2
ii  libnetcf1           1:0.2.8-1+b2
ii  libnl-3-200         3.2.27-2
ii  libnl-route-3-200   3.2.27-2
ii  libnuma1            2.0.11-2.1
ii  libparted2          3.2-17
ii  libpcap0.8          1.8.1-3
ii  libpciaccess0       0.13.4-1+b2
ii  librados2           10.2.5-7.2
ii  librbd1             10.2.5-7.2
ii  libsasl2-2          2.1.27~101-g0780600+dfsg-3
ii  libselinux1         2.6-3+b1
ii  libssh2-1           1.7.0-1
ii  libudev1            232-25+deb9u1
ii  libvirt0            3.0.0-4
ii  libxen-4.8          4.8.1-1+deb9u3
ii  libxenstore3.0      4.8.1-1+deb9u3
ii  libxml2             2.9.4+dfsg1-2.2+deb9u1
ii  libyajl2            2.1.0-2+b3

Versions of packages libvirt-daemon recommends:
ii  libxml2-utils   2.9.4+dfsg1-2.2+deb9u1
ii  netcat-openbsd  1.130-3
ii  qemu-kvm        1:2.8+dfsg-6+deb9u3

Versions of packages libvirt-daemon suggests:
ii  libvirt-daemon-system  3.0.0-4
pn  numad                  <none>

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list