-
Notifications
You must be signed in to change notification settings - Fork 7
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
connection reset after sshkeys removed #20
Comments
@hudecof thanks for pointing it out.. |
this do not helped me anyway
|
Hey so, this is because ssh pipelining actually helps to open ssh connection once per ansible task IIUC. However, SSH ControlMaster setting on you OpenSSH is actually supposed to do the authentication only once, when the TCP connection is opened for target, and thereafter all your extra SSH sessions are sent down that connection. I didn't test it get yet, but I believe it should work. |
@hudecof Hey, So I managed to reproduce your issue by changing the default ansible.cfg file to disable the ControlMaster option from the ssh_args. In this way, the connection gets indeed broken after removing the ssh keys. Did you by any chance change these values in the configuration file? |
Clarify issues met in: rhevm-qe-automation#20
Clarify issues met in: rhevm-qe-automation#20
Clarify issues met in: rhevm-qe-automation#20
Clarify issues met in: rhevm-qe-automation#20
Clarify issues met in: rhevm-qe-automation#20
Clarify issues met in: rhevm-qe-automation#20
I am still getting the disconnect issue even after updating the ControlMaster option. I am running 2.4.1 on MacOS. My workaround was to move the offending task to the step right before poweroff. The poweroff step fails, but that's easy enough to handle manually. |
@bndabbs thanks for using the role. Maybe it would be useful to post your ansible.cfg file so that we can try to reproduce. The role isn't tested on MacOS yet from my side at all.. |
Hi, the same issue here. Tried to set Anything else I should try? I could use @bndabbs workaround but I am sure that this worked before. Not sure in which versions of ansible or seal role. Thanks |
Hi,
tested on debian 9.
If you remove the ssh keys, the next attempt to connect failed. So the role is not able to finish. I enabled pipelining and check the ControlMaster, but generaly I clould not relay in this.
The text was updated successfully, but these errors were encountered: