Bug 1076125
| Summary: | Update passenger settings to match recommendations from Online | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Brenton Leanhardt <bleanhar> | |
| Component: | Cluster Version Operator | Assignee: | John W. Lamb <jolamb> | |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> | |
| Severity: | unspecified | Docs Contact: | Brenton Leanhardt <bleanhar> | |
| Priority: | unspecified | |||
| Version: | 2.1.0 | CC: | 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: | ||||
| : | 1077518 (view as bug list) | Environment: | ||
| Last Closed: | 2014-05-15 14:41:07 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: | ||||
| Bug Blocks: | 1077518 | |||
|
Description
Brenton Leanhardt
2014-03-13 15:37:27 UTC
Just to be clear, not only upgrades but new installs should have these settings too. Re-test this bug with 2.1/2014-03-13.6, and FAIL. After finished ose-upgrade process from 2.0->2.1, the following two lines are not placed into /var/www/openshift/broker/httpd/broker.conf PassengerMinInstances 6 PassengerPoolIdleTime 600 And check the code, there is also no any logic to place them. And new ose-2.1 installs also does NOT have these setting. Verified this bug with openshift-enterprise-upgrade-broker-2.1.0-1.git.36.040395d.el6op.noarch, and PASS. After finished upgrade process, /var/www/openshift/broker/httpd/broker.conf is changed to: 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 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> # This is the maximum number of seconds that an application process may be idle # before then it will be shutdown in order to conserve memory. The default is # 300 and by increasing it we are ensuring that low traffic periods do not # reduce the number of passenger instances and impact the service when traffic # picks up. This is the value OpenShift Online uses. PassengerPoolIdleTime 600 |