Bug 1627726

Summary: Containerized Cinder logs are not compressed when rotated
Product: Red Hat OpenStack Reporter: Bogdan Dobrelya <bdobreli>
Component: puppet-tripleoAssignee: Bogdan Dobrelya <bdobreli>
Status: CLOSED ERRATA QA Contact: Artem Hrechanychenko <ahrechan>
Severity: high Docs Contact:
Priority: high    
Version: 12.0 (Pike)CC: abishop, agurenko, ahrechan, aschultz, augol, bdobreli, dprince, eharney, jjoyce, joflynn, jschluet, ltoscano, mcornea, pgrist, slinaber, srevivo, tbarron, tvignaud
Target Milestone: ---Keywords: Rebase, Triaged, ZStream
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-tripleo-7.4.12-10.el7ost Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Story Points: ---
Clone Of: 1570039 Environment:
Last Closed: 2018-12-05 18:52:48 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:
Embargoed:
Bug Depends On: 1570039    
Bug Blocks:    

Comment 6 Marius Cornea 2018-11-17 20:43:13 UTC
[root@controller-0 heat-admin]# rpm -q puppet-tripleo
puppet-tripleo-7.4.12-10.el7ost.noarch


[root@controller-0 heat-admin]# cat /etc/logrotate.d/openstack-cinder
compress

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

[root@controller-0 heat-admin]# ls -l /var/log/cinder/
total 87800
-rw-r--r--. 1 cinder cinder 73047990 Nov 17 20:41 cinder-api.log
-rw-r--r--. 1 cinder cinder  1299109 Nov 17 03:19 cinder-api.log-20181117.gz
-rw-r--r--. 1 cinder cinder   111608 Nov 17 05:01 cinder-manage.log
-rw-r--r--. 1 cinder cinder       95 Nov 17 05:01 cinder-rowsflush.log
-rw-r--r--. 1 cinder cinder  1667382 Nov 17 20:41 scheduler.log
-rw-r--r--. 1 cinder cinder  5644023 Nov 17 20:41 volume.log

Comment 8 errata-xmlrpc 2018-12-05 18:52:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3789