<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br>I've put the Client log in Debug mod&nbsp; : <br># gluster volume geo-replication /soft/venus config log-level DEBUG<br>geo-replication config updated successfully<br><br>&nbsp;# gluster volume geo-replication /soft/venus config log-file<br>/usr/local/var/log/glusterfs/geo-replication-slaves/${session_owner}:file%3A%2F%2F%2Fsoft%2Fvenus.log<br><br>&nbsp;# gluster volume geo-replication athena /soft/venus config session-owner<br>28cbd261-3a3e-4a5a-b300-ea468483c944<br><br>&nbsp;# gluster volume geo-replication athena /soft/venus start<br>Starting geo-replication session between athena &amp; /soft/venus has been successful<br><br>&nbsp;# gluster volume geo-replication athena /soft/venus status<br>MASTER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SLAVE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STATUS&nbsp;&nbsp;&nbsp; <br>--------------------------------------------------------------------------------<br>athena&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /soft/venus&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; starting...<br><br>and then : <br><br># gluster volume geo-replication athena /soft/venus status<br>MASTER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SLAVE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STATUS&nbsp;&nbsp;&nbsp; <br>--------------------------------------------------------------------------------<br>athena&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /soft/venus&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; faulty&nbsp;&nbsp;&nbsp; <br><br><br><br>For client : <br>cat /usr/local/var/log/glusterfs/geo-replication-slaves/28cbd261-3a3e-4a5a-b300-ea468483c944:file%3A%2F%2F%2Fsoft%2Fvenus.log <br><br>[2011-05-17 09:20:40.519731] I [gsyncd(slave):287:main_i] &lt;top&gt;: syncing: file:///soft/venus<br>[2011-05-17 09:20:40.520587] I [resource(slave):200:service_loop] FILE: slave listening<br>[2011-05-17 09:20:40.532951] I [repce(slave):61:service_loop] RepceServer: terminating on reaching EOF.<br>[2011-05-17 09:21:50.528803] I [gsyncd(slave):287:main_i] &lt;top&gt;: syncing: file:///soft/venus<br>[2011-05-17 09:21:50.529666] I [resource(slave):200:service_loop] FILE: slave listening<br>[2011-05-17 09:21:50.542349] I [repce(slave):61:service_loop] RepceServer: terminating on reaching EOF.<br><br><br><br>For server : <br>&nbsp;# cat /usr/local/var/log/glusterfs/geo-replication/athena/file%3A%2F%2F%2Fsoft%2Fvenus.log<br><br>[2011-05-17 09:30:04.431369] I [monitor(monitor):42:monitor] Monitor: ------------------------------------------------------------<br>[2011-05-17 09:30:04.431669] I [monitor(monitor):43:monitor] Monitor: starting gsyncd worker<br>[2011-05-17 09:30:04.486852] I [gsyncd:287:main_i] &lt;top&gt;: syncing: gluster://localhost:athena -&gt; file:///soft/venus<br>[2011-05-17 09:30:04.488148] D [repce:131:push] RepceClient: call 30011:47491847633776:1305617404.49 __repce_version__() ...<br>[2011-05-17 09:30:04.635481] D [repce:141:__call__] RepceClient: call 30011:47491847633776:1305617404.49 __repce_version__ -&gt; 1.0<br>[2011-05-17 09:30:04.635751] D [repce:131:push] RepceClient: call 30011:47491847633776:1305617404.64 version() ...<br>[2011-05-17 09:30:04.636342] D [repce:141:__call__] RepceClient: call 30011:47491847633776:1305617404.64 version -&gt; 1.0<br>[2011-05-17 09:30:04.645972] E [syncdutils:131:log_raise_exception] &lt;top&gt;: FAIL: <br>Traceback (most recent call last):<br>&nbsp; File "/usr/local/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 102, in main<br>&nbsp;&nbsp;&nbsp; main_i()<br>&nbsp; File "/usr/local/libexec/glusterfs/python/syncdaemon/gsyncd.py", line 294, in main_i<br>&nbsp;&nbsp;&nbsp; local.connect()<br>&nbsp; File "/usr/local/libexec/glusterfs/python/syncdaemon/resource.py", line 379, in connect<br>&nbsp;&nbsp;&nbsp; raise RuntimeError("command failed: " + " ".join(argv))<br>RuntimeError: command failed: /usr/local/sbin/glusterfs --xlator-option *-dht.assert-no-child-down=true -l /usr/local/var/log/glusterfs/geo-replication/athena/file%3A%2F%2F%2Fsoft%2Fvenus.gluster.log -s localhost --volfile-id athena --client-pid=-1 /tmp/gsyncd-aux-mount-TEqjwY<br>[2011-05-17 09:30:04.647973] D [monitor(monitor):57:monitor] Monitor: worker got connected in 0 sec, waiting 59 more to make sure it's fine<br><br><br>Thx for your help.<br><br>Anthony<br><br><br><br><br>&gt; Date: Mon, 16 May 2011 20:56:44 +0530<br>&gt; From: csaba@gluster.com<br>&gt; CC: sokar6012@hotmail.com<br>&gt; Subject: Re: Géo-rep fail<br>&gt; <br>&gt; On 05/16/11 17:06, anthony garnier wrote:<br>&gt; &gt; Hi,<br>&gt; &gt; I'm currently trying to use géo-rep on the local data-node into a<br>&gt; &gt; directory but it fails with status "faulty"<br>&gt; [...]<br>&gt; &gt; I've done this cmd :<br>&gt; &gt; # gluster volume geo-replication athena /soft/venus config<br>&gt; &gt;<br>&gt; &gt; # gluster volume geo-replication athena /soft/venus start<br>&gt; &gt;<br>&gt; &gt; # gluster volume geo-replication athena /soft/venus status<br>&gt; &gt; MASTER SLAVE STATUS<br>&gt; &gt; --------------------------------------------------------------------------------<br>&gt; &gt; athena /soft/venus faulty<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Here is the log file in Debug mod :<br>&gt; &gt;<br>&gt; &gt; [2011-05-16 13:28:55.268006] I [monitor(monitor):42:monitor] Monitor:<br>&gt; &gt; ------------------------------------------------------------<br>&gt; &gt; [2011-05-16 13:28:55.268281] I [monitor(monitor):43:monitor] Monitor:<br>&gt; &gt; starting gsyncd worker<br>&gt; [...]<br>&gt; &gt; [2011-05-16 13:28:59.547034] I [master:191:crawl] GMaster: primary<br>&gt; &gt; master with volume id 28521f8f-49d3-4e2a-b984-f664f44f5289 ...<br>&gt; &gt; [2011-05-16 13:28:59.547180] D [master:199:crawl] GMaster: entering .<br>&gt; &gt; [2011-05-16 13:28:59.548289] D [repce:131:push] RepceClient: call<br>&gt; &gt; 10888:47702589471600:1305545339.55 xtime('.',<br>&gt; &gt; '28521f8f-49d3-4e2a-b984-f664f44f5289') ...<br>&gt; &gt; [2011-05-16 13:28:59.596978] E [syncdutils:131:log_raise_exception]<br>&gt; &gt; &lt;top&gt;: FAIL:<br>&gt; &gt; Traceback (most recent call last):<br>&gt; &gt; File "/usr/local/libexec/glusterfs/python/syncdaemon/syncdutils.py",<br>&gt; &gt; line 152, in twrap<br>&gt; &gt; tf(*aa)<br>&gt; &gt; File "/usr/local/libexec/glusterfs/python/syncdaemon/repce.py", line<br>&gt; &gt; 118, in listen<br>&gt; &gt; rid, exc, res = recv(self.inf)<br>&gt; &gt; File "/usr/local/libexec/glusterfs/python/syncdaemon/repce.py", line 42,<br>&gt; &gt; in recv<br>&gt; &gt; return pickle.load(inf)<br>&gt; &gt; EOFError<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Does anyone already got those errors ?<br>&gt; <br>&gt; This means slave gsyncd instance could not properly start up. To debug <br>&gt; this further, we need to see the slave side logs. In your case, the <br>&gt; following commands will set a debug log level for the slave (takes <br>&gt; effect if done before starting the geo-replication session) and locate<br>&gt; its log file:<br>&gt; <br>&gt; # gluster volume geo-replication /soft/venus config log-level DEBUG<br>&gt; # gluster volume geo-replication /soft/venus config log-file<br>&gt; <br>&gt; The output of the latter will contain an unresolved parameter<br>&gt; ${session-owner}. To get its actual value, run<br>&gt; <br>&gt; # gluster volume geo-replication athena /soft/venus config session-owner<br>&gt; <br>&gt; -- please post the content of the actual log file, path to which you get <br>&gt; after the substitution. (Also, cf.<br>&gt; <br>&gt; http://www.gluster.com/community/documentation/index.php/Gluster_3.2:_Configuring_Geo-replication<br>&gt; <br>&gt; , slave-side logs are illustrated there.)<br>&gt; <br>&gt; Csaba<br>&gt; <br>                                               </body>
</html>