class documentation
class JobHandler(FeedbackAccumulator):
Known subclasses: ganeti.tools.burnin.Burner
Class for handling Ganeti jobs.
Method | __init__ |
Undocumented |
Method |
|
Execute all submitted opcodes in case of parallel burnin |
Method |
|
Execute a set of jobs and return once all are done. |
Method |
|
Execute one or more opcodes and manage the exec buffer. |
Method |
|
Execute an opcode and manage the exec buffer. |
Method |
|
Possibly retry a given function execution. |
Method |
|
Start a new batch of jobs. |
Instance Variable | cl |
Undocumented |
Instance Variable | queue |
Undocumented |
Instance Variable | queued |
Undocumented |
Method | _ |
Execute one or more opcodes and manage the exec buffer. |
Inherited from FeedbackAccumulator
:
Method |
|
Clear the feedback buffer. |
Method |
|
Acumulate feedback in our buffer. |
Method |
|
Return the contents of the buffer. |
Class Variable | opts |
Undocumented |
Class Variable | _feed |
Undocumented |
Execute a set of jobs and return once all are done.
The method will return the list of results, if all jobs are successful. Otherwise, OpExecError will be raised from within cli.py.
Execute one or more opcodes and manage the exec buffer.
Returns | |
if only opcode has been passed, we return its result; otherwise we return the list of results |
Possibly retry a given function execution.
Parameters | |
retry | retry counter:
|
msg:str | the kind of the operation |
fn:callable | the function to be called |
*args | Undocumented |