[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

Brian Murray brian at ubuntu.com
Thu Jan 19 19:26:37 UTC 2017


Hello Karl-Philipp, or anyone else affected,

Accepted ceph into yakkety-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/ceph/10.2.5-0ubuntu0.16.10.1 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

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

** Tags added: verification-needed

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