Bug 1306136

Summary: Able to create files when quota limit is set to 0
Product: [Community] GlusterFS Reporter: Manikandan <mselvaga>
Component: quotaAssignee: Manikandan <mselvaga>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.7.7CC: bugs, byarlaga, mselvaga, sankarshan, smohan, storage-qa-internal, vmallika
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1302554 Environment:
Last Closed: 2016-04-19 07:25:49 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: 1294751, 1302554    
Bug Blocks:    

Comment 1 Vijay Bellur 2016-02-10 06:48:50 UTC
REVIEW: http://review.gluster.org/13417 (cli/quota : quota is not enforcing when limit is set to 0) posted (#1) for review on release-3.7 by Manikandan Selvaganesh (mselvaga)

Comment 2 Vijay Bellur 2016-02-11 06:11:09 UTC
COMMIT: http://review.gluster.org/13417 committed in release-3.7 by Raghavendra G (rgowdapp) 
------
commit bd71d153475761de4b99bf47d90850dc7f05c4a6
Author: Manikandan Selvaganesh <mselvaga>
Date:   Thu Jan 28 12:35:40 2016 +0530

    cli/quota : quota is not enforcing when limit is set to 0
    
    When limit value is set to 0, quota assumes that limit is not
    set and is not enforcing currently. The patch fixes this issue by
    restricting the user from setting limit value = 0.
    
            Backport of http://review.gluster.org/#/c/13309/
    
    > Change-Id: I316653165cd9766600f95b5f23e5b8abcc2b41e7
    > BUG: 1302554
    > Signed-off-by: Manikandan Selvaganesh <mselvaga>
    
    Change-Id: I83623cba54873f27bd65d5d6d85b1f8e9d895f55
    BUG: 1306136
    Signed-off-by: Manikandan Selvaganesh <mselvaga>
    Reviewed-on: http://review.gluster.org/13417
    Smoke: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>
    Reviewed-by: Raghavendra G <rgowdapp>

Comment 3 Kaushal 2016-04-19 07:25:49 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.9, please open a new bug report.

glusterfs-3.7.9 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] https://www.gluster.org/pipermail/gluster-users/2016-March/025922.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user