Cluster facts gathering task fails with "Timer expired after 10 seconds"
Issue
-
Cluster facts gathering task fails when using playbook like
redeploy-certificates.yml
orupgrade.yml
. -
Custom ansible.cfg variables file, like
gather_timeout
orgather_subset
, are not being honored by the[Gather Cluster facts]
task. -
Failure summary:
TASK [Gather Cluster facts] ************************************************************************************************************************************************************* task path: /usr/share/ansible/openshift-ansible/playbooks/init/cluster_facts.yml:27 Using module file /usr/share/ansible/openshift-ansible/roles/openshift_facts/library/openshift_facts.py [...] The full traceback is: Traceback (most recent call last): File "/tmp/ansible_ry157g/ansible_modlib.zip/ansible/module_utils/basic.py", line 2861, in run_command cmd = subprocess.Popen(args, **kwargs) File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1308, in _execute_child data = _eintr_retry_call(os.read, errpipe_read, 1048576) File "/usr/lib64/python2.7/subprocess.py", line 478, in _eintr_retry_call return func(*args) File "/tmp/ansible_ry157g/ansible_modlib.zip/ansible/module_utils/facts/timeout.py", line 37, in _handle_timeout raise TimeoutError(msg) TimeoutError: Timer expired after 10 seconds
Environment
- Red Hat OpenShift Container Platform (OCP) 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.