Bug 1019288 - quota: limit-set is not logged in any logs
Summary: quota: limit-set is not logged in any logs
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: quota
Version: 2.1
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ---
: ---
Assignee: Manikandan
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-15 12:15 UTC by Saurabh
Modified: 2023-09-14 01:52 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-09 06:42:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Saurabh 2013-10-15 12:15:36 UTC
Description of problem:

I was trying to see, if we are logging somewhere about the successful operatoin about a quota limit setting on "/" or subdir, could not find it and hence putting up the bug

Version-Release number of selected component (if applicable):
glusterfs-3.4.0.34rhs-1.el6rhs.x86_64

Comment 2 Manikandan 2015-07-08 07:18:50 UTC
(In reply to Saurabh from comment #0)
> Description of problem:
> 
> I was trying to see, if we are logging somewhere about the successful
> operatoin about a quota limit setting on "/" or subdir, could not find it
> and hence putting up the bug
> 
> Version-Release number of selected component (if applicable):
> glusterfs-3.4.0.34rhs-1.el6rhs.x86_64

Hi Saurabh,
In the cmd_history.log, we are logging about the successful operation of quota limit setting on a directory. 

 [2015-07-08 06:01:06.678153]  : v quota vol1 limit-usage /dir/test/ 4MB 80 : SUCCESS
 [2015-07-08 07:15:59.117990]  : v quota vol1 limit-usage /dir/test/ 5MB 70% : SUCCESS

Is it necessary to log it somewhere else too?

Comment 3 Manikandan 2015-07-09 06:00:33 UTC
The bug is already fixed in the latest version. Logs for the successful operation of setting quota limit in a directory can be found in cmd_history.log.

Comment 4 Manikandan 2015-07-09 06:42:11 UTC
Closing this bug since it is already fixed.

[2015-07-08 06:01:06.678153]  : v quota vol1 limit-usage /dir/test/ 4MB 80 : SUCCESS
 [2015-07-08 07:15:59.117990]  : v quota vol1 limit-usage /dir/test/ 5MB 70% : SUCCESS

Comment 6 Red Hat Bugzilla 2023-09-14 01:52:02 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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