-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confusing status when starting radssh #12
Comments
The shorthand connection status characters are documented here: http://radssh.readthedocs.org/en/v1.0.1/shell_quickstart.html#starting-up-a-shell-session. Each You can display status details on all connections (successful or not), using the When invoking commands, RadSSH will skip the attempt to run commands on any session connection that is either unauthenticated or not connected. Since the command is not run, there can be no exit status, and the failure summary will group such connections with a return status of 'None', rather than an integer status code for executed commands. In the event that there are any failed connections or failed authentications encountered during the initial connections, a message summarizing the counts of each type of failure, and a reminder that Keeping issue open as enhancement to add user message(s) when cluster is not 100% connected/authenticated. |
Ok. I had thought the each . X or O indicated the status of each node, so that if I had ..X then node 3 would have not connected. That is what I was commenting about |
The connection attempts are made in parallel by the same thread pool that RadSSH command execution uses, so the connection status codes are emitted in the order of completion, not in the order of submission. Will update the documentation to spell this out more clearly. I still like the idea of the summary messages mentioned above, even if that was not your original source of confusion. |
Even with verbose=off (default), make it more apparent to the user when cluster connections are not 100% usable. Report a summary of counts, and guide user to use *info for details.
…e exception if used in the test for "if key in dict". Since AgentKey values will never be eligible for deferred loading, exclude them from the conditional check up front. Thanks to github user @delfick for reporting.
Released in https://github.com/radssh/radssh/tree/v1.0.5 |
[[A[vagrant@hpcc1 ~]$ python -m radssh.shell 10.239.190.1-106
*** 2 plugin(s) failed to load. ***
Use --verbose=on option to see details.
10.239.190.1-106 expanded by ip
Connecting to 106 hosts...
[STALLED] Waiting on 106 of 106 results
[STALLED] Waiting on 106 of 106 results
[STALLED] Waiting on 106 of 106 results
.....................................................................................................XXXXX
RadSSH $
Then I did an ls and got 5 errors
Summary of failures:
None - [IPAddress('10.239.190.34'), IPAddress('10.239.190.45'), IPAddress('10.239.190.54'), IPAddress('10.239.190.64'), IPAddress('10.239.190.71')]
Average completion time for 101 hosts: 2.977918s
RadSSH $
I thought the ....XXXX matched the IPS and not just a count
The text was updated successfully, but these errors were encountered: