StackStorm / StackStorm/st2

SSH connect timeout is too long (60s)

Open
#4,715 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue runners
Dominant language
Python
Stars
6.5k
Forks
787
PR merge metrics
No merged PRs in 30d

Description

The st2 ssh connect timeout in st2 ssh_runner is 60s and it is not configurable.
It is too long - the ansibile default is 10s.

We better make it configurable and give it a more suitable default value.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the st2 ssh_runner implementation and the existing SSH connection timeout setting. Compare its behavior with the linked Ansible timeout documentation; done means the timeout is configurable and has a shorter default than 60 seconds.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.