Description of problem: ======================== We are able to get the "trusted.glusterfs.quota.limit-set" extended-attribute from the client machine Version-Release number of selected component (if applicable): ============================================================== glusterfs 3.4.0.35rhs built on Oct 15 2013 14:06:04 How reproducible: ================ Often Steps to Reproduce: ======================= 1. Create a replicate volume. Start the volume. 2. Enable quota on the volume. Set limit-usage on "/" for 1GB 3. From the client machine mount the volume. 4. Execute : "getfattr -d -e hex -m . <mount_point>" Actual results: ================ root@darrel [Oct-17-2013-12:54:00] >mount -t glusterfs rhs-client11:/vol_rep /mnt/fuse2 root@darrel [Oct-17-2013-12:54:12] >getfattr -d -e hex -m . /mnt/fuse2 getfattr: Removing leading '/' from absolute path names # file: mnt/fuse2 trusted.glusterfs.quota.limit-set=0x0000000280000000ffffffffffffffff trusted.glusterfs.volume-id=0x5a934afaff4448568f4032572ed0850f Expected results: ================= None of the trusted.glusterfs* attributes should be visible. Additional Info: ================= root@rhs-client11 [Oct-17-2013-12:55:18] >gluster v info vol_rep Volume Name: vol_rep Type: Replicate Volume ID: 5a934afa-ff44-4856-8f40-32572ed0850f Status: Started Number of Bricks: 1 x 2 = 2 Transport-type: tcp Bricks: Brick1: rhs-client11:/rhs/bricks/vol_rep_b0 Brick2: rhs-client12:/rhs/bricks/vol_rep_b1 Options Reconfigured: features.quota: on root@rhs-client11 [Oct-17-2013-13:03:45] >gluster v quota vol_rep list Path Hard-limit Soft-limit Used Available -------------------------------------------------------------------------------- / 10.0GB 80% N/A N/A Able to remove/set the extended attributes to other values from mount point. trusted.glusterfs.quota.limit-set ========================================================================== Mount point: ~~~~~~~~~~~~ root@rhs-client14 [Nov-07-2013- 6:00:23] >getfattr -d -e hex -m . /mnt/gm1 getfattr: Removing leading '/' from absolute path names # file: mnt/gm1 trusted.glusterfs.quota.limit-set=0x0000000280000000ffffffffffffffff root@rhs-client14 [Nov-07-2013- 6:02:29] >setfattr -x trusted.glusterfs.quota.limit-set . root@rhs-client14 [Nov-07-2013- 6:02:44] >echo $? 0 Bricks: ~~~~~~~~~~ Volume Name: vol_rep Type: Replicate Volume ID: 51f57dab-e803-4e3d-9471-63febc2ed51d Status: Started Number of Bricks: 1 x 3 = 3 Transport-type: tcp Bricks: Brick1: rhs-client11:/rhs/bricks/b1 Brick2: rhs-client12:/rhs/bricks/b1-rep1 Brick3: rhs-client13:/rhs/bricks/b1-rep2 Options Reconfigured: features.quota: on root@rhs-client11 [Nov-07-2013- 6:01:47] >gluster v quota vol_rep list Path Hard-limit Soft-limit Used Available -------------------------------------------------------------------------------- / 10.0GB 80% 10.0GB 0Bytes After resetting the "trusted.glusterfs.quota.limit-set" extended attribute. root@rhs-client11 [Nov-07-2013- 6:01:52] >gluster v quota vol_rep list Path Hard-limit Soft-limit Used Available -------------------------------------------------------------------------------- "trusted.glusterfs.volume-id" ========================================================================= Mount point: ~~~~~~~~~~~~ root@rhs-client14 [Nov-07-2013- 5:52:07] >find . | xargs getfattr -d -e hex -m . # file: . trusted.glusterfs.volume-id=0x51f57dabe8034e3d947163febc2ed51d root@rhs-client14 [Nov-07-2013- 5:57:04] >setfattr -x trusted.glusterfs.volume-id . root@rhs-client14 [Nov-07-2013- 5:57:14] >echo $? 0 Bricks: ~~~~~~~~~ root@rhs-client11 [Nov-07-2013- 5:57:26] >getfattr -d -e hex -m . /rhs/bricks/b1/ getfattr: Removing leading '/' from absolute path names # file: rhs/bricks/b1/ trusted.gfid=0x00000000000000000000000000000001 trusted.glusterfs.dht=0x000000010000000000000000ffffffff root@rhs-client12 [Nov-07-2013- 5:57:26] >getfattr -d -e hex -m . /rhs/bricks/b1-rep1/ getfattr: Removing leading '/' from absolute path names # file: rhs/bricks/b1-rep1/ trusted.gfid=0x00000000000000000000000000000001 trusted.glusterfs.dht=0x000000010000000000000000ffffffff root@rhs-client13 [Nov-07-2013- 5:57:26] >getfattr -d -e hex -m . /rhs/bricks/b1-rep2/ getfattr: Removing leading '/' from absolute path names # file: rhs/bricks/b1-rep2/ trusted.gfid=0x00000000000000000000000000000001 trusted.glusterfs.dht=0x000000010000000000000000ffffffff Other extended attributes readable and writable : "trusted.pgfid"
REVIEW: http://review.gluster.org/6490 (fuse: filter glusterfs quota xattrs) posted (#1) for review on master by susant palai (spalai)
REVIEW: http://review.gluster.org/6490 (fuse: filter glusterfs quota xattrs) posted (#2) for review on master by susant palai (spalai)
REVIEW: http://review.gluster.org/6490 (fuse: filter glusterfs quota xattrs) posted (#3) for review on master by susant palai (spalai)
REVIEW: http://review.gluster.org/6490 (fuse: filter glusterfs quota xattrs) posted (#4) for review on master by susant palai (spalai)
REVIEW: http://review.gluster.org/6490 (quota: filter glusterfs quota xattrs) posted (#5) for review on master by susant palai (spalai)
REVIEW: http://review.gluster.org/6490 (quota: filter glusterfs quota xattrs) posted (#6) for review on master by susant palai (spalai)
REVIEW: http://review.gluster.org/6490 (quota: filter glusterfs quota xattrs) posted (#7) for review on master by susant palai (spalai)
REVIEW: http://review.gluster.org/6490 (quota: filter glusterfs quota xattrs) posted (#8) for review on master by susant palai (spalai)
REVIEW: http://review.gluster.org/6490 (quota: filter glusterfs quota xattrs) posted (#9) for review on master by susant palai (spalai)
REVIEW: http://review.gluster.org/6490 (quota: filter glusterfs quota xattrs) posted (#10) for review on master by susant palai (spalai)
REVIEW: http://review.gluster.org/6490 (quota: filter glusterfs quota xattrs) posted (#11) for review on master by susant palai (spalai)
REVIEW: http://review.gluster.org/6490 (quota: filter glusterfs quota xattrs) posted (#12) for review on master by susant palai (spalai)
REVIEW: http://review.gluster.org/6490 (quota: filter glusterfs quota xattrs) posted (#13) for review on master by susant palai (spalai)
REVIEW: http://review.gluster.org/6490 (quota: filter glusterfs quota xattrs) posted (#14) for review on master by susant palai (spalai)
REVIEW: http://review.gluster.org/6490 (quota: filter glusterfs quota xattrs) posted (#15) for review on master by susant palai (spalai)
COMMIT: http://review.gluster.org/6490 committed in master by Vijay Bellur (vbellur) ------ commit 79683794c2ee9c6b5c1182e2a378598c2037a9ff Author: Susant Palai <spalai> Date: Thu Dec 12 06:20:55 2013 +0000 quota: filter glusterfs quota xattrs Change-Id: I86ebe02735ee88598640240aa888e02b48ecc06c BUG: 1040423 Signed-off-by: Susant Palai <spalai> Reviewed-on: http://review.gluster.org/6490 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Raghavendra G <rgowdapp>
A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED. Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution. [1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html [2] http://supercolony.gluster.org/pipermail/gluster-users/
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.6.1, please reopen this bug report. glusterfs-3.6.1 has been announced [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html [2] http://supercolony.gluster.org/mailman/listinfo/gluster-users