Permission denied for relation translationtemplatesbuild

Bug #645925 reported by Jeroen T. Vermeulen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Jeroen T. Vermeulen

Bug Description

Got this breakage in the branch scanner when trying to generate a translation templates build:

    http://paste.ubuntu.com/499072/

Some extra database privilege on TranslationTemplatesBuild seems to be needed.

Related branches

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

OOPS-1727SSMS1

Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
tags: added: qa-needstesting
Changed in rosetta:
status: In Progress → Fix Committed
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

Finally found out why staging wasn't generating jobs for branches that production and development systems say are pottery-compatible: different URL schemes!

https://pastebin.canonical.com/37820/

We should urgently get this working on staging, or we have no production-like environment capable of testing template generation end-to-end.

tags: added: qa-untestable
removed: qa-needstesting
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

To explain what went wrong there: exceptions get swallowed somewhere along the line, without any log output that I can find. I wrote a "make harness" script that tests the underlying code, but we can't use "make harness" to test under the right database user.

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

Thanks, poolie! The failure in the "make harness" script was due to bzr plugins not having been loaded.

By the way, generating TranslationTemplatesBuilds does work locally on a development system, so we can be reasonably confident that the permissions are OK for staging (which is what this bug is about).

Now to find out why we're still not getting jobs created on staging.

Curtis Hovey (sinzui)
Changed in rosetta:
status: Fix Committed → Fix Released
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.