Hide Forgot
Description of problem: Error reporting from remote scripts leaves something to be desired. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Attempt to use packstack on a system where ssh password authentication is disabled and root ssh keys are not configured. Actual results: A failed install with no useful information about what is wrong. For example: ERROR : Failed to run remote script: Note that by default there is also nothing in the log file to indicate what is wrong. Expected results: An error message that includes the relevant failure, in the case above that would be: ERROR : Failed to run remote script: Warning: Permanently added '192.168.0.14' (RSA) to the list of known hosts. Permission denied (publickey,gssapi-keyex,gssapi-with-mic). Additional info: The problem seems to be that when a command fails, only stdout is included in the error message. Because this is a failure state, we should expect the useful information to be in stderr (though I think including stdout as well is probably a good idea). I'm planning to propose a change that will address this shortly.
Proposed fix: https://review.openstack.org/#/c/57010/
Proposed fix accepted.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1859.html