| Summary: | Keystone logs inflated does not logrotate | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Ronnie Rasouli <rrasouli> |
| Component: | openstack-keystone | Assignee: | 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: | |
What are you expecting to happen, the log to rotate once it passes the 10M mark? logrotate runs once per day. Closing. If you can provide the requested information we can try to address. |
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 }