Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 546410[details]
katello configuration logs
Description of problem:
Experienced a half-baked katello configuration while following https://fedorahosted.org/katello/wiki/Install. Based on error message (below), I suspect that postresql was not fully functional when the candlepin user was being created. Tried re-running the initial configuration and everything worked fine.
Version-Release number of selected component (if applicable):
katello-0.1.135-1.el6.x86_64
How reproducible:
Steps to Reproduce:
1. Follow instructions from https://fedorahosted.org/katello/wiki/Install
2. Run katello-configure
3.
Actual results:
# katello-configure
Starting Katello configuration
The top-level log file is [/var/log/katello/katello-configure-20111213-142921/main.log]
err: /Stage[main]/Candlepin::Config/Postgres::Createuser[candlepin]/Sqlexec[createuser-candlepin]/Exec[psql -h localhost --username=postgres postgres -c "CREATE ROLE candlepin WITH LOGIN PASSWORD 'candlepin' CREATEDB;" >> /var/log/katello/katello-configure/create-postgresql-candlepin-user.log 2>&1]/returns: change from notrun to 0 failed: psql -h localhost --username=postgres postgres -c "CREATE ROLE candlepin WITH LOGIN PASSWORD 'candlepin' CREATEDB;" >> /var/log/katello/katello-configure/create-postgresql-candlepin-user.log 2>&1 returned 2 instead of one of [0] at /usr/share/katello/install/puppet/modules/postgres/manifests/sqlexec.pp:12
Expected results:
Additional info:
Attached all log files related to configuration process.
# VERIFIED
confirm: katello-configure-0.1.41-1.git.1.07c0612.el6.noarch fixes the issue for me.
Run of katello-configure produces with $?==0 and the katello/api/ping/ works fine.