<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">&#39;system&#39; namespace is flipped to &#39;trusted&#39; for geo-replication auxillary mount. So, it should be left as &#39;system&#39; in the source.</div>

<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I see that you&#39;re trying to connect to the remote slave as a non-super user. For that, you&#39;d need to access the slave via mount-broker, which would require some modification in the glusterd volfile.</div>

<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">

-venky</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 5, 2013 at 10:48 AM, Amar Tumballi <span dir="ltr">&lt;<a href="mailto:amarts@redhat.com" target="_blank">amarts@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 08/28/2013 11:15 PM, Iain Buchanan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I&#39;m running GlusterFS 3.3.2 and I&#39;m having trouble getting geo-replication to work.  I think it is a problem with extended attributes.  I&#39;ll using ssh with a normal user to perform the replication.<br>
<br>
On the server log in /var/log/glusterfs/geo-<u></u>replication/VOLNAME/ssh….log I&#39;m getting an error &quot;ReceClient: call …:…:… (xtime) failed on peer with OSError&quot;.  On the replication target I&#39;m getting the same error, but with a stack trace leading back to where it tries to set extended attributes in the Python replication code.  It appears to be trying to get the attribute &quot;system.glusterfs.xyz.xtime&quot; at line 365 of /usr/lib/glusterfs/glusterfs/<u></u>python/syncdaemon/resource.py: &quot;Xattr.lgetxattr(path, &#39;.&#39;.join([cls.GX_NSPACE, uuid, &#39;xtime&#39;)], 8))&quot;.<br>


I don&#39;t know anything about extended attributes, but I can&#39;t get anything in the &quot;system&quot; namespace manually, even running as root - e.g.<br>
        touch a<br>
        getfattr -n system.test a<br>
<br>
The above returns &quot;Operation not supported&quot; rather than &quot;No such attribute&quot;.  The &quot;user&quot; and &quot;trusted&quot; namespace work fine - this is on ext3 with user_xattr set in the mount options, and also on the server (ext4).<br>


</blockquote></div>
Yes, &#39;system&#39; is not allowed to be used by a process.<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On the server side I can see files have things set in the &quot;trusted&quot; namespace (e.g. with &quot;getfattr -m - filename&quot;).<br>
<br>
Should the setting of GX_NSPACE set the namespace to be &quot;system&quot; for non-root or should it always be &quot;trusted&quot;? (line 248 in resource.py)  If I force it to be &quot;trusted&quot; it seems to get further (I get occasional &quot;Operation not permitted&quot; lines, but I think this is file permission related).<br>


</blockquote></div>
Looks like a bug. Please change &#39;system&#39; to &#39;user&#39; in resource.py file, and see if it works.<br>
<br>
Regards,<br>
Amar<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Iain<br>
<br>
<br>
______________________________<u></u>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.<u></u>org/mailman/listinfo/gluster-<u></u>users</a><br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.<u></u>org/mailman/listinfo/gluster-<u></u>users</a><br>
</blockquote></div><br></div>