Bug 1146377 - Quota-crawlers of all volumes write to the same log file
Summary: Quota-crawlers of all volumes write to the same log file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: quota
Version: mainline
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Krutika Dhananjay
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-25 06:58 UTC by Krutika Dhananjay
Modified: 2015-05-14 17:44 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.7.0
Clone Of:
Environment:
Last Closed: 2015-05-14 17:27:50 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Krutika Dhananjay 2014-09-25 06:58:39 UTC
Description of problem:
When there are multiple volumes on which quota is enabled, all of their crawler processes write to the same file - DEFAULT_LOG_FILE_DIRECTORY/quota-crawl.log

This makes it difficult to read the logs and also makes the log-file ugly when multiple processes write to the same file without any synchronization.

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


How reproducible:
Always

Steps to Reproduce:
1. Create 2 volumes, start and mount them. Create data under them.
2. Enable quota on both of them.
3. This will launch crawlers for both the volumes.

Actual results:
The log-file will have a mix of client logs messages for all files.

Expected results:
Let there be one crawler log-file per volume.

Additional info:

Comment 1 Anand Avati 2014-09-25 07:04:41 UTC
REVIEW: http://review.gluster.org/8843 (features/quota: Use per-volume log file for crawler) posted (#2) for review on master by Krutika Dhananjay (kdhananj)

Comment 2 Anand Avati 2014-10-10 03:22:12 UTC
REVIEW: http://review.gluster.org/8843 (features/quota: Use per-volume log file for crawler) posted (#3) for review on master by Krutika Dhananjay (kdhananj)

Comment 3 Anand Avati 2014-11-04 04:50:13 UTC
COMMIT: http://review.gluster.org/8843 committed in master by Krishnan Parthasarathi (kparthas) 
------
commit 4a79fa4f2694888258942222db2c8390f168c731
Author: Krutika Dhananjay <kdhananj>
Date:   Thu Sep 25 10:12:46 2014 +0530

    features/quota: Use per-volume log file for crawler
    
    Change-Id: I195b3309bae7e684b7dbf771e4f3b4778d0dac4c
    BUG: 1146377
    Signed-off-by: Krutika Dhananjay <kdhananj>
    Reviewed-on: http://review.gluster.org/8843
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>
    Reviewed-by: Krishnan Parthasarathi <kparthas>
    Tested-by: Krishnan Parthasarathi <kparthas>

Comment 4 Niels de Vos 2015-05-14 17:27:50 UTC
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.7.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 5 Niels de Vos 2015-05-14 17:35:37 UTC
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.7.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 6 Niels de Vos 2015-05-14 17:37:59 UTC
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.7.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 7 Niels de Vos 2015-05-14 17:44:01 UTC
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.7.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


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