Bug 806162 - Scheduler sometimes leaves old recipe repos in /var/www/beaker/repos
Summary: Scheduler sometimes leaves old recipe repos in /var/www/beaker/repos
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact:
URL:
Whiteboard: Scheduler
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-23 04:43 UTC by Dan Callaghan
Modified: 2013-09-19 23:05 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-19 23:05:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Callaghan 2012-03-23 04:43:23 UTC
It seems the scheduler is not always cleaning up old recipe repos properly. On our Beaker instance we found 591 old repos under /var/www/beaker/repos dating from July 2010 to one week ago. They are "old" in the sense that the corresponding recipe is already completed, cancelled, or aborted, so the repo should no longer be present on disk.

Comment 2 Dan Callaghan 2012-03-23 04:47:48 UTC
A large number of the recipes in question were cancelled -- it is possible we are creating the repo and not destroying it, if the recipe is cancelled before it starts. (See also bug 715226.)

Comment 3 Nick Coghlan 2012-10-17 04:36:39 UTC
Bulk reassignment of issues as Bill has moved to another team.

Comment 5 Dan Callaghan 2013-09-19 23:05:38 UTC
I think with all the fixes for task repo generation and job status updating in recent Beaker releases, this issue should be fixed.

There are no orphaned repos in our production Beaker instance, aside from a handful from May 2013 (which pre-dates all those fixes).


Note You need to log in before you can comment on or make changes to this bug.