X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/blobdiff_plain/11ce5ae0521ebdf4cb3fd0562d93d581b5881b2a..91cf1fc24419d0492c890daaa70febb8ab89e1cc:/python/remote/bcast.py diff --git a/python/remote/bcast.py b/python/remote/bcast.py index 6a00b23..4544af7 100644 --- 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: - 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()]