[Bug 1635844] Re: /etc/logrotate.d/ceph and /etc/logrotate.d/ceph-base both manage /var/log/ceph/ which causes "error: ceph-base:1 duplicate log entry for /var/log/ceph/ceph-mon.[hostname].log" during hourly logrotate

Launchpad Bug Tracker 1635844 at bugs.launchpad.net
Tue Feb 7 22:16:53 UTC 2017


This bug was fixed in the package ceph - 10.2.5-0ubuntu0.16.10.1

---------------
ceph (10.2.5-0ubuntu0.16.10.1) yakkety; urgency=medium

  * New upstream stable release (LP: #1649856):
    - d/p/32bit-ftbfs.patch: Drop, no longer required.
    - d/p/*: Refresh.
    - d/ceph-common.install: Switch to RSA keys for drop.ceph.com.
  * d/rules: Install upstream provided systemd targets and ensure they
    are enabled and started on install to ensure that integrations aligned
    to upstream packaging work with Ubuntu packages (LP: #1646583).
  * d/ceph.{postinst,preinst,postrm}: Ensure that ceph logrotate
    configuration is purged on upgrade from pre-yakkety installs
    (LP: #1635844).
  * d/ceph-base.*,d/*.logrotate: Install logrotate configuration
    in ceph-common, ensuring that all daemons get log rotation on
    log files, deal with removal of logrotate configuration in
    ceph-base for upgrades (LP: #1609866).

 -- James Page <james.page at ubuntu.com>  Wed, 18 Jan 2017 11:39:04 +0000

** Changed in: ceph (Ubuntu Yakkety)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1635844

Title:
  /etc/logrotate.d/ceph and /etc/logrotate.d/ceph-base both manage
  /var/log/ceph/ which causes "error: ceph-base:1 duplicate log entry
  for /var/log/ceph/ceph-mon.[hostname].log" during hourly logrotate

Status in ceph package in Ubuntu:
  Fix Released
Status in ceph source package in Yakkety:
  Fix Released

Bug description:
  [Impact]
  Multiple log rotate configs attempt to manage the same set of log files

  [Test Case]
  apt install ceph-mon ceph-osd (xenial)
  upgrade to yakkety
  <error message below will be seen>

  [Regression Potential]
  Minimal - logrotate configuration will be correctly removed on upgrades from the ceph package (although its now in the ceph-common, not ceph-base package with the proposed update to cover radosgw as well)

  [Original Bug Report]
  /etc/logrotate.d/ceph and /etc/logrotate.d/ceph-base both manage /var/log/ceph/ which causes "error: ceph-base:1 duplicate log entry for /var/log/ceph/ceph-mon.[hostname].log" during hourly logrotate

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: ceph 10.2.3-0ubuntu2
  Uname: Linux 4.8.0-040800-generic x86_64
  NonfreeKernelModules: openafs
  ApportVersion: 2.20.3-0ubuntu8
  Architecture: amd64
  Date: Sat Oct 22 16:32:23 2016
  InstallationDate: Installed on 2015-04-20 (550 days ago)
  InstallationMedia: Ubuntu-Server 14.10 "Utopic Unicorn" - Release amd64 (20141022.2)
  ProcEnviron:
   TERM=screen.xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: ceph
  UpgradeStatus: Upgraded to yakkety on 2016-10-19 (2 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1635844/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list