Cluster facts gathering task fails with "Timer expired after 10 seconds"

Solution Verified - Updated -


  • Cluster facts gathering task fails when using playbook like redeploy-certificates.yml or upgrade.yml.

  • Custom ansible.cfg variables file, like gather_timeout or gather_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/
    The full traceback is:
    Traceback (most recent call last):
    File "/tmp/ansible_ry157g/", line 2861, in run_command
      cmd = subprocess.Popen(args, **kwargs)
    File "/usr/lib64/python2.7/", line 711, in __init__
      errread, errwrite)
    File "/usr/lib64/python2.7/", line 1308, in _execute_child
      data = _eintr_retry_call(, errpipe_read, 1048576)
    File "/usr/lib64/python2.7/", line 478, in _eintr_retry_call
      return func(*args)
    File "/tmp/ansible_ry157g/", line 37, in _handle_timeout
      raise TimeoutError(msg)
    TimeoutError: Timer expired after 10 seconds


  • Red Hat OpenShift Container Platform (OCP) 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In