Hide Forgot
Description of problem: `rhc app threaddump` with a restarted ruby app always hits "Application is stopped" Version-Release number of selected component (if applicable): devenv_1606 How reproducible: Steps to Reproduce: 1. create a ruby app 2. restart this app (rhc-ctl-app or rhc-admin-ctl-app in devenv) 3. `rhc app threaddump` Actual results: Warned "Application is stopped. Ruby/Rack applications must be started by accessing the URL for a thread dump" Expected results: threaddump can be executed as expected Additional info: --------------------------- [root@intel-q8200novt-8-6 test]# rhc app restart -a ruby2 Password: RESULT: Success [root@intel-q8200novt-8-6 test]# rhc app status -a ruby2 Password: RESULT: Total Accesses: 1 Total kBytes: 0 Uptime: 471 ReqPerSec: .00212314 BytesPerSec: 0 BytesPerReq: 0 BusyWorkers: 1 IdleWorkers: 0 Scoreboard: W.... [root@intel-q8200novt-8-6 test]# rhc app threaddump -a ruby2 Password: RESULT: Application is stopped. Ruby/Rack applications must be started by accessing the URL for a thread dump
Tried to access the url and threaddump it again. It worked. But i don't think this situation should happened after restart. At least the error message was not accurate about "stopped". A little bit confusing.
Verify this bug on devenv_1608,it still can not thread dump after restart for there's no access to the app, but the reminding message is changed as following: Application is inactive. Ruby/Rack applications must be accessed by their URL (http://appruby0-domx2.dev.rhcloud.com) before you can take a thread dump. This sounds more reasonable.