<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi Vijay,<br><br>Thx for your help, I tried with root and it worked !<br><br>Many thanks,<br><br>Anthony<br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Thu, 2 Aug 2012 02:28:27 -0400<br>> From: vkoppad@redhat.com<br>> To: sokar6012@hotmail.com<br>> CC: gluster-users@gluster.org<br>> Subject: Re: [Gluster-users] Geo rep fail<br>> <br>> Hi anthony, <br>> <br>> What I understood from your invocation of geo-rep session is,<br>> you are trying to start geo-rep with slave as a normal-user. <br>> To successfully start geo-rep session , the slave need to be as a super user.<br>> Otherwise if you really want to have slave as a normal-user , you should <br>> set-up geo-rep through Mount-broker, the details of which you can get here,<br>> <br>> http://docs.redhat.com/docs/en-US/Red_Hat_Storage/2.0/html/Administration_Guide/chap-User_Guide-Geo_Rep-Preparation-Settingup_Slave.html<br>> <br>> Thanks,<br>> Vijaykumar <br>> <br>> ----- Original Message -----<br>> From: "anthony garnier" <sokar6012@hotmail.com><br>> To: vkoppad@redhat.com<br>> Cc: gluster-users@gluster.org<br>> Sent: Wednesday, August 1, 2012 6:28:37 PM<br>> Subject: Re: [Gluster-users] Geo rep fail<br>> <br>> <br>> <br>> Hi Vijay, <br>> <br>> Some complementary info : <br>> <br>> * SLES 11.2 <br>> * 3.0.26-0.7-xen <br>> * glusterfs 3.3.0 built on Jul 16 2012 14:28:16 <br>> * Python 2.6.8 <br>> * rsync version 3.0.4 <br>> * OpenSSH_4.3p2, OpenSSL 0.9.8a 11 Oct 2005 <br>> <br>> <br>> * <br>> ssh command used : ssh -oPasswordAuthentication=no -oStrictHostKeyChecking=no -i /var/lib/glusterd/geo-replication/secret.pem <= key of user sshux <br>> <br>> I also changed 1 line in gconf.py because I was aving diffiulties with the control master option and -S option <br>> <br>> # cls.ssh_ctl_args = ["-oControlMaster=auto", "-S", os.path.join(ctld, "gsycnd-ssh-%r@%h:%p")] <br>> cls.ssh_ctl_args = ["-oControlMaster=no"] <br>> <br>> Gluster cmd : <br>> <br>> # gluster volume geo-replication test ssh://sshux@yval1020:/users/geo-rep start <br>> <br>> <br>> Thx for your help. <br>> <br>> Anthony <br>> <br>> <br>> <br>> > Date: Tue, 31 Jul 2012 08:18:52 -0400 <br>> > From: vkoppad@redhat.com <br>> > To: sokar6012@hotmail.com <br>> > CC: gluster-users@gluster.org <br>> > Subject: Re: [Gluster-users] Geo rep fail <br>> > <br>> > Thanks anthony, I'll try to reproduce that. <br>> > <br>> > -Vijaykumar <br>> > <br>> > ----- Original Message ----- <br>> > From: "anthony garnier" <sokar6012@hotmail.com> <br>> > To: vkoppad@redhat.com <br>> > Cc: gluster-users@gluster.org <br>> > Sent: Tuesday, July 31, 2012 5:13:13 PM <br>> > Subject: Re: [Gluster-users] Geo rep fail <br>> > <br>> > <br>> > <br>> > Hi Vijay, <br>> > <br>> > I used the tarball here : http://download.gluster.org/pub/gluster/glusterfs/LATEST/ <br>> > <br>> > <br>> > <br>> > <br>> > > Date: Tue, 31 Jul 2012 07:39:51 -0400 <br>> > > From: vkoppad@redhat.com <br>> > > To: sokar6012@hotmail.com <br>> > > CC: gluster-users@gluster.org <br>> > > Subject: Re: [Gluster-users] Geo rep fail <br>> > > <br>> > > Hi anthony, <br>> > > <br>> > > By Glusterfs-3.3 version, you mean this rpm <br>> > > http://bits.gluster.com/pub/gluster/glusterfs/3.3.0/. <br>> > > or If you are working with git repo, can you give me branch and Head. <br>> > > <br>> > > -Vijaykumar <br>> > > <br>> > > ----- Original Message ----- <br>> > > From: "anthony garnier" <sokar6012@hotmail.com> <br>> > > To: gluster-users@gluster.org <br>> > > Sent: Tuesday, July 31, 2012 2:47:40 PM <br>> > > Subject: [Gluster-users] Geo rep fail <br>> > > <br>> > > <br>> > > <br>> > > Hello everyone, <br>> > > <br>> > > I'm using Glusterfs 3.3 and I have some difficulties to setup geo-replication over ssh. <br>> > > <br>> > > # gluster volume geo-replication test status <br>> > > MASTER SLAVE STATUS <br>> > > -------------------------------------------------------------------------------- <br>> > > test ssh://sshux@yval1020:/users/geo-rep faulty <br>> > > test file:///users/geo-rep OK <br>> > > <br>> > > As you can see, the one in a local folder works fine. <br>> > > <br>> > > This is my config : <br>> > > <br>> > > Volume Name: test <br>> > > Type: Replicate <br>> > > Volume ID: 2f0b0eff-6166-4601-8667-6530561eea1c <br>> > > Status: Started <br>> > > Number of Bricks: 1 x 2 = 2 <br>> > > Transport-type: tcp <br>> > > Bricks: <br>> > > Brick1: yval1010:/users/exp <br>> > > Brick2: yval1020:/users/exp <br>> > > Options Reconfigured: <br>> > > geo-replication.indexing: on <br>> > > cluster.eager-lock: on <br>> > > performance.cache-refresh-timeout: 60 <br>> > > network.ping-timeout: 10 <br>> > > performance.cache-size: 512MB <br>> > > performance.write-behind-window-size: 256MB <br>> > > features.quota-timeout: 30 <br>> > > features.limit-usage: /:20GB,/kernel:5GB,/toto:2GB,/troll:1GB <br>> > > features.quota: on <br>> > > nfs.port: 2049 <br>> > > <br>> > > <br>> > > This is the log : <br>> > > <br>> > > [2012-07-31 11:10:38.711314] I [monitor(monitor):81:monitor] Monitor: starting gsyncd worker <br>> > > [2012-07-31 11:10:38.844959] I [gsyncd:354:main_i] <top>: syncing: gluster://localhost:test -> ssh://sshux@yval1020:/users/geo-rep <br>> > > [2012-07-31 11:10:44.526469] I [master:284:crawl] GMaster: new master is 2f0b0eff-6166-4601-8667-6530561eea1c <br>> > > [2012-07-31 11:10:44.527038] I [master:288:crawl] GMaster: primary master with volume id 2f0b0eff-6166-4601-8667-6530561eea1c ... <br>> > > [2012-07-31 11:10:44.644319] E [repce:188:__call__] RepceClient: call 10810:140268954724096:1343725844.53 (xtime) failed on peer with OSError <br>> > > [2012-07-31 11:10:44.644629] E [syncdutils:184:log_raise_exception] <top>: FAIL: <br>> > > Traceback (most recent call last): <br>> > > File "/soft/GLUSTERFS//libexec/glusterfs/python/syncdaemon/gsyncd.py", line 115, in main <br>> > > main_i() <br>> > > File "/soft/GLUSTERFS//libexec/glusterfs/python/syncdaemon/gsyncd.py", line 365, in main_i <br>> > > local.service_loop(*[r for r in [remote] if r]) <br>> > > File "/soft/GLUSTERFS/libexec/glusterfs/python/syncdaemon/resource.py", line 756, in service_loop <br>> > > GMaster(self, args[0]).crawl_loop() <br>> > > File "/soft/GLUSTERFS/libexec/glusterfs/python/syncdaemon/master.py", line 143, in crawl_loop <br>> > > self.crawl() <br>> > > File "/soft/GLUSTERFS/libexec/glusterfs/python/syncdaemon/master.py", line 308, in crawl <br>> > > xtr0 = self.xtime(path, self.slave) <br>> > > File "/soft/GLUSTERFS/libexec/glusterfs/python/syncdaemon/master.py", line 74, in xtime <br>> > > xt = rsc.server.xtime(path, self.uuid) <br>> > > File "/soft/GLUSTERFS/libexec/glusterfs/python/syncdaemon/repce.py", line 204, in __call__ <br>> > > return self.ins(self.meth, *a) <br>> > > File "/soft/GLUSTERFS/libexec/glusterfs/python/syncdaemon/repce.py", line 189, in __call__ <br>> > > raise res <br>> > > OSError: [Errno 95] Operation not supported <br>> > > <br>> > > <br>> > > Apparently there is some errors with xtime and yet I have extended attribute activated. <br>> > > Any help will be gladly appreciated. <br>> > > <br>> > > Anthony <br>> > > <br>> > > <br>> > > <br>> > > <br>> > > <br>> > > <br>> > > <br>> > > <br>> > > <br>> > > _______________________________________________ <br>> > > Gluster-users mailing list <br>> > > Gluster-users@gluster.org <br>> > > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users <br>> > <br>> > _______________________________________________ <br>> > Gluster-users mailing list <br>> > Gluster-users@gluster.org <br>> > http://gluster.org/cgi-bin/mailman/listinfo/gluster-users <br>> <br>> _______________________________________________<br>> Gluster-users mailing list<br>> Gluster-users@gluster.org<br>> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users<br></div>                                            </div></body>
</html>