Bug 1056525

Summary: "thread dump file: info is missing in REST response to thread dump
Product: OpenShift Online Reporter: Oleg Fayans <ofayans>
Component: MasterAssignee: Lili Nader <lnader>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.xCC: amarecek, mfisher
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: 2014-01-22 12:43:31 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 Oleg Fayans 2014-01-22 11:31:23 UTC
Description of problem:


When we request a threaddump via REST request, the response should tell in which file to search for the dump. It does not now

Version-Release number of selected component (if applicable):
reproduced on current INT instance and on devenv with ami: ami-0b132e62

How reproducible:
always

Steps to Reproduce:
1. create a ruby-1.9 app with mysql cartridge
2. request a threaddumpwith a REST request:
curl -k -H "Accept: application/xml" --user "<username:password>" https://<broker>/broker/rest/domains/<domain_name>/applications/<app_name>/events -X POST -d event=thread-dump

Actual results:
broker response does not contain any hint where to search the dump file

Expected results:

Should be something like this: 
The thread dump file will be available via: rhc tail rb1 -f ruby-1.8/logs/error_log-20140121-* -o '-n 250'
Additional info: