Bug 971265

Summary: Duplicate message when threaddump application
Product: OpenShift Online Reporter: Wei Sun <wsun>
Component: MasterAssignee: Dan McPherson <dmcphers>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: dmcphers
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: 2013-08-07 22:54:28 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 Wei Sun 2013-06-06 07:10:12 UTC
Description of problem:
Thread dump the app via RESTAPI,but it returns duplicate messages:
The thread dump file will be available via: rhc tail eapt -f /tmp/jbosseap.log -o '-n 250'

Version-Release number of selected component (if applicable):
devenv_3324

How reproducible:
Always

Steps to Reproduce:
1.Create jboss/ruby app
2.Thread dump the app via RESTAPI
3.

Actual results:
<messages>
    <message>
      <severity>info</severity>
      <text>Success
The thread dump file will be available via: rhc tail eapt -f /tmp/jbosseap.log -o '-n 250'</text>
      <exit-code nil="true"></exit-code>
      <field nil="true"></field>
    </message>
    <message>
      <severity>result</severity>
      <text>Success
The thread dump file will be available via: rhc tail eapt -f /tmp/jbosseap.log -o '-n 250'
</text>
      <exit-code nil="true"></exit-code>
      <field nil="true"></field>
    </message>
  </messages>


Expected results:
Don't have duplicate messages

Additional info:

Comment 1 Dan McPherson 2013-07-23 19:09:39 UTC
https://github.com/openshift/origin-server/pull/3145

Comment 3 Wei Sun 2013-07-24 06:23:15 UTC
Verified on devenv_3545

Result:
 <messages>
    <message>
      <severity>info</severity>
      <text></text>
      <exit-code>0</exit-code>
      <field nil="true"></field>
    </message>
    <message>
      <severity>result</severity>
      <text>Success
The thread dump file will be available via: rhc tail eapt -f /tmp/jbosseap.log -o '-n 250'
</text>
      <exit-code>0</exit-code>
      <field nil="true"></field>
    </message>
  </messages>