]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
kill: find targets for killing a job 1551/head
authorKyr Shatskyy <kyrylo.shatskyy@suse.com>
Tue, 25 Aug 2020 07:40:03 +0000 (09:40 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Tue, 25 Aug 2020 10:40:15 +0000 (12:40 +0200)
commitc62cc7f5dcb75b614ba9e714097deae14ef7ed8a
tree0ce90f223bfc227f4075e997c40bd5ea8b4b9994
parent1a726669f56548116af11b4f3cf12dd01fb55451
kill: find targets for killing a job

In some circumstances teuthology-kill does not unlock the nodes
if it is used to kill just a single job from a run, for example,
while a job in the middle of locking many targets the job_info
does not include targets yet, correspondingly if someone kills
the job at that point, the targets remain in locked state.
This commit address the issue.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
teuthology/kill.py