Package: ansible
Version: 1.9.2+dfsg-1
Severity: minor


Coin,

I faced a timeout on a (slow) host:
Daneel | FAILED >> {
"cmd": "/bin/lsblk -ln --output UUID /dev/mapper/Daneel_xtra-backup",
    "failed": true,
"msg": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1437234237.91-43519604009961/setup\", line 1677, in run_command\n rfd, wfd, efd = select.select(rpipes, [], rpipes, 1)\n File \"/root/.ansible/tmp/ansible-tmp-1437234237.91-43519604009961/setup\", line 1807, in _handle_timeout\n raise TimeoutError(error_message)\nTimeoutError: Timer expired\n",
    "rc": 257
}

Since this, playing playbooks failed on that host when conditionals where used.

After some digging it appeared the fact cache for this host (using jsonfile) only contained the following line:
{"module_setup": true}

So Ansible must not write in cache if any error occurred during fact collection.

As it is easy to work around and the cache will expire anyway, I downgraded the severity.

Regards.


-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ansible depends on:
ii  python                2.7.9-1
ii  python-crypto         2.6.1-5+b2
ii  python-httplib2       0.9+dfsg-2
ii  python-jinja2         2.7.3-1
ii  python-netaddr        0.7.12-2
ii  python-paramiko       1.15.1-1
ii  python-pkg-resources  5.5.1-1
ii  python-yaml           3.11-2
pn  python:any            <none>

Versions of packages ansible recommends:
pn  python-selinux  <none>

Versions of packages ansible recommends:
pn  python-selinux  <none>

Versions of packages ansible suggests:
pn  ansible-doc  <none>
pn  sshpass      <none>

-- Configuration Files:
/etc/ansible/ansible.cfg changed [not included]
/etc/ansible/hosts changed [not included]

--
Marc Dequènes


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to