Red Hat Bugzilla – Bug 860211
Should show unsupport message while threaddump scalable app
Last modified: 2015-05-14 18:59:56 EDT
Description of problem:
According to bug 835825 and bug 835820 , we do not support threaddump for scalable app well, then should we show some information to remind user that we do not support thread dump for scalable app while user threaddump scalable app
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create scalable app like (jboss, ruby)
2.Do threaddump by : rhc threaddump qsruby18
[qgong@localhost dev]$ rhc threaddump qsruby18
The thread dump file will be available via: rhc app tail -a qsruby18 -f qsruby18/logs/error_log-20120925-000000-EST
-o '-n 250'
The thread dump file will be available via: rhc app tail -a 2da372f5de -f
2da372f5de/logs/error_log-20120925-000000-EST -o '-n 250'
but above slave gear log can't work, like:
[qgong@localhost dev]$ rhc app tail -a 2da372f5de -f 2da372f5de/logs/error_log-20120925-000000-EST -o '-n 250
Could not find app 'a944d1cbd7'. Please run rhc-domain-info to get a list
of your current running applications
The threaddump command is not supported by scalable application now.
Pull request https://github.com/openshift/crankcase/pull/533
(In reply to comment #1)
> Pull request https://github.com/openshift/crankcase/pull/533
Above pull request is merged in devenv_2241, move it to ON_QA
Verified on devenv_2242
root@openshift-ubuntu:~/opentestdir# rhc threaddump jbas1s
RESULT:The threaddump command is not supported on scalable applications.