Skip to content

Conversation

@winem
Copy link
Contributor

@winem winem commented Apr 18, 2020

This PR adds support for ssh_connect_timeout as new configuration parameter in the ssh_runner group. It was suggested in #4715 and follows the fail-fast principle when the SSH connection can not even be established.

The runner will fail if the TCP connect to the target host does not succeed within the specified timeout. (see: http://docs.paramiko.org/en/stable/api/client.html -> SSHClient -> connect -> timeout).

This was tested with a high number of test cases with different defaults, ssh_connect_timeouts in the st2.conf and a variation of action timeouts.

@winem
Copy link
Contributor Author

winem commented Apr 18, 2020

Oh sorry, I'll close this one. It was outdated and the update from the master makes the history and overview of changes kinda messy. Will create a clean one in a few seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant