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 1012471 - foreman-proxy-installer/node-installer needs deps for rubygem-passenger RPMs
Summary: foreman-proxy-installer/node-installer needs deps for rubygem-passenger RPMs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: Nightly
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: Jason Montleon
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-26 14:12 UTC by Corey Welton
Modified: 2019-09-26 13:42 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Corey Welton 2013-09-26 14:12:52 UTC
Description of problem:

Installing latest (and previous) build does not by default install the rubygem-passenger RPMs necessary to set up foreman proxy.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.  yum install -y katello-foreman-all foreman-proxy-installer foreman-libvirt foreman-installer* node-installer
2.  Make appropriate changes on system to support foreman smart proxies
3.  Attempt to configure proxy

OAUTH_SECRET=$(cat /etc/katello/oauth_token-file)
FORWARDERS=$(for i in $(cat /etc/resolv.conf |grep nameserver|awk '{print $2}'); do echo  --dns-forwarders $i;done)

node-install -v --parent-fqdn $(hostname) --dns true $FORWARDERS --dns-interface virbr1 --dns-zone katellolabs.org --dhcp true --dhcp-interface virbr1 --pulp false --tftp true --puppet true --puppetca true --register-in-foreman true --oauth-consumer-secret "$OAUTH_SECRET"

4.  Attempt to access example.com/katello
5.  service httpd status
6.  service httpd start

Actual results:

* instance is hosed
* Starting httpd: Syntax error on line 31 of /etc/httpd/conf.d/puppet.conf:
Invalid command 'PassengerHighPerformance', perhaps misspelled or defined by a module not included in the server configuration

It appears required Passenger RPMS are not installed:

mod_passenger
rubygem-passenger
rubygem-passenger-native
rubygem-passenger-native-libs

Expected results:

These RPMs should be setup as deps for the default foreman installation. It should be noted that puppet itself will try to install mod_passenger, at least, if it is not installed, but lack of all other packages causes system to go down in a very bad way.


Additional info:
* Workaround:  `yum -y install mod_passenger rubygem-passenger rubygem-passenger-native rubygem-passenger-native-libs` or more preferably, install these the same time you're installing node-installer

Comment 4 Sam Kottler 2013-10-03 18:58:28 UTC
The requires should go into the node installer IMO.

Comment 5 Corey Welton 2013-10-08 19:21:41 UTC
QA Verified in Satellite-6.0.2-RHEL-6-20131007.0 (though it was actually fixed in the previous couple of composes)

Comment 6 Bryan Kearney 2014-04-24 17:10:10 UTC
This was verified and delivered with MDP2. Closing it out.

Comment 7 Bryan Kearney 2014-04-24 17:11:29 UTC
This was delivered and verified with MDP2. Closing the bug.


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