Logrotate error for glance-registry

Bug #1009996 reported by Jérôme Gallard on 2012-06-07
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
glance (Ubuntu)
Medium
Unassigned

Bug Description

Hi,

With the last packages of Glance Essex on Ubuntu Precise, I have a problem with the logrotate service.

the error is :
error: glance-registry:1 duplicate log entry for /var/log/glance/glance-api.log
error: found error in /var/log/glance/glance-api.log , skipping

After a quick look, I think there is a problem in the file :
/etc/logrotate.d/glance-registry

In this file, it's indicated : /var/log/glance/glance-api.log instead of /var/log/glance/glance-registry.log

Regards,
Jérôme

Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

This report looks accurate to me. debian/glance-registry.logrotate looks wrong in the source package.

Workaround: edit /etc/logrotate.d/glance-registry and replace glance-api.log with glance-registry.log.

Changed in glance (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glance - 2012.2~f2~20120621.1644-0ubuntu1

---------------
glance (2012.2~f2~20120621.1644-0ubuntu1) quantal; urgency=low

  [ Chuck Short ]
  * New upstream release.
  * debian/glance-reigstry.logrotate: Rotate the right logfile. (LP: #1009996)
  * debian/control: Fix short description of glance-client. (LP: #982658)
  * debian/pydist-overrides: Add argparse and python_swiftclient.

  [ Adam Gandelman ]
  * debian/glance-api.install: Remove glance-{scrubber, cache}-paste.ini.
 -- Chuck Short <email address hidden> Fri, 22 Jun 2012 09:18:07 -0400

Changed in glance (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers