Bug 1399178

Summary: Keystone logs inflated does not logrotate
Product: Red Hat OpenStack Reporter: Ronnie Rasouli <rrasouli>
Component: openstack-keystoneAssignee: John Dennis <jdennis>
Status: CLOSED INSUFFICIENT_DATA QA Contact: nlevinki <nlevinki>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: jdennis, nkinder, rcritten, rrasouli, srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-20 15:43:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.