Bug 1000936
Summary: | Quota: With quota disabled, shouldn't incur overheads of accounting or enforcing quota | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Raghavendra Bhat <rabhat> |
Component: | glusterd | Assignee: | Kaushal <kaushal> |
Status: | CLOSED ERRATA | QA Contact: | Saurabh <saujain> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 2.1 | CC: | kaushal, kparthas, mzywusko, rhs-bugs, saujain, sdharane, shaines, shmohan, vbellur |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.4.0.38rhs-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-11-27 15:32:59 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: | 1016019 | ||
Bug Blocks: |
Description
Raghavendra Bhat
2013-08-26 07:20:31 UTC
https://code.engineering.redhat.com/gerrit/#/c/11944/ has been submitted and mergedd. The patch referred to in comment#3 made into to rhs-2.1 branch (and RHS-2.1 GA) as part of https://code.engineering.redhat.com/gerrit/#/c/12179/ [root@rhs-client4 mnt]# gluster v quota dist-rep disable Disabling quota will delete all the quota configuration. Do you want to continue? (y/n) y volume quota : success [root@rhs-client4 mnt]# [root@rhs-client4 mnt]# [root@rhs-client4 mnt]# gluster v quota dist-rep limit-usage / 1GB quota command failed : Quota is disabled, please enable quota [root@rhs-client4 mnt]# gluster v quota dist-rep list / quota command failed : Cannot list limits, quota is disabled Path Hard-limit Soft-limit Used Available -------------------------------------------------------------------------------- / 1.0GB (null) 953.7MB 70.3MB ##### Quota disabled but still showing the accounting info #### [root@rhs-client4 mnt]# gluster v quota dist-rep list / quota command failed : Cannot list limits, quota is disabled Path Hard-limit Soft-limit Used Available -------------------------------------------------------------------------------- / 1.0GB (null) 953.7MB 70.3MB [root@rhs-client4 mnt]# [root@rhs-client4 mnt]# gluster v quota dist-rep enable volume quota : success [root@rhs-client4 mnt]# [root@rhs-client4 mnt]# [root@rhs-client4 mnt]# gluster v quota dist-rep list / Path Hard-limit Soft-limit Used Available -------------------------------------------------------------------------------- / 1.0GB 80% 2.8GB 0Bytes [root@rhs-client4 mnt]# gluster v quota dist-rep list quota: No quota configured on volume dist-rep Though quota is not imposed after disabling but accounting info is still shown which should not, moving this bug back to "Assigned" The changes done for this bug till now, only fix the issues with 'quota list' listing older values when quota is disabled and enabled. But since quota xattrs set on the directories weren't being cleared, the quota accounting would happen again when quota was enabled. The cleanup of xattrs is being tracked in bug-1016019 and the fix is on track to be included in update-1. I'll leave this in ASSIGNED on my name for now, and will move it to ON_QA once the fix for 1016019 is merged and a build is released. Moving this to ON_QA. Bug 1016019 has been fixed and the fixes are available in glusterfs-3.4.0.38rhs-1. With these fixes, there should be no more trouble with quotas remaining after being disabled. moving this to verified tried to test on glusterfs-3.4.0.43rhs-1 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-1769.html |