| Summary: | passenger-status command shows error message when executed from user's ruby-1.8 application shell | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Ma xiaoqiang <xiama> |
| Component: | ImageStreams | Assignee: | Jason DeTiberus <jdetiber> |
| Status: | CLOSED EOL | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.2.0 | CC: | bleanhar, jialiu, jokerman, libra-onpremise-devel, mmccomas, rthrashe, xtian, yanpzhan |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-13 22:37:56 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: | |
This looks like a packaging problem:
From /usr/bin/passenger-status:
source_root = File.expand_path(File.dirname(__FILE__) + "/..")
$LOAD_PATH.unshift("#{source_root}/lib")
require 'phusion_passenger'
require 'phusion_passenger/platform_info'
require 'phusion_passenger/admin_tools/server_instance'
require 'optparse'
I'm assuming passenger-status isn't expecting to be at /usr/bin. We'll just need to patch the ruby-1.8 build.
The bug can also be reproduced on ose 1.2.z/2014-07-09.2 with ruby-1.8 cartridge and same error. OpenShift Enterprise v2 has officially reached EoL. This product is no longer supported and bugs will be closed. Please look into the replacement enterprise-grade container option, OpenShift Container Platform v3. https://www.openshift.com/container-platform/ More information can be found here: https://access.redhat.com/support/policy/updates/openshift/ |
Description of problem: passenger-status command shows error message when executed from user's ruby-1.8 application shell Version-Release number of selected component (if applicable): puddle:[2.0-2013-10-31.2] How reproducible: always Steps to Reproduce: 1.create a ruby-1.8 app #rhc app create rb18app ruby-1.8 2.login to the app #rhc app ssh rb18app 3.run the command > passenger-status Actual results: Output: /usr/bin/passenger-status:27:in `require': no such file to load -- phusion_passenger (LoadError) from /usr/bin/passenger-status:27 Expected results: ----------- General information ----------- max = 3 count = 0 active = 0 inactive = 0 Waiting on global queue: 0 ----------- Application groups ----------- Additional info: run this command successfully on online env. [rubyapp-xiama.dev.rhcloud.com 527363407574bf3c9300031a]\> passenger-status ----------- General information ----------- max = 3 count = 0 active = 0 inactive = 0 Waiting on global queue: 0 ----------- Application groups -----------