Bug 1206432

Summary: quota: setting limit to 16384PB shows wrong stat with list commands
Product: [Community] GlusterFS Reporter: Vijaikumar Mallikarjuna <vmallika>
Component: quotaAssignee: Vijaikumar Mallikarjuna <vmallika>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: mainlineCC: bugs, gluster-bugs, nsathyan, saujain, smohan, vbellur, vmallika
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.7.0beta1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1103971 Environment:
Last Closed: 2015-05-14 17:27:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1103971, 1186580, 1199352    

Comment 1 Anand Avati 2015-03-27 04:51:45 UTC
REVIEW: http://review.gluster.org/10022 (quota/cli: validate quota hard-limit option) posted (#1) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 2 Anand Avati 2015-03-27 08:47:46 UTC
REVIEW: http://review.gluster.org/10022 (quota/cli: validate quota hard-limit option) posted (#2) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 3 Anand Avati 2015-04-01 06:58:18 UTC
REVIEW: http://review.gluster.org/10022 (quota/cli: validate quota hard-limit option) posted (#3) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 4 Anand Avati 2015-04-01 06:59:08 UTC
REVIEW: http://review.gluster.org/10022 (quota/cli: validate quota hard-limit option) posted (#4) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 5 Anand Avati 2015-04-01 11:27:30 UTC
REVIEW: http://review.gluster.org/10022 (quota/cli: validate quota hard-limit option) posted (#5) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 6 Anand Avati 2015-04-01 11:29:29 UTC
REVIEW: http://review.gluster.org/10022 (quota/cli: validate quota hard-limit option) posted (#6) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 7 Anand Avati 2015-04-02 10:33:50 UTC
REVIEW: http://review.gluster.org/10022 (quota/cli: validate quota hard-limit option) posted (#7) for review on master by Vijay Bellur (vbellur)

Comment 8 Anand Avati 2015-04-02 13:06:58 UTC
REVIEW: http://review.gluster.org/10022 (quota/cli: validate quota hard-limit option) posted (#8) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 9 Anand Avati 2015-04-10 11:23:24 UTC
COMMIT: http://review.gluster.org/10022 committed in master by Vijay Bellur (vbellur) 
------
commit d06e6bac4b5aa6d0fbf1660b92c4100de8f79e68
Author: vmallika <vmallika>
Date:   Wed Apr 1 16:56:00 2015 +0530

    quota/cli: validate quota hard-limit option
    
    Quota hard-limit is supported only upto: 9223372036854775807 (int 64)
    
    In CLI, it is allowed to set the value upto 16384PB (unsigned int 64),
    this is not a valid value as the xattrop for quota accounting and
    the quota enforcer operates on a signed int64 limit value.
    
    This patches fixes the problem in CLI and allows user to set
    the hard-limit value only from range 0 - 9223372036854775807
    
    Change-Id: Ifce6e509e1832ef21d3278bacfa5bd71040c8cba
    BUG: 1206432
    Signed-off-by: vmallika <vmallika>
    Reviewed-on: http://review.gluster.org/10022
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Kaushal M <kaushal>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 10 Niels de Vos 2015-05-14 17:27: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 11 Niels de Vos 2015-05-14 17:28:35 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:35:18 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