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

Hitoshi Mitake mitake.hitoshi at gmail.com
Sun Aug 3 16:08:14 CEST 2014


At Fri, 1 Aug 2014 10:35:58 +0200,
Valerio Pachera wrote:
> 
> 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.

Thanks a lot for your testing, Valerio.

> 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

Seems that the above error message is produced by core component of
QEMU. Fixing it will be a little bit costly (consensus of QEMU
community is required). Could you add an issue to our tracker? I
cannot work on it soon.

Thanks,
Hitoshi

> 
> 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



More information about the sheepdog mailing list