Re: Block-migrate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Aug 07, 2010 at 03:55:10PM +0200, Ruben Kerkhof wrote:
> I've been playing with the new block-migrate feature, but am unable to
> get it to work.
> 
> [root@src ~]# virsh migrate --live --p2p  --tunnelled
> --copy-storage-all 4c5c75b9-decc-41c9-9296-20ca5bd5c355
> qemu://dst/system
> error: Unknown failure
> 
> /var/log/libvirt/qemu/4c5c75b9-decc-41c9-9296-20ca5bd5c355.log on the
> destination host shows:
> 
> bind(unix:/var/run/libvirt/qemu/qemu.tunnelmigrate.dest.4c5c75b9-decc-41c9-9296-20ca5bd5c355):
> Permission denied
> Migration failed. Exit code
> unix:/var/run/libvirt/qemu/qemu.tunnelmigrate.dest.4c5c75b9-decc-41c9-9296-20ca5bd5c355(-22),
> exiting
> 
> It seems that qemu is not able to write to that location.
> 
> [root@dst qemu]# ls -ld /var/run/libvirt/qemu/
> drwx------. 2 root root 4096 Aug  7 15:40 /var/run/libvirt/qemu/
> 
> As a workaround I gave qemu write permission, and now the block migrate starts.

Did the disk image files exist on the target before migration started ?
If not, then this is going to be falling foul of our security drivers
which prevent QEMU creating new files itself.

Also, a straw poll of people at the KVM forum yesterday determined that no
one had ever got  block migration to work, so it might be just broken in
QEMU

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]