-
Notifications
You must be signed in to change notification settings - Fork 151
Logs of ssh commands larger than pool size get lost #25
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
Comments
Should be able to get logs for all hosts by calling |
Here's what I gathered from the docs of
So, let's say I have Is this understanding correct? |
Yes, that is correct. Calls to Additional calls should return logs from another batch of |
I don't get the expected behavior, perhaps there's something obvious I'm missing out on. I'm running against 4 hosts, and I found that the 2nd invocation to
Where in the code does "additional calls should return logs from another batch" happen? My understanding is that |
Thanks, you are correct - that looks like a bug. |
Have what I believe is a fix for this - will post a bug fix release once I have a test to replicate the failing behaviour. You can fall back to the - deprecated but still working - |
This is good now as of version |
As mentioned in the docs,
ParallelSSHClient.run_command
blocks until all the commands have started. I've noticed that this means if I have more than 10 hosts I want to run the command on -- only the last 10 hosts are accessible. Is there a way for me to keep the pool size at 10 while getting the logs of all the remote hosts?The text was updated successfully, but these errors were encountered: