Bug 1399178 - Keystone logs inflated does not logrotate
Summary: Keystone logs inflated does not logrotate
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-keystone
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: John Dennis
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-28 13:45 UTC by Ronnie Rasouli
Modified: 2017-07-20 07:07 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-20 15:43:32 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Ronnie Rasouli 2016-11-28 13:45:35 UTC
Description of problem:

keystone logs reach few Gb in long time 

Version-Release number of selected component (if applicable):
openstack-keystone-10.0.0-3.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. while true; do echo "hello world "; done >> /var/log/keystone/keystone.log
2. 
3.

Actual results:
the log does not rotate 

Expected results:

rotate keystone logs 

Additional info:
cat /etc/logrotate.d/openstack-keystone 
/var/log/keystone/*.log {
    rotate 14
    size 10M
    missingok
    compress
}


see BZ 1394544

 cat /etc/logrotate.d/openstack-ceilometer 
compress

/var/log/ceilometer/*.log {
    weekly
    rotate 4
    size 10M
    missingok
    compress
    minsize 100k
}

Comment 1 Rob Crittenden 2017-01-23 17:53:59 UTC
What are you expecting to happen, the log to rotate once it passes the 10M mark? logrotate runs once per day.

Comment 2 Rob Crittenden 2017-02-20 15:43:32 UTC
Closing. If you can provide the requested information we can try to address.


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