Created attachment 851873 [details] katello debug script output Description of problem: 'katello-configure --user-pass=admin' fails to complete on fresh, fully-updated Fedora 19 installation. main.log shows: 140117-15:33:41 Debug: Exec[katello_seed_db](provider=posix): Executing '/usr/bin/rake seed_with_logging --trace --verbose > /var/log/katello/katello-configure/db_seed.log 2>&1 && touch /var/lib/katello/db_seed_done' 140117-15:33:41 Debug: Executing '/usr/bin/rake seed_with_logging --trace --verbose > /var/log/katello/katello-configure/db_seed.log 2>&1 && touch /var/lib/katello/db_seed_done' 140117-15:33:53 Error: /usr/bin/rake seed_with_logging --trace --verbose > /var/log/katello/katello-configure/db_seed.log 2>&1 && touch /var/lib/katello/db_seed_done returned 1 instead of one of [0] 140117-15:33:53 Error: /Stage[main]/Katello::Config/Exec[katello_seed_db]/returns: change from notrun to 0 failed: /usr/bin/rake seed_with_logging --trace --verbose > /var/log/katello/katello-configure/db_seed.log 2>&1 && touch /var/lib/katello/db_seed_done returned 1 instead of one of [0] A re-run doesn't help. How reproducible: Very. Steps to Reproduce: 1. Install F19 (including setting up networking and name resolution) 2. yum -y update 3. yum -y install http://fedorapeople.org/groups/katello/releases/yum/1.4/Fedora/19/x86_64/katello-repos-1.4.4-1.fc19.noarch.rpm postgresql-server 4. postgresql-setup initdb && service postgresql start 5. yum install -y katello-foreman-all 6. Disable selinux by editing /etc/sysconfig/selinux and rebooting 7. katello-configure --user-pass=admin Actual results: Installation fails Expected results: Installation completes Additional info:
Moving to Sat6 to be tracked there. Upstream bugs are moving to redmine.
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.
After some more digging I found that the installer is trying to reach Pulp through our corporate web proxy. From /var/log/katello/production.log: [ERROR 2014-01-17 15:33:53 pulp_rest #3156] RestClient.post "https://katellohost.workdomain.com/pulp/api/v2/users/" ... ... | For assistance, contact support at <A href='support?subject=Proxy Error: dns_unresolved_hostname Financial Services for ssl://katellohost.workdomain.com:443/, Client IP: 10.97.3.15 '>support</a> ... This means the installer is checking the environment variables $http_proxy and $https_proxy (or $HTTP_PROXY and $HTTPS_PROXY) I have set, but not $no_proxy (or $NO_PROXY). Here is what I have set: proxy=http://10.97.16.4:8080 export HTTP_PROXY=${proxy} export http_proxy=${proxy} export HTTPS_PROXY=${proxy} export https_proxy=${proxy} export NO_PROXY="localhost, 127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 10.97.3.15/32, katellohost.workdomain.com, katellohost" export no_proxy=${NO_PROXY}
Created redmine issue http://projects.theforeman.org/issues/6068 from this bug
tracking this upstream only.