Bug 844765 - [RFE] In Beaker add support to auto-retry job with a different server
Summary: [RFE] In Beaker add support to auto-retry job with a different server
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bill Peck
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-31 17:24 UTC by Scott Poore
Modified: 2012-09-28 21:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-28 01:17:14 UTC
Embargoed:


Attachments (Terms of Use)

Description Scott Poore 2012-07-31 17:24:00 UTC
We run into several cases from time to time where jobs are aborted.  It would be useful if these could be automatically re-tried.  I understand that power events are retried but, when that fails, a job has to be aborted.  

When a Beaker job fails (at least like that), it would be helpful if the scheduler could automatically try to use a different server.  This should also take multihost jobs into account where only one server isn't responding.  It seems like it would hopefully be unnecessary to retry the entire job but, just the one recipe that is failing to start.

Comment 1 Dan Callaghan 2012-09-28 01:17:14 UTC
It doesn't necessarily always make sense to retry a job which has aborted. A human needs to intervene to figure out what went wrong.

Note that there is a beaker-jobwatch script floating around, which tries to automate that process. You could give that a go.

Comment 2 Scott Poore 2012-09-28 21:24:05 UTC
I don't know how beaker-jobwatch works but, I will look into that.

Would you consider adding an option to allow a retry similar to how beaker-jobwatch does it?  Maybe just something set in the job xml and with a maximum (or selectable number of retry attempts before it gives up completely?


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