From 1f7a6d71700a98a42736d2c5ebb1f2edbe8c255f Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Mon, 31 Jul 2023 17:31:43 -0600 Subject: [PATCH] supervisor: Fix an AttributeError in reimage() Signed-off-by: Zack Cerza --- teuthology/dispatcher/supervisor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/dispatcher/supervisor.py b/teuthology/dispatcher/supervisor.py index 98bbb3f63..4e0172ce3 100644 --- a/teuthology/dispatcher/supervisor.py +++ b/teuthology/dispatcher/supervisor.py @@ -233,7 +233,7 @@ def reimage(job_config): ctx.config, dict(status='dead', failure_reason='Error reimaging machines: ' + str(e)) ) - ctx.summary['sentry_event'] = sentry.report_error(job_config, e) + ctx.summary = {'sentry_event': sentry.report_error(job_config, e)} nuke.nuke(ctx, True) # Machine that fails to reimage after 10 times will be marked down check_for_reimage_failures_and_mark_down(targets)