]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
task.ansible: catch failure log parse errors
authorAndrew Schoen <aschoen@redhat.com>
Thu, 13 Aug 2015 14:12:06 +0000 (09:12 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 13 Aug 2015 14:12:06 +0000 (09:12 -0500)
commit4695ea0cd50d48bccc6e17cce037a2cc820245a9
treee7f0cc8db54ea006b4580013ac9f5908218097ce
parent671bdc367fe8f6333e8a134bb4b734990ffab3ea
task.ansible: catch failure log parse errors

If we fail to parse a failure log, fail silently and log the exception
so that we can inspect that log after the fact.

In this case a CommandFailedError will be raised.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
teuthology/task/ansible.py