reporting an event during rendering of lava-kernel-ci-views pages times out after 5 minutes

Bug #962766 reported by Michael Hudson-Doyle
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raven extension for LAVA
Won't Fix
Critical
Unassigned

Bug Description

I don't know if this is the right place to report this bug but oh well.

Today, asac noticed that the kernel-ci board pages weren't rendering. After some investigation, head scratching and just plain guesswork, it became clear that a connection to sentry was stalling, and I disabled sentry by removing the SENTRY_DSN setting from the config and restarted the server, and now the views work again.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I think this is the error that's failing to be reported properly:

ERROR:root:Unable to construct breadcrumb URL for view <function per_board at 0x2dc1aa0>
Traceback (most recent call last):
  File "/srv/lava/instances/staging/local/lib/python2.7/site-packages/lava_server/bread_crumbs.py", line 117, in get_absolute_url
    args=[kwargs[name] for name in self.needs])
  File "/srv/lava/instances/staging/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 391, in reverse
    *args, **kwargs)))
  File "/srv/lava/instances/staging/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 337, in reverse
    "arguments '%s' not found." % (lookup_view_s, args, kwargs))
NoReverseMatch: Reverse for 'lava_kernel_ci_views_app.views.per_board' with arguments '()' and keyword arguments '{}' not found.

It's been happening for a while, but (a) it doesn't interrupt page rendering (b) I don't think it's ever actually appeared in sentry and (c) it definitely didn't used to take 300s to not appear in sentry

Changed in lava-raven:
status: New → Confirmed
importance: Undecided → Critical
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

I think we should send sentry events via celery as the production documentation recommends. This way all of senty is asynchronous (currently only the receiving end) and never interrupts or slows down page rendering.

Changed in lava-raven:
assignee: nobody → Zygmunt Krynicki (zkrynicki)
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

That makes sense.

Changed in lava-raven:
milestone: none → 2012.05
Fathi Boudra (fboudra)
Changed in lava-raven:
milestone: 2012.05 → 2012.06
Fathi Boudra (fboudra)
Changed in lava-raven:
assignee: Zygmunt Krynicki (zkrynicki) → nobody
milestone: 2012.06 → none
Alan Bennett (akbennett)
Changed in lava-raven:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.