Ignore:
Timestamp:
Jan 31, 2009, 3:14:30 AM (16 years ago)
Author:
price
Message:

invirt.remote.bcast: provide stderr text when remctl fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-remote/python/remote/bcast.py

    r1822 r2045  
    1818                del outputs[s]
    1919            else:
    20                 raise RuntimeError("remctl to host %s returned non-zero exit status %d"
    21                                    % (s, p.returncode))
     20                raise RuntimeError("remctl to host %s returned non-zero exit status %d; stderr:\n%s"
     21                                   % (s, p.returncode, outputs[s][1]))
    2222    return [(s, yaml.load(o[0], yaml.CSafeLoader)) for (s, o) in outputs.iteritems()]
Note: See TracChangeset for help on using the changeset viewer.