v0.9 - live migration and vdi locking is conflicted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sheepdog |
New
|
Undecided
|
Unassigned |
Bug Description
I'm testing sheepdog 0.9 on two hosts.
I tried to do kvm live migration:
$ virsh migrate --live test-vm qemu+ssh:
but I get the following error:
error: internal error: process exited while connecting to monitor: qemu-system-x86_64: -drive file=sheepdog:
qemu-system-x86_64: -drive file=sheepdog:
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-
<target dev='vda' bus='virtio'/>
</disk>
os: Ubuntu 14.04.1 LTS
qemu: QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-
sheepdog: Sheepdog daemon version 0.9.0