]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
internal.py: add global config key 'unlock_on_failure'
authorDan Mick <dan.mick@inktank.com>
Thu, 30 Jan 2014 08:10:12 +0000 (00:10 -0800)
committerDan Mick <dan.mick@inktank.com>
Fri, 31 Jan 2014 21:07:45 +0000 (13:07 -0800)
commit77ec431105aec379f3cb13df348f87b7e801fbc1
tree6dd8270cf8620f42cc685db952945c6303271fff
parentde771ddd7aa7991f44866d2b7fd03cd923254d45
internal.py: add global config key 'unlock_on_failure'

When testing new tasks, it's a drag to have to keep manually unlocking
the targets.  Default behavior is to keep them locked for any failure;
this allows overriding that choice for the case where the failure is
in debugging the task, where the state of the targets isn't important.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
teuthology/task/internal.py