Bug 1072708
Summary: | Installer errors: 1) Could not start Service[httpd] 2) 'ERROR: role "candlepin" already exists | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Sachin Ghai <sghai> |
Component: | Installation | Assignee: | Eric Helms <ehelms> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Sachin Ghai <sghai> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.3 | CC: | bchardim, dcleal, dgoodwin, djuran, ehelms, jhutar, jmontleo, mzazrivec, omaciel, xdmoon |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/5012 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-07-02 14:05:05 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Sachin Ghai
2014-03-05 04:53:28 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. on manually restarting httpd service, I got: [root@dhcp201-1xx ~]# service httpd restart Stopping httpd: [FAILED] Starting httpd: [Wed Mar 05 04:57:35 2014] [warn] module passenger_module is already loaded, skipping Syntax error on line 42 of /etc/httpd/conf.d/05-foreman-ssl.conf: SSLCertificateChainFile: file '/var/lib/puppet/ssl/certs/ca.pem' does not exist or is empty [FAILED] 'ERROR: role "candlepin" already exists' still an issue in Satellite-6.0.3-RHEL-6-20140313.0: [...] Notice: /Stage[main]/Postgresql::Server::Config/Co: 281/414, 67%, 6.2/s, elapsed: 00:02:06, ETA: 00:00:21 Debug: Executing '/sbin/chkconfig postgresql' : 287/414, 69%, 8.4/s, elapsed: 00:02:09, ETA: 00:00:15 Info: RESOURCE Postgresql_psql[ALTER ROLE "foreman: 296/414, 71%, 8.4/s, elapsed: 00:02:10, ETA: 00:00:13 [31m /Stage[main]/Candlepin::Database/Postgresql::Server::Db[candlepin]/Postgresql::Server::Role[candlepin]/Postgresql_psql[CREATE ROLE "candlepin" ENCRYPTED PASSWORD 'md56099b371abd704860ebdf03bd054f3a1' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER CONNECTION LIMIT -1]: Failed to call refresh: Error executing SQL; psql returned 256: 'ERROR: role "candlepin" already exists [0m[31m /Stage[main]/Candlepin::Database/Postgresql::Server::Db[candlepin]/Postgresql::Server::Role[candlepin]/Postgresql_psql[CREATE ROLE "candlepin" ENCRYPTED PASSWORD 'md56099b371abd704860ebdf03bd054f3a1' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER CONNECTION LIMIT -1]: Error executing SQL; psql returned 256: 'ERROR: role "candlepin" already exists [0mInfo: RESOURCE Postgresql_psql[ALTER ROLE "candlep: 300/414, 72%, 8.4/s, elapsed: 00:02:11, ETA: 00:00:13 Notice: /Stage[main]/Candlepin::Database/Postgresq: 308/414, 74%, 9.4/s, elapsed: 00:02:12, ETA: 00:00:11 [...] Also note that exit code of the katello-installer is 6 and not 0. Being tracked in Foreman as: http://projects.theforeman.org/issues/5012 And seems to trace back to an actual upstream puppet-postgresql bug: https://tickets.puppetlabs.com/browse/MODULES-775 In sat6-beta-snap6 the problem is still there: # katello-installer ... /Stage[main]/Candlepin::Database/Postgresql::Server::Db[candlepin]/Postgresql::Server::Role[candlepin]/Postgresql_psql[CREATE ROLE "candlepin" ENCRYPTED PASSWORD 'md5f1c7a15c3a9fe5c4133efc6c657ecf33' 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 'md5f1c7a15c3a9fe5c4133efc6c657ecf33' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER CONNECTION LIMIT -1]: Error executing SQL; psql returned 256: 'ERROR: role "candlepin" already exists ... Any news about when this will be fixed ? Many thanks Same experience with Satellite 6 nightly compose (May-28): # katello-installer /Stage[main]/Candlepin::Database/Postgresql::Server::Db[candlepin]/Postgresql::Server::Role[candlepin]/Postgresql_psql[CREATE ROLE "candlepin" ENCRYPTED PASSWORD 'md584d4b9d479e837ef3628c35a5c4c2e1f' 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 'md584d4b9d479e837ef3628c35a5c4c2e1f' LOGIN NOCREATEROLE NOCREATEDB NOSUPERUSER CONNECTION LIMIT -1]: Error executing SQL; psql returned 256: 'ERROR: role "candlepin" already exists Installing --- /etc/foreman-proxy/settings.ymlttings2014-05-20 15: [99%] [..................Installing +++ /tmp/puppet-file20140528-30255-16qh6n7-0 2014- [99%] [...................Installing Done [100%] [....................] Something went wrong! Check the log for ERROR-level output The full log is at /var/log/katello-installer/katello-installer.log *** Bug 1077879 has been marked as a duplicate of this bug. *** *** Bug 1099498 has been marked as a duplicate of this bug. *** Moving to POST since upstream bug http://projects.theforeman.org/issues/5012 has been closed Verified with sat6 beta snap9 (Satellite-6.0.3-RHEL-6-20140611.1). The reported issue is not reproducible. I was able to run the installer successfully. This was delivered with 6.0.3, which is the Satellite 6 Beta. |