Bug 1077518 - Update passenger settings to match recommendations from Online
Summary: Update passenger settings to match recommendations from Online
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Luke Meyer
QA Contact: libra bugs
URL:
Whiteboard:
Depends On: 1076125
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-18 07:17 UTC by Johnny Liu
Modified: 2017-03-08 17:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1076125
Environment:
Last Closed: 2014-05-15 14:40:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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>


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