[Pkg-libvirt-maintainers] Bug#571159: libvirt-bin: qemu-kvm fails migration with messages in the VMs about failed disks.

Gerasimos Melissaratos gmelis at eexi.gr
Tue Feb 23 22:05:38 UTC 2010


Package: libvirt-bin
Version: 0.7.6-2
Severity: important



When two libvirt/qemu servers (say, A and B) share and NFS server, migrating a VM form A to B fails, barring access to the disk image from server B. When the VM boots on server A, it sets uid/gid on the VM disk image to libvirt-qemu:kvm. During the migration process (initiated through virt-manager) the image acquires momentarily libvirt-qemu:kvm uid/gid on server B, but then it reverts to root:root and messages about failed disk access are printed on the screen of the running VM (normal, since the image gets root:root ownership). In order to migrate the image, I have to shut down the VM on server A and boot it again on server B, beating the whole idea of migration. Wether I migrate from A->B or B->A makes no difference.



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libvirt-bin depends on:
ii  adduser           3.112                  add and remove users and groups
ii  libavahi-client3  0.6.25-3               Avahi client library
ii  libavahi-common3  0.6.25-3               Avahi common library
ii  libc6             2.10.2-6               Embedded GNU C Library: Shared lib
ii  libcap-ng0        0.6.2-4+b1             An alternate posix capabilities li
ii  libdevmapper1.02. 2:1.02.39-1            The Linux Kernel Device Mapper use
ii  libgcrypt11       1.4.5-2                LGPL Crypto library - runtime libr
ii  libgnutls26       2.8.5-2                the GNU TLS library - runtime libr
ii  libparted1.8-12   1.8.8.git.2009.07.19-5 The GNU Parted disk partitioning s
ii  libpciaccess0     0.11.0-1               Generic PCI access library for X
ii  libreadline6      6.1-1                  GNU readline and history libraries
ii  libsasl2-2        2.1.23.dfsg1-5         Cyrus SASL - authentication abstra
ii  libudev0          151-2                  libudev shared library
ii  libuuid1          2.16.2-0               Universally Unique ID library
ii  libvirt0          0.7.6-2                library for interfacing with diffe
ii  libxenstore3.0    3.4.2-2                Xenstore communications library fo
ii  libxml2           2.7.6.dfsg-2+b1        GNOME XML library
ii  logrotate         3.7.8-4                Log rotation utility

Versions of packages libvirt-bin recommends:
ii  bridge-utils                  1.4-5      Utilities for configuring the Linu
ii  dnsmasq-base                  2.52-1     A small caching DNS proxy and DHCP
ii  iptables                      1.4.6-2    administration tools for packet fi
ii  netcat-openbsd                1.89-3     TCP/IP swiss army knife
ii  qemu                          0.11.1-2   fast processor emulator

Versions of packages libvirt-bin suggests:
ii  policykit-1                   0.96-1     framework for managing administrat

-- no debconf information

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.






More information about the Pkg-libvirt-maintainers mailing list