DisconnectionError: error with no message from the libpq

Bug #1006531 reported by Laura Czajkowski
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
Critical
Unassigned

Bug Description

https://lp-oops.canonical.com/oops/?oopsid=OOPS-0003551dc4b1aada11ed4bc64b29e5ee

DisconnectionError: error with no message from the libpq

    Traceback (most recent call last):
  Module zope.publisher.publish, line 128, in publish
    publication.beforeTraversal(request)
  Module lp.services.webapp.publication, line 307, in beforeTraversal
    principal = self.getPrincipal(request)
  Module lp.services.webapp.publication, line 343, in getPrincipal
    principal = auth_utility.authenticate(request)
  Module lp.services.webapp.authentication, line 147, in authenticate
    return self._authenticateUsingCookieAuth(request)
  Module lp.services.webapp.authentication, line 89, in _authenticateUsingCookieAuth
    authdata = session['launchpad.authenticateduser']
  Module zope.session.session, line 433, in __getitem__
    sd = sdc[self.client_id]
  Module lp.services.webapp.pgsession, line 74, in __getitem__
    return PGSessionData(self, client_id)
  Module lp.services.webapp.pgsession, line 104, in __init__
    self.store.execute(query, (self.client_id,), noresult=True)
  Module storm.store, line 108, in execute
    return self._connection.execute(statement, params, noresult)
  Module storm.databases.postgres, line 266, in execute
    return Connection.execute(self, statement, params, noresult)
  Module storm.database, line 238, in execute
    raw_cursor = self.raw_execute(statement, params)
  Module storm.databases.postgres, line 276, in raw_execute
    return Connection.raw_execute(self, statement, params)
  Module storm.database, line 322, in raw_execute
    self._check_disconnect(raw_cursor.execute, *args)
  Module storm.database, line 376, in _check_disconnect
    raise DisconnectionError(str(exc))
DisconnectionError: error with no message from the libpq

Changed in launchpad:
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
William Grant (wgrant) wrote :

These are expected connection errors from fastdowntime.

Changed in launchpad:
status: Triaged → Invalid
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

If those are expected, shouldn't they be swallowed? I thought that the fastdowntime connection errors were not ending in the OOPS report?

Could it be the PG update that changed disconnection error messages slightly, so that our previous filters don't work anymore?

Changed in launchpad:
status: Invalid → Triaged
Revision history for this message
William Grant (wgrant) wrote :

They're deliberately not filtered, since the ones from fastdowntime are indistinguishable from other situations where the database goes away. We want to know if the database goes away unexpectedly.

Changed in launchpad:
status: Triaged → Invalid
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.