[sheepdog-users] sheepdog 0.9 vs live migration

Maxim Terletskiy terletskiy at emu.ru
Sun Jan 11 19:04:56 CET 2015


Is it works with 'default/writeback' cache or only with 'none' cache type?

17.12.2014 2:43, Vladislav Gorbunov пишет:
> Sorry,
> try to add --unsafe to the virsh migrate command.
> Live migration with sheepdog 0.9 work in OpenNebula 4.10
> https://github.com/OpenNebula/addon-sheepdog
>
>
> 2014-12-12 19:16 GMT+10:00 Jónás Zsolt <jonas.zsolt at naxonet.hu 
> <mailto:jonas.zsolt at naxonet.hu>>:
>
>     Hi,
>
>
>     I'm testing sheepdog 0.9 on two hosts.
>
>
>     I tried to do kvm live migration:
>     $ virsh migrate --live test-vm qemu+ssh://test-host2/system
>
>
>     but I get the following error:
>     error: internal error: process exited while connecting to monitor:
>     qemu-system-x86_64: -drive
>     file=sheepdog:test-vm-disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none:
>     cannot get vdi info, VDI is already locked, test-vm-disk 0
>     qemu-system-x86_64: -drive
>     file=sheepdog:test-vm-disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none:
>     could not open disk image sheepdog:test-vm-disk: Could not open
>     'sheepdog:test-vm-disk': Input/output error
>
>
>     the VDI is locked by dog:
>     $ dog vdi lock list
>     VDI | owner node
>     test-vm-disk | IPv4 ip:test-host1 port:7000
>
>
>     if I remove the VDI lock the live migration works correctly:
>     $ dog vdi lock unlock test-vm-disk
>
>     but after the live migration I can't relock the VDI.
>
>
>     VM disk definition:
>         <disk type='network' device='disk'>
>           <driver name='qemu' type='qcow2' cache='none'/>
>           <source protocol='sheepdog' name='test-vm-disk'/>
>           <target dev='vda' bus='virtio'/>
>         </disk>
>
>
>     How can I do the live migration safely with sheepdog 0.9?
>     Or what am I doing wrong?
>
>
>     os: Ubuntu 14.04.1 LTS
>     qemu: QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.7)
>     sheepdog: Sheepdog daemon version 0.9.0
>
>
>     Thank you for your help!
>
>
>     jonci
>
>
>
>     --
>     sheepdog-users mailing lists
>     sheepdog-users at lists.wpkg.org <mailto:sheepdog-users at lists.wpkg.org>
>     http://lists.wpkg.org/mailman/listinfo/sheepdog-users
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20150111/73fcbd03/attachment-0004.html>


More information about the sheepdog-users mailing list