-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
Delegate_to hangs in v2.0 #12816
Comments
@kettlewell, couple questions, did this work in 1.9? And what are you using to authenticate your ssh connection? Oh, and what are you expecting to happen? I think you want to copy a directory tree on the remote host to a new directory tree on the remote host. Is that correct? |
We rolled back to 1.9.4, and it works flawlessly. Our authentication is SSH with passwords protected with Ansible vault. Your assumption is correct - we're copying files from tmp to another folder on the remote host. I believe the output above is with -vvvv, but if there's any other logs or info you need from this end, let me know. |
So probably in 1.9.x we're having rsync do a local copy on the remote box but in 2.0 we're telling rsync to do a copy via ssh on the remote box. I'll look at what code we might have left out that made that case work before. |
That's a possible fix for this issue^ but it doesn't look like what 1.9.x is doing to prevent this from happening so I'm going to look into it more. There could be other behaviour that is buggy with this change so I need to do some more testing of this code to see what else is affected before merging it to the devel branch. |
I couldn't find any problems with the fix in testing so I've gone ahead and merged it. |
Closing This TicketHi! We believe recent commits (likely detailed above) should resolve this question or problem for you. This will also be included in the next major release. If you continue seeing any problems related to this issue, or if you have any further questions, please let us know by stopping by one of the two mailing lists, as appropriate:
Because this project is very active, we're unlikely to see comments made on closed tickets, but the mailing list is a great way to ask questions, or post if you don't think this particular Thank you! |
Hello , Kindly let us know , if you need additional info on this. |
Q: Is the Ansible version on the managed hosts a factor or just on the driving host? Therefor, the problem I am experiencing is either unrelated to this issue, or a manifestation of the same issue, but in 1.9.6 We may be seeing this issue as well. One playbook with We have: Here is our failing task:
Here is output:
If I |
Issue Type:
Bug Report
Ansible Version:
v2.0.0-0.3.beta1-70-g71a1a3c
Ansible Configuration:
mostly default
Environment:
Ubuntu
Summary:
Delegate_to appears to be causing the playbook to hang indefinitely.
Possibly related to #12527 , which was fixed by 3bd71d0
Here's the inputs:
and the output:
There's additionally a long traceback upon hitting Cntl-C that may be useful.
The text was updated successfully, but these errors were encountered: