Hi,
thanks for the advice.

Since the affected hosts are physical devices, that are remotely managed, I 
can't simply destroy them and spin up new ones.
Therefore, I would be very interested in finding (at least) the cause of 
this if not a solution, so we can avoid it in the future.

Do you have any ideas on how to further debug this?

Kind regards,
Sven

Dick Visser schrieb am Donnerstag, 25. April 2024 um 13:36:06 UTC+2:

> I would terminate the host and spin up a fresh one.
> This means your host will be in a known clean state again.
>
> On Thu, 25 Apr 2024 at 12:45, Sven Feyerabend <[email protected]> 
> wrote:
> >
> > 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
> .
>

-- 
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/fd91eb13-b3c9-4e2b-aab2-ae9a7401874fn%40googlegroups.com.

Reply via email to