Bug 1020816

Summary: quota: alert message "A" in client logs
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Saurabh <saujain>
Component: glusterdAssignee: Anuradha <atalur>
Status: CLOSED ERRATA QA Contact: Saurabh <saujain>
Severity: high Docs Contact:
Priority: high    
Version: 2.1CC: atalur, grajaiya, mzywusko, psriniva, rgowdapp, smohan, vagarwal, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.4.0.52rhs-1.el6rhs Doc Type: Bug Fix
Doc Text:
Previously, the 'Soft-limit exceeded' alert log messages were logged only in the brick log files making it difficult to check if the quota soft-limit had exceeded. With this fix, executing the 'gluster volume quota <VOLNAME> list' command is sufficient to check if soft-limit and hard-limit have exceeded.
Story Points: ---
Clone Of:
: 1038598 (view as bug list) Environment:
Last Closed: 2014-02-25 07:55:37 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: 1038598    

Description Saurabh 2013-10-18 10:44:35 UTC
Description of problem:

Presently as per quota implementation that we have, it says that after the default-soft-limit on a certain is crossed there will be a alert in the gluster related logs.

The alert message "A" presently can be sometimes seen in the brick logs.

Also, as per the implementation the brick logs will have the "A" only if the write comes. In some cases this has been seen and there are cases there is no alert message at all.

Other than this, there may be cases where the number of bricks for a volume can be many, lie having more than 10 or 100 bricks.

Hence, a system administrator will have to do lot of work to find in which brick the alert message related to a path after crossing the soft-limit has been logged.

This does not seem to proper.

Therefore, it will be appreciable if there is alert logging to be present in client logs. Like in nfs.log/ fuse mount logs etc.

Comment 2 Anuradha 2013-12-05 13:56:51 UTC
REVIEW: https://code.engineering.redhat.com/gerrit/#/c/16903/ (quota : changes in quota list command) posted (#1) for review on rhs-2.1.

Comment 4 Anuradha 2013-12-30 07:31:50 UTC
*** Bug 1019302 has been marked as a duplicate of this bug. ***

Comment 5 Pavithra 2014-01-03 09:27:55 UTC
Can you please verify if the doc text is technically correct?

Comment 6 Saurabh 2014-01-03 10:43:55 UTC
tested in based on comment 3 , 

so as per that it works,
[root@quota5 ~]# gluster volume quota dist-rep1 list
                  Path                   Hard-limit Soft-limit   Used  Available  Soft-limit exceeded? Hard-limit exceeded?
---------------------------------------------------------------------------------------------------------------------------
/                                         20.0GB       80%      20.1GB  0Bytes             Yes                  Yes
/2                                        10.0GB       80%       9.9GB  71.1MB             Yes                   No


hence moving it to verified, glusterfs-3.4.0.53rhs-1.el6rhs.x86_64

Comment 7 Anuradha 2014-01-03 10:49:24 UTC
Doc text is technically correct.

Comment 9 errata-xmlrpc 2014-02-25 07:55:37 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.

http://rhn.redhat.com/errata/RHEA-2014-0208.html