Project

General

Profile

Feature #3310

Updated by Anonymous over 11 years ago

Currently, we use pushy (http://pypi.python.org/pypi/pushy/ ) for RPC-over-SSH to the target node, and don't really do anything about the stderr of the commands we run on the node. 

 Current user experience is that sometimes stderr is visible, sometimes not. This seems to be true even for a loop that does the same actions for every entry (though there's a chance the "stderr not seen" was from steps that only needed for the first iteration for a particular host; e.g. if a keyring file is already present, you don't see the noise from putting it in place). 

 What ever the current situation, unify stderr handling. Ideal: 

 - no noise on successful run 
 - see stderr of commands on verbose runs (e.g. "ceph-deploy -v osd ...") 
 - see stderr of any *full run* that failed; that is, for "ceph-deploy osd host1:sdb host2:sdb", if ceph-disk-prepare fails on host2:sdb, we should see full stderr of everything that happened on host2, but none of what happened on host1) 
 - all stderr output is clearly prefixed to identify what host and what command it is coming from

Back