Bug 1128009 - Failed to threaddump rails4 quickstart after access the app url
Summary: Failed to threaddump rails4 quickstart after access the app url
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Templates
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jakub Hadvig
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-08 06:03 UTC by XiuJuan Wang
Modified: 2015-06-12 02:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-12 02:02:03 UTC


Attachments (Terms of Use)

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.


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