Bug 1627726 - Containerized Cinder logs are not compressed when rotated
Summary: Containerized Cinder logs are not compressed when rotated
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-tripleo
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 12.0 (Pike)
Assignee: Bogdan Dobrelya
QA Contact: Artem Hrechanychenko
URL:
Whiteboard:
Depends On: 1570039
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-11 10:54 UTC by Bogdan Dobrelya
Modified: 2018-12-05 18:53 UTC (History)
18 users (show)

Fixed In Version: puppet-tripleo-7.4.12-10.el7ost
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Clone Of: 1570039
Environment:
Last Closed: 2018-12-05 18:52:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 601548 0 None None None 2018-09-11 10:54:08 UTC
Red Hat Product Errata RHBA-2018:3789 0 None None None 2018-12-05 18:53:41 UTC

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


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