Bug 987553 - PassengerRoot is ignored for ruby cartridges
Summary: PassengerRoot is ignored for ruby cartridges
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-23 16:00 UTC by Brenton Leanhardt
Modified: 2015-05-14 23:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-29 12:46:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Brenton Leanhardt 2013-07-23 16:00:01 UTC
Description of problem:
In my gear's ruby/etc/conf.d/openshift.conf I tried the following:

How reproducible:


Steps to Reproduce:
1. Create a Ruby cartridge
2. Modify ruby/etc/conf.d/openshift.conf and set the PassengerRoot to 'NotUsed'
3. stop and start the gear

Actual results:
The gear continues to work.  To avoid confusion I am suggesting we change the PassengerRoot value in our ruby cartridge to 'NativelyPackaged'.  This is because in the passenger's ext/common/ResourceLocator.h we are hitting the "natively packaged" logic.  Our binaries are shipped as part of rubygem-passenger-native.


Additional info:

Pull Request incoming...

Comment 1 openshift-github-bot 2013-07-23 23:07:28 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/b773a196943a3d1cb1e86092784cbda9bac2d702
Bug 987553 - PassengerRoot is ignored for ruby cartridges

Comment 2 Meng Bo 2013-08-23 10:49:44 UTC
Checked on devenv-stage_452,

The value of PassengerRoot has been changed to "NativelyPackaged" for ruby cartridges.
And the ruby cartridge works fine.

Move bug to verified.


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