]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
kill: get machine type from paddles for the run 1709/head
authorKyr Shatskyy <kyrylo.shatskyy@suse.com>
Tue, 1 Feb 2022 16:08:27 +0000 (17:08 +0100)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Tue, 1 Feb 2022 16:08:27 +0000 (17:08 +0100)
commit04501e5d441f9bff9bca8aa6d9e05ee233b1d955
tree15e49e77850ba81132dc5dc899a2d1685368d0c2
parent7c0cb8672986d9dbe53078a123af65593653ef7a
kill: get machine type from paddles for the run

When calling kill for a run which is still in beanstalkd
queue there is no job directories created in archive
and there is no way to find out which machine type to use
the teuthology-kill reports that you must manually provide
machine type for the run, which is often borring and quite
inconvenient.

Instead of torturing user to recall a tube for the run name
we just ask paddles if it has anything logged and use the
machine type from what we receive from it.

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