From 6b59975cd9661bc0f9cccec42f16096b79e6ba48 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Thu, 8 Oct 2015 18:22:25 -0700 Subject: [PATCH] run_tasks.py: fix Sentry URL I don't know when or why it changed, but the existing URL format, which uses '/search?q=', fails; what works, by observing the web UI's URL submission and by testing, is to omit the 'search' part of the path: '/?q=' Signed-off-by: Dan Mick --- teuthology/run_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/run_tasks.py b/teuthology/run_tasks.py index cdc5501c08..ba9f86c4a3 100644 --- a/teuthology/run_tasks.py +++ b/teuthology/run_tasks.py @@ -96,7 +96,7 @@ def run_tasks(tasks, ctx): tags=tags, extra=extra, )) - event_url = "{server}/search?q={id}".format( + event_url = "{server}/?q={id}".format( server=teuth_config.sentry_server.strip('/'), id=exc_id) log.exception(" Sentry event: %s" % event_url) ctx.summary['sentry_event'] = event_url -- 2.39.5