From: Zack Cerza Date: Mon, 31 Jul 2023 23:31:43 +0000 (-0600) Subject: supervisor: Fix an AttributeError in reimage() X-Git-Tag: 1.2.0~81^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fheads%2Fsentry-ae;p=teuthology.git supervisor: Fix an AttributeError in reimage() Signed-off-by: Zack Cerza --- 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)