Revision ea6e6c2b
b/daemons/ganeti-masterd | ||
---|---|---|
285 | 285 |
try: |
286 | 286 |
JobRunner(proc, item) |
287 | 287 |
except errors.GenericError, err: |
288 |
print "ganeti exception %s" % err |
|
288 |
msg = "ganeti exception %s" % err |
|
289 |
item.SetStatus(opcodes.Job.STATUS_FAIL, result=[msg]) |
|
290 |
print msg |
|
289 | 291 |
finally: |
290 | 292 |
#utils.Unlock('cmd') |
291 | 293 |
#utils.LockCleanup() |
Also available in: Unified diff