Project

General

Profile

Bug #5012

Candlepin role already exists

Added by Bryan Kearney over 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Installer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

When doing an install, the following warning occurs

[root@sat6 ~]# katello-installer
/Stage[main]/Candlepin::Database/Postgresql::Server::Db[candlepin]/Postgresql::Server::Role[candlepin]/Postgresql_psql[CREATE ROLE "candlepin" ENCRYPTED PASSWORD 'md5880eb9d5edfae290987def5e54a51a74' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER CONNECTION LIMIT -1]: Failed to call refresh: Error executing SQL; psql returned 256: 'ERROR: role "candlepin" already exists
/Stage[main]/Candlepin::Database/Postgresql::Server::Db[candlepin]/Postgresql::Server::Role[candlepin]/Postgresql_psql[CREATE ROLE "candlepin" ENCRYPTED PASSWORD 'md5880eb9d5edfae290987def5e54a51a74' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER CONNECTION LIMIT -1]: Error executing SQL; psql returned 256: 'ERROR: role "candlepin" already exists
Installing Done [100%] [........................................................................................................]


Related issues

Has duplicate Katello - Bug #5438: katello-installer spews error messages from candlepinClosed2014-04-24
Has duplicate Katello - Bug #5943: Installer shows failure message though everything went well with minor exceptionDuplicate2014-05-27

Associated revisions

Revision f0fc5681 (diff)
Added by Eric Helms over 6 years ago

Fixes #5012: Point at upstream postgresql module to prevent Candlepin DB error, BZ1072708.

History

#1 Updated by Devan Goodwin over 6 years ago

#2 Updated by Eric Helms over 6 years ago

  • Has duplicate Bug #5438: katello-installer spews error messages from candlepin added

#3 Updated by Dominic Cleal over 6 years ago

Devan Goodwin wrote:

Appears to be an upstream bug:

https://tickets.puppetlabs.com/browse/MODULES-775

Fixed.

#4 Updated by Dominic Cleal over 6 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1072708

#5 Updated by Eric Helms over 6 years ago

  • Assignee set to Eric Helms
  • Target version set to 45
  • Triaged changed from No to Yes

#6 Updated by Eric Helms over 6 years ago

  • Has duplicate Bug #5943: Installer shows failure message though everything went well with minor exception added

#7 Updated by Eric Helms over 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset katello-installer|commit:f0fc568176e8c2cee98a8a08f32a940ee6305bdb.

#8 Updated by Eric Helms about 6 years ago

  • Legacy Backlogs Release (now unused) set to 13

Also available in: Atom PDF