Description of problem: Setting ACL entries to files on RHS fails. Version-Release number of selected component (if applicable): glusterfs-3.4.0.12rhs How reproducible: Consistenly Steps to Reproduce: 1. Create a 2x2 Distributed-Replicate volume 2. Mount RHS client mount -t glusterfs -o acl 10.70.37.49:acl /mnt/gluster 3. Create file on mount point and set ACL entries on the file # touch file1 [root@rhs3 gluster]# ls file1 [root@rhs3 gluster]# getfacl file1 # file: file1 # owner: root # group: root user::rw- group::r-- other::r-- [root@rhs3 gluster]# setfacl -m u:test:r-- file1 [root@rhs3 gluster]# getfacl file1 # file: file1 # owner: root # group: root user::rw- group::r-- other::r-- Actual results: Setfacl command fails to set acl entries. Expected results: This is a regression. Setting ACL entries should succeed. Additional info: # gluster volume info acl Volume Name: acl Type: Distributed-Replicate Volume ID: 4c8234b4-8d74-4048-97a9-0d2f519996d1 Status: Started Number of Bricks: 2 x 2 = 4 Transport-type: tcp Bricks: Brick1: 10.70.37.49:/glance2/s1 Brick2: 10.70.37.120:/glance2/s2 Brick3: 10.70.37.132:/glance2/s3 Brick4: 10.70.37.208:/glance2/s4
Created attachment 779714 [details] Sosreport of 10.70.37.49 . The RHS client was also mounted was this machine.
Created attachment 779715 [details] sosreport of 10.70.37.120
Created attachment 779716 [details] sosreport of 10.70.37.132
Created attachment 779717 [details] sosreport of 10.70.37.208
Can you confirm if doing 'gluster volume set <VOL> stat-prefetch off' and doing the same operations fixes the problem? Next question is, if there is a work around, is it a blocker?
(In reply to Amar Tumballi from comment #6) > Can you confirm if doing 'gluster volume set <VOL> stat-prefetch off' and > doing the same operations fixes the problem? > > Next question is, if there is a work around, is it a blocker? It is not really about setting stat-prefetch off. But after any graph change, I see that setting ACLs work.
If you disable 'stat-prefetch', no more graph changes are required. We are working on a fix for this. But till that time, (for all ACL tests) can you proceed with stat-prefetch disabled.
https://code.engineering.redhat.com/gerrit/#/c/11194/
Verified with glusterfs-3.4.0.18rhs-1.el6rhs.x86_64
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1262.html