-
Notifications
You must be signed in to change notification settings - Fork 347
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
Execution of ansible-runner hangs with no output either to stdout or stderr. #993
Comments
As I mentioned in ansible/awx/#11613 , in my case , the culprit was falcon-sensor. Hope it will help you out. |
@TheOnion7 You're absolutely right. I confirm that the problem is the falcon-sensor. It seems to interfere with whatever is supposed to populate the ssh_key_data pipe. Thanks for your help! Question to the |
I'm open to suggestions. The use of named pipes here is to specifically prevent sensitive data from landing on the filesystem. It seems like the real problem is that falcon-sensor breaks normal usage of named pipes? The only remediation would be to not use named pipes which has its own set of caveats and problems. |
Yeah, if we look at it from another angle then the However, once this occurs the Also, adding the corresp. information about the |
Knowing we are blocked on an a pipe that will never return data seems like we would need to solve the halting problem first. I'm open for a PR that adds information to the docs, though. |
Determining that an algorithm terminates is certainly undecidable but what I meant is perhaps a timeout can be added that'd trigger if no data comes from the pipe for a certain amount of time and would terminate the execution writing a message to If that's not possible/worth the effort, then maybe at least in a |
Hello,
I've been using a standalone
ansible-runner
application in the context of ManageIQ. Recently, I've been having a problem with the usage ofssh_key
(as described here int the documentation).After placing my unencrypted private SSH key into that file and running my playbook with the
ansible-runner
I've noticed that the runner hangs indefinitely and I can see no output at all (even in debug mode) under/tmp/ansible-runnerX/artifacts/result/{stdout,stderr}
directory. I have tried to reproduce the steps that the runner does by looking at/tmp/ansible-runnerX/artifacts/result/command
.It seems that this is the step where it hangs:
ssh-add /tmp/ansible-runnerX/artifacts/result/ssh_key_data
. It looks like thessh_key_data
is a named pipe that you can't read anything from. I've tried opening it with other applications likevim
with the same result (it hangs).A brief search showed me some similar problems observed in AWX:
I don't understand why this problem occurs now as I've tested both encrypted and unencrypted private keys with
ansible-runner
in the past and it worked well.Context:
The text was updated successfully, but these errors were encountered: