projects
/
invirt/packages/invirt-remote.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modified invirt-availability and invirt-vmcontrol to stat /etc/invirt/nocreate.
[invirt/packages/invirt-remote.git]
/
python
/
remote
/
bcast.py
diff --git
a/python/remote/bcast.py
b/python/remote/bcast.py
index
6a00b23
..
4544af7
100644
(file)
--- a/
python/remote/bcast.py
+++ b/
python/remote/bcast.py
@@
-17,6
+17,6
@@
def bcast(cmd, hosts = [h.hostname for h in config.hosts]):
if outputs[s][1].startswith('remctl: cannot connect to %s' % s):
del outputs[s]
else:
if outputs[s][1].startswith('remctl: cannot connect to %s' % s):
del outputs[s]
else:
- raise RuntimeError("remctl to host %s returned non-zero exit status %d"
- % (s, p.returncode))
+ raise RuntimeError("remctl to host %s returned non-zero exit status %d; stderr:\n%s"
+ % (s, p.returncode, outputs[s][1]))
return [(s, yaml.load(o[0], yaml.CSafeLoader)) for (s, o) in outputs.iteritems()]
return [(s, yaml.load(o[0], yaml.CSafeLoader)) for (s, o) in outputs.iteritems()]