Bug 1128009

Summary: Failed to threaddump rails4 quickstart after access the app url
Product: OpenShift Online Reporter: XiuJuan Wang <xiuwang>
Component: TemplatesAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED WONTFIX QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: dmcphers, jokerman, mfojtik, mmccomas
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: 2015-06-12 02:02:03 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:

Description XiuJuan Wang 2014-08-08 06:03:14 UTC
Description of problem:
Can't thread dump rails4 quickstart of ruby-2.0 after access the app url,showing "Unable to detect application PID. Check the application's availability by accessing http://<app>-<domain>.dev.rhcloud.com."

Check the process in app, there is no Passenger RackApp process existed

It works for normal ruby-2.0 app.

Version-Release number of selected component (if applicable):
devenv_5052

How reproducible:
Always

Steps to Reproduce:
1.Create a rails application
rhc app create railsapp ruby-2.0 mysql-5.5
2.Add this upstream Rails4 quickstart repository
cd rails4
git remote add upstream -m master git://github.com/openshift/rails4-example.git
git pull -s recursive -X theirs upstream master
git push
3.Access this app
4.Threaddump this app

Actual results:
Step 4:
# rhc threaddump rails4 
 Unable to detect application PID. Check the application's availability by accessing http://rails4-abcd.dev.rhcloud.com

Expected results:
Could threaddump this app

Additional info:

Comment 1 Michal Fojtik 2014-08-08 11:12:49 UTC
AFAIK, thread dump is not supported for ruby > 1.8 (including rails3/ruby1.9). I will make jhadvig double check this as he was working on it.