[sheepdog] [PATCH v2 0/7] revive VDI locking mecahnism

Valerio Pachera sirio81 at gmail.com
Fri Aug 1 10:35:58 CEST 2014


2014-07-30 9:29 GMT+02:00 Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>:

> Valerio, Fabian, could you test this series?
>

It seems to work fine.
I notice the warning message vary a bit on the node with the latest qemu
version.

root at test005:~# qemu-system-x86_64 -enable-kvm -drive file=sheepdog:test -k
it -vnc :1
qemu-system-x86_64: -drive file=sheepdog:test: cannot get vdi info, VDI
isn't locked, test 0
qemu-system-x86_64: -drive file=sheepdog:test: could not open disk image
sheepdog:test: Input/output error

root at valerio:~# qemu-system-x86_64 -enable-kvm -drive file=sheepdog:test -k
it -vnc :1
qemu-system-x86_64: -drive file=sheepdog:test: could not open disk image
sheepdog:test: cannot get vdi info, VDI isn't locked, test 0

root at valerio:~# qemu-system-x86_64 -version
QEMU emulator version 2.0.95, Copyright (c) 2003-2008 Fabrice Bellard

root at test005:~# qemu-system-x86_64 -version
QEMU emulator version 1.5.50, Copyright (c) 2003-2008 Fabrice Bellard

Sheepdog daemon version 0.8.50

This is what I see in sheep.log

Aug 01 10:27:28   INFO [main] cluster_lock_vdi_main(1334) node: IPv4
ip:192.168.2.27 port:7000 is locking VDI: 7c2b25
Aug 01 10:27:28   INFO [main] lock_vdi(297) VDI 7c2b25 is locked
Aug 01 10:28:12   INFO [main] cluster_lock_vdi_main(1334) node: IPv4
ip:192.168.2.45 port:7000 is locking VDI: 7c2b25
Aug 01 10:28:12   INFO [main] lock_vdi(301) VDI 7c2b25 is already locked
Aug 01 10:28:12  ERROR [main] cluster_lock_vdi_main(1337) locking
7c2b25failed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20140801/0c557e49/attachment-0003.html>


More information about the sheepdog mailing list