[Sheepdog] nodes not joing the cluster automaticaly

Sonali Jadhav sonali at servercentralen.se
Wed Mar 9 13:42:48 CET 2011

HI Kazutaka,

While starting sheepdog I ran command for xattr attribute. And it also applied that attribute to disk. See here,

[root at kvmbox1 ~]# mount
/dev/cciss/c0d0p2 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/cciss/c0d0p1 on /boot type ext3 (rw) tmpfs on /dev/shm type tmpfs (rw)
/dev/cciss/c0d0p5 on /store type ext3 (rw,user_xattr) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) none on /var/lib/xenstored type tmpfs (rw)

NOTE : /store is our sheepdog disk.
We are getting same output for kvmbox2.
Now I am attaching corosync logs of both kvmboxes too.

Sonali Jadhav

-----Original Message-----
From: MORITA Kazutaka [mailto:morita.kazutaka at lab.ntt.co.jp] 
Sent: Wednesday, March 09, 2011 12:01 AM
To: Sonali Jadhav
Cc: sheepdog at lists.wpkg.org
Subject: Re: [Sheepdog] nodes not joing the cluster automaticaly

At Tue, 8 Mar 2011 14:02:48 +0100,
Sonali Jadhav wrote:
> We have set up sheepdog cluster for 2 KVM boxes. I have successfully installed sheepdog on both boxes. But when I try to retrieve cluster info, both boxes are showing only itself information.
> On KVMbox1 its showing as,
> [root at kvmbox1 ~]# collie cluster info
> running
> Ctime                Epoch Nodes
> 2011-03-08 13:04:41      1 []
> [root at kvmbox1 ~]# collie node list
>   Idx        Node id (FNV-1a) - Host:Port
> ------------------------------------------------
> * 0          db28f1360c4eded6 -
> And on  KVMbox2 its showing as,
> [root at kvmbox2 ~]# collie cluster info
> running
> Ctime                Epoch Nodes
> 2011-03-08 13:05:28      1 []
> [root at kvmbox2 ~]# collie node list
>   Idx        Node id (FNV-1a) - Host:Port
> ------------------------------------------------
> * 0          363e4ccce90dc0c3 -
> I want to know why both of them are not getting added in cluster automatically? Also my corosync.conf files are configured correctly. I have configured them same as shown on http://wiki.qemu.org/Features/Sheepdog/Corosync_Config .
>  For more info I have attached sheep.log files of both boxes.

It seems that your local file system doesn't support an extended attribute.  In case of ext3, you need to add 'user_xattr' to the mount options.

Anyway, we should print a more user friendly log message, sorry.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: corosync.logs.zip
Type: application/x-zip-compressed
Size: 539151 bytes
Desc: corosync.logs.zip
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20110309/77745775/attachment-0003.bin>

More information about the sheepdog mailing list