Re: [ansible-project] Gathering Facts hangs when using become
Thank you for the print idea. I was able to trace it to the following commands: /usr/bin/facter --puppet –json Looks like the version of facter doesn't like the --puppet option. WIll probably have to look into uprading it. Thanks again. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/db98376e-9a93-48c6-8c9c-e5f9de7b1e9d%40googlegroups.com.
[ansible-project] Gathering Facts hangs when using become
Out of hundreds of hosts we have one host always hangs when gathering facts when using become. Create a playbook with the following: - hosts: all call the playbook with the -b flag The last thing reported in the log is "Escalation succeeded". No matter how long I wait it never returns the prompt and there are two processes running on the remote host. One as my username and one as root. There is no nfs (I have seen other issues where facts hang on nfs). This is a RHEL5 host with python 2.7 installed. 1/4 of our hosts are RHEL5 with python 2.7 installed and they don't have this issue Anyone see this before? Any ideas how to troubleshoot it further? I have tried the highest verbosity but there doesn't appear to be any helpful information; compared it to successful runs and nothing is different. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8a8e3f63-3d6f-4d5b-b2df-3de89a780021%40googlegroups.com.
Re: [ansible-project] Gathering Facts hangs when using become
Thank you. I did the strace and it shows that it is just repeating the same two lines over and over again. select(7, [4 6], [], [4 6], {1, 0}) = 0 (Timeout) wait4(29548, 0x7fff6a145c84, WNOHANG, NULL) = 0 When I checked the details of the select I get the following: lsof -p 10984 -ad 4,6 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME python2.7 10984 root4r FIFO0,7 0t0 819132068 pipe python2.7 10984 root6r FIFO0,7 0t0 819132069 pipe -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/5c68bcd9-1bec-4a46-a988-73b9542a15ee%40googlegroups.com.