Project

General

Profile

Bug #6024

PG:InsufficientPrivileges error when running tests locally

Added by Adam Price almost 8 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Installer
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

On a fresh development install, running rake test:katello throws

PG::InsufficientPrivilege: ERROR:  permission denied: "RI_ConstraintTrigger_122388" is a system trigger (ActiveRecord::StatementInvalid)

temporary work-around is to set the katello postgres user to superuser


sudo -u postgres psql
alter user katello with superuser;
commit;
\q

# try running the tests again

History

#1 Updated by Eric Helms almost 8 years ago

  • Assignee set to Eric Helms
  • Triaged changed from No to Yes

#2 Updated by Eric Helms over 6 years ago

  • Status changed from New to Resolved

#3 Updated by Eric Helms almost 6 years ago

  • Legacy Backlogs Release (now unused) set to 166

Also available in: Atom PDF