Bug 801372 - Need to integrate 'glusterfs-logrotate' with logrotate package
Summary: Need to integrate 'glusterfs-logrotate' with logrotate package
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: unclassified
Version: 2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHGS 2.0.0
Assignee: Ric Wheeler
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-03-08 11:36 UTC by Amar Tumballi
Modified: 2015-08-10 07:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-10 07:47:47 UTC
Embargoed:


Attachments (Terms of Use)
logrotate file for gluster specific files. (772 bytes, application/octet-stream)
2012-03-09 06:37 UTC, Amar Tumballi
amarts: review? (atowns)
Details

Description Amar Tumballi 2012-03-08 11:36:00 UTC
Description of problem:
In glusterfs's source repository we have logrotate config file called 'glusterfs-logrotate', which should be added to RHS 2.0 build

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

Providing a enhanced logrotate config will help us to manage the big log files etc.

Comment 1 Amar Tumballi 2012-03-09 06:37:21 UTC
Created attachment 568823 [details]
logrotate file for gluster specific files.

We surely need a logrotate conf file for RHS 2.0 as Sometimes Gluster's log can grow big. The attached file is a sample logrotate config for the gluster specific logs. Please review it and include it in the next build.

Comment 2 Andrius Benokraitis 2012-03-09 14:46:41 UTC
So is there nothing required to add to logrotate as part of RHEL? This is just the config file, correct?

Comment 4 Amar Tumballi 2012-03-09 16:59:43 UTC
Yes it is just a config file, needs to be placed in /etc/logrotate.d/ directory. I had made some basic sanity check that 'logrotate' package is already part of RHS Alpha image, and it is scheduled to run daily once through /etc/cron.daily/, 

I feel this can be present only in RHS for now as GlusterFS is planned to be supported only through the RHS, not through RHEL

Comment 5 Amar Tumballi 2012-03-13 11:31:21 UTC
patch sent: http://review.gluster.com/2935

Comment 6 Anand Avati 2012-03-14 12:59:11 UTC
CHANGE: http://review.gluster.com/2935 (rpm spec file: update the 'logrotate' config file during rpm install) merged in master by Vijay Bellur (vijay)


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