Skip to content

Problem: SSH Connection refused after update to 2.13.10 #2892

Open
@dzaegr

Description

@dzaegr

Issue

Hi,
after updating to latest (2.13.10, from 2.10.22) using Docker (with compose) I am receiving SSH Connection Refused errors when running Ansible Task Templates.
Before the update all the Playbooks ran well.
I checked the Key Store, and the inventory. All configured correctly, I manually checked the SSH Key, it still works. I tried setting up a new project, replicating the settings, still not working.

I'm running out of ideas.

Any configuration updates I might have missed? In the documentation, I could not find any hints, except the removal of SSH Option Overwriting, which I didn't use before, so this should not be the issue.

After I got the error, I also checked the docker hub page, where I saw the latest version was updated. I tried updating to that as well, still getting the issue.

I also checked the SSH logs on the target server, which actually showed successful connection attempts, but it also stated that the connection was closed by the client.

Another thing to add:
It also only seems to impact tasks which would lead to "changed" status.
"skipped" and "ok" tasks in the playboook actually don't produce the error.

Any ideas?

Impact

Ansible (task execution)

Installation method

Docker

Database

MySQL

Browser

No response

Semaphore Version

2.13.10 and later 2.13.12

Ansible Version

2.18.4 (in docker container)

Logs & errors

10:38:26 PM
msg: 'Failed to connect to the host via ssh: ssh: connect to host HOSTNAME port 22: Connection refused'

Manual installation - system information

No response

Configuration

No response

Additional information

No response

Metadata

Metadata

Assignees

Type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions