Production Librarian garbage collection failing

Bug #437084 reported by Stuart Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Stuart Bishop

Bug Description

There is rubbish in the production Librarian storage area. The code that ignores this rubbish is broken, causing garbage collection to fail with an exception:

2009-09-25 17:53:08 ERROR Ignoring directory incoming.old that shouldn't be here
Traceback (most recent call last):
 File "/srv/launchpadlibrarian.net/production/launchpad2/cronscripts/librarian-gc.py", line 93, in ?
   script.lock_and_run(isolation=ISOLATION_LEVEL_AUTOCOMMIT)
 File "/srv/launchpadlibrarian.net/production/launchpad2-rev-8513/lib/lp/services/scripts/base.py", line 286, in lock_and_run
   implicit_begin=implicit_begin, isolation=isolation)
 File "/srv/launchpadlibrarian.net/production/launchpad2-rev-8513/lib/lp/services/scripts/base.py", line 244, in run
   self.main()
 File "/srv/launchpadlibrarian.net/production/launchpad2/cronscripts/librarian-gc.py", line 87, in main
   librariangc.delete_unwanted_files(conn)
 File "/srv/launchpadlibrarian.net/production/launchpad2-rev-8513/lib/canonical/librarian/librariangc.py", line 548, in delete_unwanted_files
   dirnames.remove(dirname)
ValueError: list.remove(x): x not in list

Stuart Bishop (stub)
Changed in launchpad-foundations:
status: New → In Progress
importance: Undecided → High
importance: High → Critical
importance: Critical → High
assignee: nobody → Stuart Bishop (stub)
Revision history for this message
Diogo Matsubara (matsubara) wrote : Bug fixed by a commit
Changed in launchpad-foundations:
status: In Progress → Fix Committed
Revision history for this message
Stuart Bishop (stub) wrote :

Now failing at a new point:

2009-09-29 19:13:31 ERROR Ignoring directory lost+found that shouldn't
be here
Traceback (most recent call last):
 File
"/srv/launchpadlibrarian.net/production/launchpad2/cronscripts/librarian-gc.py", line 93, in ?
   script.lock_and_run(isolation=ISOLATION_LEVEL_AUTOCOMMIT)
 File
"/srv/launchpadlibrarian.net/production/launchpad2-rev-8527/lib/lp/services/scripts/base.py", line 286, in lock_and_run
   implicit_begin=implicit_begin, isolation=isolation)
 File
"/srv/launchpadlibrarian.net/production/launchpad2-rev-8527/lib/lp/services/scripts/base.py", line 244, in run
   self.main()
 File
"/srv/launchpadlibrarian.net/production/launchpad2/cronscripts/librarian-gc.py", line 87, in main
   librariangc.delete_unwanted_files(conn)
 File
"/srv/launchpadlibrarian.net/production/launchpad2-rev-8527/lib/canonical/librarian/librariangc.py", line 582, in delete_unwanted_files
   log.error(
TypeError: int argument required

Changed in launchpad-foundations:
status: Fix Committed → In Progress
Revision history for this message
Diogo Matsubara (matsubara) wrote :
Changed in launchpad-foundations:
status: In Progress → Fix Committed
Stuart Bishop (stub)
Changed in launchpad-foundations:
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.