[sheepdog-users] sheepdog 0.9 vs live migration
Vladislav Gorbunov
vadikgo at gmail.com
Mon Jan 12 06:03:23 CET 2015
It works with writeback cache.
2015-01-12 4:04 GMT+10:00 Maxim Terletskiy <terletskiy at emu.ru>:
> 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>:
>>
>> 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
>> http://lists.wpkg.org/mailman/listinfo/sheepdog-users
>>
>>
>
>
>
> --
> sheepdog-users mailing lists
> sheepdog-users at lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/sheepdog-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog-users/attachments/20150112/ae44e85c/attachment-0005.html>
More information about the sheepdog-users
mailing list