You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] salt.util.cloud connections hang indefinitely. #60216
Salt-Cloudbugbroken, incorrect, or confusing behaviorbugfix-bckportwill be be back-ported to an older release branch by creating a PR against that branchseverity-high2nd top severity, seen by most users, causes major problems
If a host or network goes away during a cloud deployment ssh connections to the box can be left in a hung state indefinitely.
Steps to Reproduce the behavior
Run 50+ deployments using the saltify cloud provider when some of the hosts might go away before the deployment finishes.
Expected behavior
We should add ServerAliveInterval and ServerAliveCountMax options to all connections in salt.utils.cloud. Add these options anywhere we are setting the StrictHostKeyChecking option.
Values of these options can be something like ServerAliveInterval=10 and ServerAliveCountMax=3 which will detect network failures and timeout after 30 seconds.
We can make these values configurable but we should at least have some sane defaults for them. Making them configurable is not necessary to close this issue.
Screenshots
If applicable, add screenshots to help explain your problem.
Salt-Cloudbugbroken, incorrect, or confusing behaviorbugfix-bckportwill be be back-ported to an older release branch by creating a PR against that branchseverity-high2nd top severity, seen by most users, causes major problems
Activity