<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
<br>
I'm testing sheepdog 0.9 on two hosts.<br>
<br>
<br>
I tried to do kvm live migration:<br>
$ virsh migrate --live test-vm qemu+ssh://test-host2/system<br>
<br>
<br>
but I get the following error:<br>
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<br>
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<br>
<br>
<br>
the VDI is locked by dog:<br>
$ dog vdi lock list<br>
VDI | owner node<br>
test-vm-disk | IPv4 ip:test-host1 port:7000<br>
<br>
<br>
if I remove the VDI lock the live migration works correctly:<br>
$ dog vdi lock unlock test-vm-disk<br>
<br>
but after the live migration I can't relock the VDI.<br>
<br>
<br>
VM disk definition:<br>
<disk type='network' device='disk'><br>
<driver name='qemu' type='qcow2' cache='none'/><br>
<source protocol='sheepdog' name='test-vm-disk'/><br>
<target dev='vda' bus='virtio'/><br>
</disk><br>
<br>
<br>
How can I do the live migration safely with sheepdog 0.9?<br>
<span id="result_box" class="short_text" lang="en"><span class="hps">Or
what am I doing</span> <span class="hps">wrong?</span></span><br>
<br>
<br>
os: Ubuntu 14.04.1 LTS<br>
qemu: QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.7)<br>
sheepdog: Sheepdog daemon version 0.9.0<br>
<br>
<br>
Thank you for your help!<br>
<br>
<br>
jonci<br>
<br>
<br>
</body>
</html>