[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

James Page james.page at ubuntu.com
Tue Jan 24 11:27:38 UTC 2017


Upgraded to proposed packages, only ceph-common logrotate configuration
installed post upgrade.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
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 Committed

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