Bug 1161106 - quota xattrs are exposed in lookup and getxattr
Summary: quota xattrs are exposed in lookup and getxattr
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: quota
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pranith Kumar K
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1162230 1163569
TreeView+ depends on / blocked
 
Reported: 2014-11-06 11:44 UTC by Pranith Kumar K
Modified: 2015-05-14 17:44 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.7.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1162230 1163569 (view as bug list)
Environment:
Last Closed: 2015-05-14 17:28:21 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Pranith Kumar K 2014-11-06 11:44:50 UTC
Description of problem:
quota lookup can return keys apart from quota-limit and quota-size xattrs. getxattr is returning pgfid xattrs. This leads to afr triggering spurious self-heals.

Version-Release number of selected component (if applicable):


How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Anand Avati 2014-11-06 11:52:37 UTC
REVIEW: http://review.gluster.org/9061 (features/marker: Filter internal xattrs in lookup) posted (#1) for review on master by Pranith Kumar Karampuri (pkarampu)

Comment 2 Anand Avati 2014-11-08 08:39:28 UTC
REVIEW: http://review.gluster.org/9061 (features/marker: Filter internal xattrs in lookup) posted (#2) for review on master by Pranith Kumar Karampuri (pkarampu)

Comment 3 Anand Avati 2014-11-08 08:39:31 UTC
REVIEW: http://review.gluster.org/9077 (cluster/afr: Ignore quota size key in healing) posted (#1) for review on master by Pranith Kumar Karampuri (pkarampu)

Comment 4 Anand Avati 2014-11-09 01:26:42 UTC
REVIEW: http://review.gluster.org/9061 (features/marker: Filter internal xattrs in lookup) posted (#3) for review on master by Pranith Kumar Karampuri (pkarampu)

Comment 5 Anand Avati 2014-11-10 05:11:04 UTC
REVIEW: http://review.gluster.org/9061 (features/marker: Filter internal xattrs in lookup) posted (#4) for review on master by Pranith Kumar Karampuri (pkarampu)

Comment 6 Anand Avati 2014-11-10 07:33:14 UTC
REVIEW: http://review.gluster.org/9061 (features/marker: Filter internal xattrs in lookup) posted (#5) for review on master by Pranith Kumar Karampuri (pkarampu)

Comment 7 Anand Avati 2014-11-10 15:11:50 UTC
REVIEW: http://review.gluster.org/9061 (features/marker: Filter internal xattrs in lookup) posted (#6) for review on master by Pranith Kumar Karampuri (pkarampu)

Comment 8 Anand Avati 2014-11-11 11:33:55 UTC
COMMIT: http://review.gluster.org/9061 committed in master by Vijay Bellur (vbellur) 
------
commit ffa4263c2f8fcb95ed5553a5a114bc26a920ad27
Author: Pranith Kumar K <pkarampu>
Date:   Thu Nov 6 10:37:06 2014 +0530

    features/marker: Filter internal xattrs in lookup
    
    Afr should ignore quota-size-key as part of self-heal
    but should heal quota-limit key.
    
    Change-Id: Ic0b06bd20a563a00d6bfdc2dc5a76c661e533ecb
    BUG: 1161106
    Signed-off-by: Pranith Kumar K <pkarampu>
    Reviewed-on: http://review.gluster.org/9061
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra G <rgowdapp>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 9 Niels de Vos 2015-05-14 17:28:21 UTC
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.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 10 Niels de Vos 2015-05-14 17:35:42 UTC
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.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 11 Niels de Vos 2015-05-14 17:38:04 UTC
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.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 12 Niels de Vos 2015-05-14 17:44:36 UTC
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.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


Note You need to log in before you can comment on or make changes to this bug.