No copytruncate configured for logrotate config shipped with openstack-keystone RPM

Bug #1672702 reported by Alexey Stupnikov on 2017-03-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Medium
MOS Packaging Team
Mitaka
Medium
Ivan Udovichenko
Newton
Medium
Ivan Udovichenko
Ocata
Medium
Andrii Kroshchenko

Bug Description

It turns out that for some reason there is no copytruncate statement in /etc/logrotate.d/openstack-keystone file. This statement presents inside the files we ship with DEB packages and it should be included in RPMs.

tags: added: area-linux
Alexey Stupnikov (astupnikov) wrote :

Assigned a bug to Ivan as it is packaging, not OS issue.

Related fix proposed to branch: 9.0/mitaka
Change author: Ivan Udovichenko <email address hidden>
Review: https://review.fuel-infra.org/32281

Related fix proposed to branch: 10.0/newton
Change author: Ivan Udovichenko <email address hidden>
Review: https://review.fuel-infra.org/32282

Reviewed: https://review.fuel-infra.org/32282
Submitter: Pkgs Jenkins <email address hidden>
Branch: 10.0/newton

Commit: d263eb0575f6a0a67512e6d5e038ca730567fa7a
Author: Ivan Udovichenko <email address hidden>
Date: Thu Mar 16 13:23:32 2017

Update keystone packages

- Align logrotate configuration with the one used in Debian:
  https://review.fuel-infra.org/gitweb?p=openstack-build/
  keystone-build.git;a=blob_plain;f=xenial/debian/
  keystone.logrotate;hb=d51c405e1a683d5300beec34518914d89175cf7d

Change-Id: I47245332c15a6ebe1bc2acbea39995f1ffd95612
Related-Bug: #1672702

Reviewed: https://review.fuel-infra.org/32281
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0/mitaka

Commit: 66b808cfba210cd1f918f856a6fdf40ed8ae4815
Author: Ivan Udovichenko <email address hidden>
Date: Thu Mar 16 13:17:33 2017

Update keystone packages

* Align logrotate configuration with the one used in Debian:
  https://review.fuel-infra.org/gitweb?p=openstack-build/
  keystone-build.git;a=blob_plain;f=trusty/debian/
  keystone.logrotate;hb=fbeee8185c93c3dfaf2205364f45b29eae2e16d1

Change-Id: I17629d3c5f571969c6c68c61bffa44562e0da26e
Related-Bug: #1672702

tags: added: on-verification
TatyanaGladysheva (tgladysheva) wrote :

Verified on 9.2 + mu1 updates.

Actual results:
[root@nailgun ~]# cat /etc/logrotate.d/openstack-keystone
/var/log/keystone/*.log {
    daily
    missingok
    rotate 5
    compress
    minsize 100k
    copytruncate
}

tags: removed: on-verification
Changed in fuel:
importance: Medium → Undecided
assignee: Ivan Udovichenko (iudovichenko) → nobody
milestone: 11.0 → none
status: Confirmed → In Progress
Changed in fuel:
milestone: none → 12.0
assignee: nobody → MOS Packaging Team (mos-packaging)
importance: Undecided → Medium
status: In Progress → Confirmed
Changed in fuel:
status: Confirmed → Opinion

Related fix proposed to branch: 11.0/ocata
Change author: Andrii Kroshchenko <email address hidden>
Review: https://review.fuel-infra.org/33176

Reviewed: https://review.fuel-infra.org/33176
Submitter: Pkgs Jenkins <email address hidden>
Branch: 11.0/ocata

Commit: f346e8941d9cb50d071f55afd972693451a8a00b
Author: Andrii Kroshchenko <email address hidden>
Date: Tue Apr 25 13:48:29 2017

[MOS11][RPM] Update keystone packages

  * Version:11.0.0-1.el7~mos0
  * Sync changes with https://review.openstack.org/gitweb?p=openstack/
    rpm-packaging.git;a=blob;f=openstack/keystone/
    keystone.spec.j2;h=e24ea6477e94dc4d2b398d8cb2346e665d435f67;hb=refs/heads/stable/ocata
  * Delete using openstack-keystone.defaultconf from upstream spec
  * Align logrotate configuration with the one used in Debian:
    https://review.fuel-infra.org/gitweb?p=openstack-build/
    keystone-build.git;a=blob_plain;f=trusty/debian/
    keystone.logrotate;hb=fbeee8185c93c3dfaf2205364f45b29eae2e16d1
    (LP#1672702)

Change-Id: I78d8d6fa6562b121c487203afa1439d74b01abe2
Related-Bug: #1672702

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers