zuul/releasenotes/notes/unreachable-60ce0305416a5e8c.yaml
Tobias Henkel 30cb2b1484
Fix unreachable nodes detection
According to the docs ansible is expected to return 3 if there were
unreachable nodes. Zuul reacts on this and retries the job. However
ansible really returns 4 in this case [1] which actually is the code
for a parse error (which doesn't make sense to retry).

To work around that add a simple callback plugin that gets notified if
there are unreachable nodes and write the information about which
nodes failed to a special file beneath the job-output.txt. The
executor can detect this and react properly then. Further we have the
information about which nodes failed in this file which gets uploaded
to the log server too if it exists.

[1] https://github.com/ansible/ansible/issues/19720

Change-Id: I6d609835dba18b50dcbe883d01c6229ce4e38d91
2018-09-29 13:13:00 +02:00

6 lines
105 B
YAML

---
fixes:
- |
Jobs that encountered unreachable nodes are now correctly detected and
retried.