From 33e0815409ec5c93656b096ecfa39ab0aafb815c Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Wed, 19 Jun 2024 13:28:56 -0600 Subject: [PATCH] kill: Fix killing by owner The list comprehension was incorrect. Fixes: https://tracker.ceph.com/issues/66440 Signed-off-by: Zack Cerza --- teuthology/kill.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/kill.py b/teuthology/kill.py index bb5838c4f0..c55880bc3d 100755 --- a/teuthology/kill.py +++ b/teuthology/kill.py @@ -74,7 +74,7 @@ def kill_run(run_name, archive_base=None, owner=None, machine_type=None, return if owner is not None: targets = find_targets(run_name) - names = [t["name"] for t in targets] + names = list(targets.keys()) lock_ops.unlock_safe(names, owner, run_name) report.try_mark_run_dead(run_name) -- 2.39.5