Bug 1229297
Summary: | [Quota] : Inode quota spurious failure | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Sachin Pandit <spandit> | |
Component: | quota | Assignee: | Nagaprasad Sathyanarayana <nsathyan> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | high | Docs Contact: | ||
Priority: | medium | |||
Version: | mainline | CC: | bugs, gluster-bugs, nsathyan, smohan, vmallika | |
Target Milestone: | --- | Keywords: | Reopened | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | quota | |||
Fixed In Version: | glusterfs-3.8rc2 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1242329 (view as bug list) | Environment: | ||
Last Closed: | 2016-06-16 13:09:29 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: | 1242329 |
Description
Sachin Pandit
2015-06-08 12:10:59 UTC
REVIEW: http://review.gluster.org/11125 (features/quota : Fix spurious failure) posted (#1) for review on master by Sachin Pandit (spandit) REVIEW: http://review.gluster.org/11125 (features/quota : Fix spurious failure) posted (#2) for review on master by Vijay Bellur (vbellur) REVIEW: http://review.gluster.org/11125 (features/quota : Fix spurious failure) posted (#3) for review on master by Sachin Pandit (spandit) REVIEW: http://review.gluster.org/11125 (features/quota : Fix spurious failure) posted (#4) for review on master by Sachin Pandit (spandit) REVIEW: http://review.gluster.org/11125 (features/quota : Fix spurious failure) posted (#5) for review on master by Sachin Pandit (spandit) REVIEW: http://review.gluster.org/11125 (features/quota : Fix spurious failure) posted (#6) for review on master by Sachin Pandit (spandit) REVIEW: http://review.gluster.org/11125 (features/quota : Fix spurious failure) posted (#7) for review on master by Sachin Pandit (spandit) REVIEW: http://review.gluster.org/11125 (features/quota : Fix spurious failure) posted (#8) for review on master by Sachin Pandit (spandit) REVIEW: http://review.gluster.org/11125 (features/quota : Fix spurious failure) posted (#10) for review on master by Sachin Pandit (spandit) REVIEW: http://review.gluster.org/11125 (features/quota : Fix spurious failure) posted (#11) for review on master by Sachin Pandit (spandit) REVIEW: http://review.gluster.org/11125 (features/quota : Fix spurious failure) posted (#12) for review on master by Sachin Pandit (spandit) REVIEW: http://review.gluster.org/11125 (features/quota : Fix spurious failure) posted (#13) for review on master by Vijaikumar Mallikarjuna (vmallika) REVIEW: http://review.gluster.org/11125 (features/quota : Fix spurious failure) posted (#14) for review on master by Vijaikumar Mallikarjuna (vmallika) REVIEW: http://review.gluster.org/11125 (features/quota : Fix spurious failure) posted (#15) for review on master by Vijaikumar Mallikarjuna (vmallika) REVIEW: http://review.gluster.org/11125 (features/quota : Fix spurious failure) posted (#16) for review on master by Vijaikumar Mallikarjuna (vmallika) COMMIT: http://review.gluster.org/11125 committed in master by Krishnan Parthasarathi (kparthas) ------ commit 46d4d7ade012f86044135dd4af3101f851484cda Author: vmallika <vmallika> Date: Fri Jul 10 14:37:50 2015 +0530 features/quota : Fix spurious failure Problem : Basically, in this test case a file is created which exceeds the quota limit. Once the limit is reached that file will be deleted. At the same moment we are testing inode-quota. It can so happen that before the marker updates the information related to deletion of file, a new file creation operation comes and sees that quota limit is still exceeded. Solution : Inducing a check to see if marker updation completed successfully. Updated all the test case which has the similar machanism and also moved the "usage" function to a common place "volume.rc" Change-Id: I36ddbc5ebbf1b74c9d326a0d1d5f3b32f20a906a BUG: 1229297 Signed-off-by: Sachin Pandit <spandit> Signed-off-by: vmallika <vmallika> Reviewed-on: http://review.gluster.org/11125 Tested-by: NetBSD Build System <jenkins.org> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Krishnan Parthasarathi <kparthas> REVIEW: http://review.gluster.org/11673 (quota: fix quota test case) posted (#1) for review on master by Vijaikumar Mallikarjuna (vmallika) REVIEW: http://review.gluster.org/11673 (quota: fix quota test case) posted (#2) for review on master by Vijaikumar Mallikarjuna (vmallika) COMMIT: http://review.gluster.org/11673 committed in master by Raghavendra G (rgowdapp) ------ commit d94b39a8e6080e51f7281d545f11514829c1265c Author: vmallika <vmallika> Date: Wed Jul 15 15:17:31 2015 +0530 quota: fix quota test case Below command is wrong way of executing mutilple command with | (pipe) local cmd="$CLI volume quota $V0 list $QUOTA_PATH | grep $QUOTA_PATH | awk '{print \$$FIELD}'" $cmd This patch fixes the issue This patch also fixes testcase inode-quota.t, which checking quota values in wrongs fields Change-Id: If28732e6a76ea4bf75560f6496c8f56670915cf9 BUG: 1229297 Signed-off-by: vmallika <vmallika> Reviewed-on: http://review.gluster.org/11673 Tested-by: NetBSD Build System <jenkins.org> Reviewed-by: Raghavendra G <rgowdapp> Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well. 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.8.0, please open a new bug report. glusterfs-3.8.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://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |