Hi everyone,

I have a host where Ansible used to run correctly.
A while ago, all runs of Ansible on this host started to hang on Gathering 
Facts.
I've searched on the internet for a solution, and found some tips on how to 
debug this.
So I ran Ansible with ANSIBLE_KEEP_REMOTE_FILES=1 and used
python3 AnsiballZ_setup.py explode
to look into this further.
Running the module with strace did not yield any useful results, so I used 
the gather_subset option with !all,!min and enabled the collectors one by 
one.
Using this method for all collectors in the min set, I found three 
collectors which did not terminate: env, service_mgr, ssh_pub_keys

I don't know how to proceed from here. My search on the internet suggests 
stale network mounts as the main reason for such behavior, but we don't 
have any on the affected host.
I tried rebooting as well as upgrading all packages but the problem 
persists.
Is there a way to debug this further?
Simply turning the gathering of facts off is not an option, as we rely 
heavily on host dependent facts in some of our roles.

Thanks in advance!
Regards,
Sven

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/72a0a26d-efe6-4860-81a4-0be2e99d91dbn%40googlegroups.com.

Reply via email to