Hide Forgot
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.
Dupe of 767139 Fixed in katello-configure-0.1.36-1
# 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.