Revision 4c848b18 daemons/ganeti-masterd
b/daemons/ganeti-masterd | ||
---|---|---|
207 | 207 |
|
208 | 208 |
if method == luxi.REQ_SUBMIT_JOB: |
209 | 209 |
ops = [opcodes.OpCode.LoadOpCode(state) for state in args] |
210 |
# we need to compute the node list here, since from now on all |
|
211 |
# operations require locks on the queue or the storage, and we |
|
212 |
# shouldn't get another lock |
|
213 |
node_list = self.server.context.cfg.GetNodeList() |
|
214 |
return queue.SubmitJob(ops, node_list) |
|
210 |
return queue.SubmitJob(ops) |
|
215 | 211 |
|
216 | 212 |
elif method == luxi.REQ_CANCEL_JOB: |
217 | 213 |
job_id = args |
Also available in: Unified diff