]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
run_tasks.py: fix Sentry URL 651/head
authorDan Mick <dan.mick@redhat.com>
Fri, 9 Oct 2015 01:22:25 +0000 (18:22 -0700)
committerDan Mick <dan.mick@redhat.com>
Fri, 9 Oct 2015 01:23:59 +0000 (18:23 -0700)
I don't know when or why it changed, but the existing URL format, which
uses '/search?q=<id>', fails; what works, by observing the web UI's URL
submission and by testing, is to omit the 'search' part of the path:
'/?q=<id>'

Signed-off-by: Dan Mick <dan.mick@redhat.com>
teuthology/run_tasks.py

index cdc5501c080c6f2b54dac1697ce9bbbe885e375a..ba9f86c4a3d41d947e2d01dd22a682cd6711c0b9 100644 (file)
@@ -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