-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When Running AWX Job SSH Fails #130
Comments
I'll be honest, I'm not sure... if you exec into the container can you connect directly from the shell there? |
Yes. Inside of the aws_task container I can ssh to all the servers correctly. |
That's pretty strange stuff. It all seems to be working here with our default settings. If you can find more information to help us reproduce it then that'd be helpful. |
I'll try rebuilding on a new machine with the latest version and see if that fixes it. Closing this for now. |
I'm running into the same issue now with a freshly installed AWX.
This is a trace of a manual run:
AWX uses different path:
|
I got the same error with the latest AWX a few days ago. I guess it's the multiplex SSH connections problem in docker container. @matburt Is there any way to overwrite |
@innossh I can see this is coming from the docs, but adding
if two jobs are concurrent, or a play runs against multiple targets, all plays will run on a randomly selected target. As long as credentials permit, nothing stops Ansible from running random plays against non-intended machines. It either should be |
ya, it's stupid mistake. Although it should be double percent sign |
I got same error -- "Connection refused " when i run command. It's fuzzy, Running a command success in centos8, but ubuntu-20.04 failed, I change |
ISSUE TYPE
COMPONENT NAME
Jobs
SUMMARY
After putting a basic YUM Update playbook into AWX, configuring inventory, running the playbook returns a "connection refused failed to connect to new control master.
ENVIRONMENT
STEPS TO REPRODUCE
Add yum job to new AWX install. Run job based on template.
EXPECTED RESULTS
Yum update.
ACTUAL RESULTS
fatal: Unreachable! => failed to connect to the host via ssh: Control Socket Connect: Connect Refused. Failed to connect to new control master.
ADDITIONAL INFORMATION
I've confirmed that the host is reachable via SSH. I've confirmed that AWX is reaching the machine ( I changed the port in SSHD on the target host and I got the correct ssh error.) I've tested the adding:
ssh_args = -C -o ControlMaster=auto -o ControlPersist=60s
as a variable.I'm curious if I am missing something somewhere in my ansible config that allows Docker to SSH properly? SELINUX is turned off.
The text was updated successfully, but these errors were encountered: