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.
Bug 1055007 - 'rake seed_with_logging' fails during fresh install of katello 1.4 on fedora 19
Summary: 'rake seed_with_logging' fails during fresh install of katello 1.4 on fedora 19
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Infrastructure
Version: Nightly
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-17 23:05 UTC by Kris Knigga
Modified: 2018-08-30 21:57 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-04 17:51:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
katello debug script output (156.12 KB, application/x-gzip)
2014-01-17 23:05 UTC, Kris Knigga
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 6068 0 None None None 2016-04-22 16:13:59 UTC

Description Kris Knigga 2014-01-17 23:05:41 UTC
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:

Comment 1 Bryan Kearney 2014-01-21 19:07:11 UTC
Moving to Sat6 to be tracked there. Upstream bugs are moving to redmine.

Comment 2 RHEL Program Management 2014-01-21 19:17:15 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.

Comment 5 Kris Knigga 2014-01-22 16:45:29 UTC
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}

Comment 6 Bryan Kearney 2014-06-04 17:51:19 UTC
Created redmine issue http://projects.theforeman.org/issues/6068 from this bug

Comment 7 Bryan Kearney 2014-06-04 17:51:39 UTC
tracking this upstream only.


Note You need to log in before you can comment on or make changes to this bug.