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

Bug #1672702 reported by Alexey Stupnikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Opinion
Medium
MOS Packaging Team
Mitaka
Fix Released
Medium
Ivan Udovichenko
Newton
Fix Committed
Medium
Ivan Udovichenko
Ocata
Fix Committed
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: area-linux
tags: added: area-linux
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

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

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix proposed to openstack-build/keystone-build (9.0/mitaka)

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

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix proposed to openstack-build/keystone-build (10.0/newton)

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

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to openstack-build/keystone-build (10.0/newton)

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

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to openstack-build/keystone-build (9.0/mitaka)

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
Revision history for this message
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
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix proposed to openstack-build/keystone-build (11.0/ocata)

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

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to openstack-build/keystone-build (11.0/ocata)

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.