Bug 1012471

Summary: foreman-proxy-installer/node-installer needs deps for rubygem-passenger RPMs
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: PackagingAssignee: Jason Montleon <jmontleo>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: NightlyCC: ehelms, jmontleo, skottler
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-24 17:10:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.