projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ed9fda2
)
Add opcode summary to SubmitManyJobs errors
author
Michael Hanselmann
<hansmi@google.com>
Wed, 23 Mar 2011 16:01:13 +0000
(17:01 +0100)
committer
Michael Hanselmann
<hansmi@google.com>
Wed, 23 Mar 2011 16:17:31 +0000
(17:17 +0100)
Requested-by: Iustin Pop <iustin@google.com>
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/jqueue.py
patch
|
blob
|
history
diff --git
a/lib/jqueue.py
b/lib/jqueue.py
index
56f7a66
..
2871c6a
100644
(file)
--- a/
lib/jqueue.py
+++ b/
lib/jqueue.py
@@
-1723,7
+1723,8
@@
class JobQueue(object):
status = True
data = job_id
except errors.GenericError, err:
- data = str(err)
+ data = ("%s; opcodes %s" %
+ (err, utils.CommaJoin(op.Summary() for op in ops)))
status = False
results.append((status, data))