Bug 860211

Summary: Should show unsupport message while threaddump scalable app
Product: OKD Reporter: Rony Gong 🔥 <qgong>
Component: ContainersAssignee: Rob Millner <rmillner>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 2.xCC: mfisher, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: devenv_2241 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-06 18:48:26 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 Rony Gong 🔥 2012-09-25 09:28:03 UTC
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):
devenv_2222

How reproducible:
always

Steps to Reproduce:
1.Create scalable app like (jboss, ruby)
2.Do threaddump by : rhc threaddump qsruby18
  
Actual results:
[qgong@localhost dev]$ rhc threaddump qsruby18
Password: 
RESULT:
Success
The thread dump file will be available via: rhc app tail -a qsruby18 -f qsruby18/logs/error_log-20120925-000000-EST
-o '-n 250'
Success
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
Password: 
Could not find app 'a944d1cbd7'.  Please run rhc-domain-info to get a list
of your current running applications

Expected results:

The threaddump command is not supported by scalable application now.

Additional info:

Comment 1 Rob Millner 2012-09-27 01:30:06 UTC
Pull request https://github.com/openshift/crankcase/pull/533

Comment 2 Xiaoli Tian 2012-09-27 04:46:50 UTC
(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

Comment 3 Rony Gong 🔥 2012-09-27 09:54:56 UTC
Verified on devenv_2242
root@openshift-ubuntu:~/opentestdir# rhc threaddump jbas1s
Password: ***
RESULT:The threaddump command is not supported on scalable applications.