Project

General

Profile

Actions

Bug #6024

closed

PG:InsufficientPrivileges error when running tests locally

Added by Adam Price almost 11 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Installer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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
Actions #1

Updated by Eric Helms almost 11 years ago

  • Assignee set to Eric Helms
  • Triaged changed from No to Yes
Actions #2

Updated by Eric Helms about 9 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Eric Helms over 8 years ago

  • Translation missing: en.field_release set to 166
Actions

Also available in: Atom PDF