expire-bugtasks.py, ProgrammingError: permission denied for relation distribution
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
j.c.sackett |
Bug Description
The script oopsed because of a permission problem involving secondary objects that are updated. ie. bug heat calculations affect a broad range of structural objects. The last portion of the error implies we cannot report the oops because the script is not logged in.. All environments use expiration_dbuser: bugnotification.
2011-04-14 04:17:03 INFO Creating lockfile: /var/lock/
2011-04-14 04:17:14 INFO Expiring unattended, INCOMPLETE bugtasks older than 60 days for projects that use Launchpad
Bugs.
2011-04-14 04:17:24 INFO Found 1812 bugtasks to expire.
2011-04-14 04:17:36 ERROR Unhandled exception
Traceback (most recent call last):
...
File "/srv/launchpad
janitor.
File "/srv/launchpad
['status', 'statusexplanat
...
File "/srv/launchpad
self.
File "/srv/launchpad
store.flush()
...
File "/srv/launchpad
return function(*args, **kwargs)
ProgrammingError: permission denied for relation distribution
Exception raised in formatter:
Traceback (most recent call last):
File "/srv/launchpad
url = librarian.
AttributeError: 'thread._local' object has no attribute 'interaction'
Related branches
- Benji York (community): Approve (code)
-
Diff: 11 lines (+0/-1)1 file modifieddatabase/schema/security.cfg (+0/-1)
Changed in launchpad: | |
assignee: | nobody → j.c.sackett (jcsackett) |
status: | Triaged → In Progress |
milestone: | none → 11.05 |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Fixed in stable r12869 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 12869>.