Bug 1229606 - Quota: " E [quota.c:1197:quota_check_limit] 0-ecvol-quota: Failed to check quota size limit" in brick logs
Summary: Quota: " E [quota.c:1197:quota_check_limit] 0-ecvol-quota: Failed to check q...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: quota
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: RHGS 3.1.1
Assignee: Vijaikumar Mallikarjuna
QA Contact: Anil Shah
URL:
Whiteboard:
Depends On:
Blocks: 1223636 1229609 1232135 1251815
TreeView+ depends on / blocked
 
Reported: 2015-06-09 08:55 UTC by Anil Shah
Modified: 2016-09-17 12:37 UTC (History)
11 users (show)

Fixed In Version: glusterfs-3.7.1-12
Doc Type: Bug Fix
Doc Text:
Previously, the error "Failed to check quota size limit" was displayed when the disk quota was exceeded. With this fix, this error is not displayed
Clone Of:
: 1229609 (view as bug list)
Environment:
Last Closed: 2015-10-05 07:10:47 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1845 0 normal SHIPPED_LIVE Moderate: Red Hat Gluster Storage 3.1 update 2015-10-05 11:06:22 UTC

Description Anil Shah 2015-06-09 08:55:36 UTC
Description of problem:


When disk quota exceeded, seeing below error message in  brick logs.
 E [quota.c:1197:quota_check_limit] 0-ecvol-quota: Failed to check quota size limit

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

[root@darkknight bricks]# rpm -qa | grep glusterfs
glusterfs-3.7.0-3.el6rhs.x86_64
glusterfs-server-3.7.0-3.el6rhs.x86_64
glusterfs-api-3.7.0-3.el6rhs.x86_64
glusterfs-geo-replication-3.7.0-3.el6rhs.x86_64
glusterfs-libs-3.7.0-3.el6rhs.x86_64
glusterfs-fuse-3.7.0-3.el6rhs.x86_64
glusterfs-cli-3.7.0-3.el6rhs.x86_64
glusterfs-client-xlators-3.7.0-3.el6rhs.x86_64



How reproducible:

100%

Steps to Reproduce:
1. Create 2*2 distribute replicate volume
2. Mount volume as FUSE or NFS mount
3. Enable quota on volume and set limit-usage on root of the volume
4. Create some files from mount so that disk quota exceeds

Actual results:

brick logs:
===============================
[2015-06-09 08:39:13.015008] E [quota.c:1197:quota_check_limit] 0-vol0-quota: Failed to check quota size limit
[2015-06-09 08:39:13.015102] I [server-rpc-fops.c:1378:server_writev_cbk] 0-vol0-server: 16503: WRITEV 0 (2c3e9e68-1dfb-4c52-b67d-9a36309bfee4) ==> (Disk quota exceeded)
[2015-06-09 08:39:13.015102] I [server-rpc-fops.c:1378:server_writev_cbk] 0-vol0-server: 16503: WRITEV 0 (2c3e9e68-1dfb-4c52-b67d-9a36309bfee4) ==> (Disk quota exceeded)
[2015-06-09 08:39:13.028128] E [quota.c:1197:quota_check_limit] 0-vol0-quota: Failed to check quota size limit
[2015-06-09 08:39:13.028193] I [server-rpc-fops.c:1378:server_writev_cbk] 0-vol0-server: 16504: WRITEV 0 (2c3e9e68-1dfb-4c52-b67d-9a36309bfee4) ==> (Disk quota exceeded)
[2015-06-09 08:39:13.042611] E [quota.c:1197:quota_check_limit] 0-vol0-quota: Failed to check quota size limit
[2015-06-09 08:39:13.042673] I [server-rpc-fops.c:1378:server_writev_cbk] 0-vol0-server: 16506: WRITEV 0 (2c3e9e68-1dfb-4c52-b67d-9a36309bfee4) ==> (Disk quota exceeded)
[2015-06-09 08:39:13.056257] E [quota.c:1197:quota_check_limit] 0-vol0-quota: Failed to check quota size limit


Expected results:


Additional info:


[root@darkknight bricks]# gluster v info vol0
 
Volume Name: vol0
Type: Distributed-Replicate
Volume ID: fd5c2240-113e-42a6-9271-8016d5b48c3f
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.70.33.214:/rhs/brick1/b1
Brick2: 10.70.33.219:/rhs/brick1/b2
Brick3: 10.70.33.225:/rhs/brick1/b3
Brick4: 10.70.44.13:/rhs/brick1/b4
Options Reconfigured:
features.quota-deem-statfs: on
features.inode-quota: on
features.quota: on
features.uss: enable
performance.readdir-ahead: on

Comment 2 Vijaikumar Mallikarjuna 2015-06-09 09:18:29 UTC
Patch submitted upstream: http://review.gluster.org/11135

Comment 7 Anil Shah 2015-08-26 07:03:11 UTC
Could not see the errors reported in the bug.
Marking this bug verified on build glusterfs-cli-3.7.1-12.el7rhgs.x86_64

Comment 9 errata-xmlrpc 2015-10-05 07:10:47 UTC
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.

https://rhn.redhat.com/errata/RHSA-2015-1845.html


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