Changeset 2045 for trunk


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

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

Location:
trunk/packages/invirt-remote
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-remote/debian/changelog

    r1987 r2045  
     1invirt-remote (0.3.1) unstable; urgency=low
     2
     3  * invirt.remote.bcast: provide stderr text when remctl fails
     4
     5 -- Greg Price <price@mit.edu>  Sat, 31 Jan 2009 02:47:28 -0500
     6
    17invirt-remote (0.3.0) unstable; urgency=low
    28
  • 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.