gather_facts: Stuck when Remote is booted from archiso

12 views
Skip to first unread message

Marc Mettke

unread,
Sep 22, 2015, 2:48:21 PM9/22/15
to Ansible Project

I'm trying to create an os_installation_ansible_playbook for automatic installation of various linux distributions. 

By doing this, I learned that gather_facts works with an installed archlinux but not with the archiso installation iso.


Python2 is installed and running on the archiso and ansible commands/modules are working. 

Are there any other dependencies for the Client to match?

Brian Coca

unread,
Sep 22, 2015, 2:50:20 PM9/22/15
to Ansible Project
Can you check at which point it gets stuck? the fact gathering process
looks at system devices and /proc for a lot of info, it is possible
that one of those reads is causing this issue on the usb.
In any case there is a timeout that should prevent this from being
permanent but it does not always work when python uses an underlying
library that does a blocking call.

--
Brian Coca
Reply all
Reply to author
Forward
0 new messages