Skip to content

Fix intermittent SSH "Permission denied" errors with concurrent Ansib…#2134

Open
berendt wants to merge 1 commit intomainfrom
fix-ssh-control
Open

Fix intermittent SSH "Permission denied" errors with concurrent Ansib…#2134
berendt wants to merge 1 commit intomainfrom
fix-ssh-control

Conversation

@berendt
Copy link
Member

@berendt berendt commented Mar 14, 2026

…le tasks

Use a unique ANSIBLE_SSH_CONTROL_PATH_DIR per Celery task to isolate SSH ControlMaster sockets. Without this, concurrent workers sharing the same ControlMaster socket can cause race conditions leading to spurious "Permission denied (publickey)" failures.

AI-assisted: Claude Code

…le tasks

Use a unique ANSIBLE_SSH_CONTROL_PATH_DIR per Celery task to isolate SSH
ControlMaster sockets. Without this, concurrent workers sharing the same
ControlMaster socket can cause race conditions leading to spurious
"Permission denied (publickey)" failures.

AI-assisted: Claude Code

Signed-off-by: Christian Berendt <berendt@osism.tech>
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

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