[Sheepdog] VDI's disappear in cluster

Chris Hellkvist chris.hellkvist at googlemail.com
Thu Feb 17 15:31:43 CET 2011


Hi,

i have some problems with sheepdog; it looks to me like VDI's are
getting lost in the sheepdog cluster:
Sheepdog is running on 5 nodes, seems all fine:

root at 2tb-incep-9:~# collie node list
  Idx	Node id (FNV-1a) - Host:Port
------------------------------------------------
  0	2703573cdc30b0ca - 10.250.241.117:7000
  1	6967166567a2e289 - 10.250.241.118:7000
* 2	a52f6bf8425ebf64 - 10.250.241.119:7000
  3	bafd0bd834340c10 - 10.250.241.115:7000
  4	ddd81841dcb2f16f - 10.250.241.116:7000

I formatted the cluster:
root at 2tb-incep-9:~# collie cluster format --copies=3

And created a VDI with qemu:
root at 2tb-incep-9:~# qemu-img create sheepdog:vditest 4G
Formatting 'sheepdog:vditest', fmt=raw size=4294967296
root at 2tb-incep-9:~# collie vdi list
  name        id    size    used  shared    creation time   vdi id
------------------------------------------------------------------
  vditest      1  4.0 GB  0.0 MB  0.0 MB 2011-02-17 15:23   c584fa

So to this point all looks fine. Then i try to run qemu with this VDI,
this fails:
root at 2tb-incep-9:~# qemu-system-x86_64 -cdrom
debian-6.0.0-amd64-netinst.iso -boot d -vnc :1 -net nic -net
tap,ifname=tap0,script=no -daemonize sheepdog:vditest
qemu-system-x86_64: -daemonize: cannot get vdi info, No vdi found, vditest 0
qemu: could not open disk image sheepdog:vditest: Operation not permitted

And now, the VDI in the clister is gone:
root at 2tb-incep-9:~# collie vdi list
  name        id    size    used  shared    creation time   vdi id
------------------------------------------------------------------

Any ideas on that, or at least how to debug this? We are running 0.2.1
from the git repo...

Thanks,
Chris



More information about the sheepdog mailing list