From: Zack Cerza Date: Mon, 3 Feb 2025 21:06:57 +0000 (-0700) Subject: supervisor: Unlock nodes after reimage failure X-Git-Tag: 1.2.2~37^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=0902a99be52fe52cefa7681a584059800857bf00;p=teuthology.git supervisor: Unlock nodes after reimage failure Signed-off-by: Zack Cerza --- diff --git a/teuthology/dispatcher/supervisor.py b/teuthology/dispatcher/supervisor.py index 83e6d997c5..273f9e2acb 100644 --- a/teuthology/dispatcher/supervisor.py +++ b/teuthology/dispatcher/supervisor.py @@ -226,6 +226,7 @@ def reimage(job_config): reimaged = lock_ops.reimage_machines(ctx, targets, job_config['machine_type']) except Exception as e: log.exception('Reimaging error. Nuking machines...') + unlock_targets(job_config) # Reimage failures should map to the 'dead' status instead of 'fail' report.try_push_job_info( ctx.config,