Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1077518

Summary: Update passenger settings to match recommendations from Online
Product: OpenShift Container Platform Reporter: Johnny Liu <jialiu>
Component: NodeAssignee: Luke Meyer <lmeyer>
Status: CLOSED ERRATA QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1.0CC: bleanhar, jialiu, libra-onpremise-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1076125 Environment:
Last Closed: 2014-05-15 14:40:53 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:
Bug Depends On: 1076125    
Bug Blocks:    

Comment 3 Johnny Liu 2014-03-19 05:49:06 UTC
Rest this bug with openshift-origin-broker-1.15.1-1.git.3703.e8e718b.el6op.noarch in 2.1/2014-03-17.2 puddle, still failed, 

Seem like this puddle is not shipping the latest openshift-origin-broker package.

# cat /var/www/openshift/broker/httpd/broker.conf
ServerRoot "/var/www/openshift/broker/httpd"
DocumentRoot "/var/www/openshift/broker/public"
Listen 127.0.0.1:8080
User apache
Group apache

include /etc/httpd/conf.d/ruby193-passenger.conf
PassengerUser apache
PassengerMaxPoolSize 80
PassengerMinInstances 2
PassengerPreStart http://127.0.0.1:8080/broker/rest/api.json
PassengerUseGlobalQueue off
PassengerRuby /var/www/openshift/broker/script/broker_ruby

<Directory /var/www/openshift/broker/public>
    Options -MultiViews
</Directory>

Comment 4 Johnny Liu 2014-03-19 09:05:40 UTC
Also re-test it using 2.1/2014-03-18.2, still failed.

Comment 7 Brenton Leanhardt 2014-03-20 12:13:28 UTC
I found the problem.  There are two broker conf files.  One for the scl and one for non-scl distros.  I'll have this fixed today.

Comment 9 Johnny Liu 2014-03-21 03:11:21 UTC
Verified this bug with openshift-origin-broker-1.16.1-1.git.3846.16c4336.el6op.noarch, and PASS.

# cat /var/www/openshift/broker/httpd/broker.conf
ServerRoot "/var/www/openshift/broker/httpd"
DocumentRoot "/var/www/openshift/broker/public"
Listen 127.0.0.1:8080
User apache
Group apache

include /etc/httpd/conf.d/ruby193-passenger.conf
PassengerUser apache
PassengerMaxPoolSize 80
PassengerMinInstances 6
PassengerPoolIdleTime 600
PassengerPreStart http://127.0.0.1:8080/broker/rest/api.json
PassengerUseGlobalQueue off
PassengerRuby /var/www/openshift/broker/script/broker_ruby

<Directory /var/www/openshift/broker/public>
    Options -MultiViews
</Directory>