Soyuz publisher is causing 1900 oopses per day unnecessarily

Bug #820347 reported by Julian Edwards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Gary Poster

Bug Description

Since publish-distro.py was turned into a LaunchpadScript, any log messages it was producing that are > INFO level are treated as an OOPS by the logger. This is causing ~1900 oopses per day when publishing Ubuntu.

It can be trivially fixed with the following patch:

=== modified file 'lib/lp/archivepublisher/model/ftparchive.py'
--- lib/lp/archivepublisher/model/ftparchive.py 2011-04-04 11:41:52 +0000
+++ lib/lp/archivepublisher/model/ftparchive.py 2011-08-03 12:52:57 +0000
@@ -156,7 +156,7 @@
         self.log.debug("Filepath: %s" % apt_config_filename)

         stdout_handler = OutputLineHandler(self.log.debug, "a-f: ")
- stderr_handler = OutputLineHandler(self.log.warning, "a-f: ")
+ stderr_handler = OutputLineHandler(self.log.info, "a-f: ")
         base_command = [
             "apt-ftparchive",
             "--no-contents",

Related branches

tags: added: oops soyuz-publish
Changed in launchpad:
status: New → Triaged
importance: Undecided → Critical
Gary Poster (gary)
Changed in launchpad:
assignee: nobody → Gary Poster (gary)
status: Triaged → In Progress
Revision history for this message
Gary Poster (gary) wrote :

This has to be part of a downtime deploy, with communication arranged with mrevell, to cocoplum (which is not part of no-downtime deploys).

Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant)
tags: added: qa-ok
removed: qa-needstesting
Gary Poster (gary)
Changed in launchpad:
status: Fix Committed → Fix Released
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.