Add server param in manager.get_remote_client
Methods in RemoteClient have debug_ssh decorator, which can
get server console output on failure.
This is to:
1. Add server param in manager.get_remote_client
2. Add print error info in RemoteClient
3. Remove _log_console_output from manager.get_remote_client.
The 3rd will be slightly different from the original code,
because now if no server is provided, we will no longer print
the console output for all servers.
As to this, I think to print console output for all servers
may not be so necessary, besides, if we really want to, we
can add this logic in debug_ssh decorator.
Change-Id: I9314490a5ab71f14636ddf3cfcbe61158fb1069d
6 files changed