]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
Don't assert status==up when using internal.check_lock. 478/head
authorAndrew Schoen <aschoen@redhat.com>
Wed, 29 Apr 2015 15:43:52 +0000 (11:43 -0400)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 29 Apr 2015 16:59:03 +0000 (11:59 -0500)
commite6502c5f7f4cd003700fca2a0eb05e6976a287b9
tree2f4918d6914b1a5d41c3e04aa08e22da1df125aa
parent4e56e60c4d5fd6be7ed1b7edb623bb38cb3806b3
Don't assert status==up when using internal.check_lock.

Add a check_up kwarg to check_lock so that we can optionally skip
checking to see if a node is up before nuking it. This still allows
scheduled teuthology jobs to make sure they didn't lock a downed node.

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