Bug 801372

Summary: Need to integrate 'glusterfs-logrotate' with logrotate package
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Amar Tumballi <amarts>
Component: unclassifiedAssignee: Ric Wheeler <rwheeler>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 2.0CC: flanagan, gluster-bugs, rwheeler, sdharane
Target Milestone: ---   
Target Release: RHGS 2.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-10 07:47:47 UTC Type: ---
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: 817967    
Attachments:
Description Flags
logrotate file for gluster specific files. amarts: review? (atowns)

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)