From: Dan Mick Date: Fri, 9 Oct 2015 01:22:25 +0000 (-0700) Subject: run_tasks.py: fix Sentry URL X-Git-Tag: 1.1.0~798^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6b59975cd9661bc0f9cccec42f16096b79e6ba48;p=teuthology.git 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 --- 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