<div dir="ltr"><div style="font-size:12.8000001907349px">Executing the current command:</div><span class="im" style="font-size:12.8000001907349px"><div><br></div>lxc-usernsexec -m u:0:165536:1 -m u:9869:9869:1 -m g:0:165536:1 -m g:9869:9869:1 -- chown 0:9869 /mnt/vm/lxc/test1<br><div><br></div></span><div style="font-size:12.8000001907349px"><div>tail -f briks/mnt-gluster-vm.log</div><div>[2015-06-23 07:03:23.849805] I [server-rpc-fops.c:1720:server_setattr_cbk] 0-gv0-server: 28302177: SETATTR /lxc/test1 (3f68f357-32c5-42d4-bc61-78c4ae38fa93) ==&gt; (Operation not permitted)</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div>tail -f mnt-vm.log</div><div>[2015-06-23 07:03:23.850023] W [client-rpc-fops.c:2145:client3_3_setattr_cbk] 2-gv0-client-0: remote operation failed: Operation not permitted<br></div><div>[2015-06-23 07:03:23.850204] W [client-rpc-fops.c:2145:client3_3_setattr_cbk] 2-gv0-client-1: remote operation failed: Operation not permitted</div><div>[2015-06-23 07:03:23.850830] W [fuse-bridge.c:1079:fuse_setattr_cbk] 0-glusterfs-fuse: 46678940: SETATTR() /lxc/test1 =&gt; -1 (Operation not permitted)</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Alessandro</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 23, 2015 at 1:15 AM, Vijay Bellur <span dir="ltr">&lt;<a href="mailto:vbellur@redhat.com" target="_blank">vbellur@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"><span class="">On Monday 22 June 2015 01:21 PM, Atin Mukherjee wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As far as I know we would need privileged container otherwise extended<br>
attribute support becomes unavailable. And gluster is built on<br>
underlying file system which has extended attribute support.<br>
<br>
</blockquote>
<br></span>
The call that seems to fail here is setattr and setxattr. So could it be a different problem?<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
On Jun 22, 2015 10:45 PM, &quot;Ale&quot; &lt;<a href="mailto:ale975@gmail.com" target="_blank">ale975@gmail.com</a><br></span><span class="">
&lt;mailto:<a href="mailto:ale975@gmail.com" target="_blank">ale975@gmail.com</a>&gt;&gt; wrote:<br>
 &gt;<br>
 &gt; Hi all,<br>
 &gt;<br>
 &gt; I&#39;m  new to gluster, and recently I setup two server  to use with lxc.<br>
 &gt; From both server I&#39;m able to mount the volume and do normal operation.<br>
 &gt;<br>
 &gt; When I try to create a unprivileged container where the path is<br>
inside the gluster volume,  the operation fail because unable to do<br>
chown operation.<br>
 &gt;<br>
 &gt; In detail lxc execute the following command:<br>
 &gt;<br>
 &gt; lxc-usernsexec -m u:0:165536:1 -m u:9869:9869:1 -m g:0:165536:1 -m<br>
g:9869:9869:1 -- chown 0:9869 /mnt/vm/lxc/test1<br>
 &gt;<br>
 &gt; and the gluster log report the following error:<br>
 &gt;<br>
 &gt; [2015-06-22 16:58:44.065941] W<br>
[client-rpc-fops.c:2145:client3_3_setattr_cbk] 2-gv0-client-0: remote<br>
operation failed: Operation not permitted<br>
 &gt; [2015-06-22 16:58:44.066213] W<br>
[client-rpc-fops.c:2145:client3_3_setattr_cbk] 2-gv0-client-1: remote<br>
operation failed: Operation not permitted<br>
 &gt; [2015-06-22 16:58:44.066928] W [fuse-bridge.c:1079:fuse_setattr_cbk]<br>
0-glusterfs-fuse: 36942426: SETATTR() /lxc/test1 =&gt; -1 (Operation not<br>
permitted)<br>
 &gt;<br>
 &gt; If I exec the same  command on the local filesystem, all works fine,<br>
I&#39;m running glusterfs 3.6.3 on ubuntu 14.04.<br>
 &gt;<br>
 &gt; Do you have any suggestion?<br>
</span></blockquote>
<br>
Can you check the brick log to determine the translator that might be reporting this error? I suspect that it could be stemming from posix.<span class="HOEnZb"><font color="#888888"><br>
<br>
-Vijay<br>
<br>
</font></span></blockquote></div><br></div>