[Sheepdog] nodes not joing the cluster automaticaly

Sonali Jadhav sonali at servercentralen.se
Wed Mar 9 06:42:58 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.


Thanks,
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 [192.168.1.162:7000]
> [root at kvmbox1 ~]# collie node list
>   Idx        Node id (FNV-1a) - Host:Port
> ------------------------------------------------
> * 0          db28f1360c4eded6 -192.168.1.162:7000
> 
> 
> And on  KVMbox2 its showing as,
> 
> [root at kvmbox2 ~]# collie cluster info
> running
> Ctime                Epoch Nodes
> 2011-03-08 13:05:28      1 [192.168.1.163:7000]
> [root at kvmbox2 ~]# collie node list
>   Idx        Node id (FNV-1a) - Host:Port
> ------------------------------------------------
> * 0          363e4ccce90dc0c3 - 192.168.1.163:7000
> 
> 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.


Thanks,

Kazutaka


-------------- next part --------------
A non-text attachment was scrubbed...
Name: corosync.log-kvmbox1.zip
Type: application/x-zip-compressed
Size: 836 bytes
Desc: corosync.log-kvmbox1.zip
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20110309/a75022d7/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: corosync.log-kvmbox2.zip
Type: application/x-zip-compressed
Size: 538045 bytes
Desc: corosync.log-kvmbox2.zip
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20110309/a75022d7/attachment-0007.bin>


More information about the sheepdog mailing list