Bug 982917 - Duplicate message when check the status of cartridge in scalable app.
Duplicate message when check the status of cartridge in scalable app.
Status: CLOSED NOTABUG
Product: OpenShift Online
Classification: Red Hat
Component: Command Line Interface (Show other bugs)
2.x
Unspecified Linux
unspecified Severity low
: ---
: ---
Assigned To: Clayton Coleman
libra bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-10 02:46 EDT by Lei Zhang
Modified: 2015-05-14 22:24 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-07-10 10:56:57 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Lei Zhang 2013-07-10 02:46:45 EDT
Description of problem:
Given a scalable app(e.g, mynodejs06s), use this command 'rhc cartridge status -a mynodejs06s -c nodejs-0.6' to check the status of cartridge. Duplicate message shows.

Version-Release number of selected component (if applicable):
INT(devenv_3470)
rhc-1.11.3.gem

How reproducible:
always

Steps to Reproduce:
1. rhc app create mynodejs06s nodejs-0.6 -s
2. rhc cartridge status -a mynodejs06s -c nodejs-0.6
3.

Actual results:
[rayzhang@rayzhang Work]$ rhc cartridge status -a mynodejs06s -c nodejs-0.6
RESULT:
Application is running
Application is running

Expected results:
No duplicated message should be displayed.

Additional info:
Comment 1 Clayton Coleman 2013-07-10 10:56:57 EDT
There are two gears, so two outputs are displayed.
Comment 2 Lei Zhang 2013-07-10 22:10:06 EDT
Test on INT(devenv_3481), rhc-1.11.4, the bug doesn't exsit.


[rayzhang@rayzhang Work]$ rhc app show mynodejs06s
mynodejs06s @ http://mynodejs06s-ray.int.rhcloud.com/ (uuid: 51de12976cec0e5911000027)
--------------------------------------------------------------------------------------
  Created: 10:04 AM
  Gears:   1 (defaults to small)
  Git URL: ssh://51de12976cec0e5911000027@mynodejs06s-ray.int.rhcloud.com/~/git/mynodejs06s.git/
  SSH:     51de12976cec0e5911000027@mynodejs06s-ray.int.rhcloud.com

  nodejs-0.6 (Node.js 0.6)
  ------------------------
    Scaling: x1 (minimum: 1, maximum: available) on small gears

  haproxy-1.4 (OpenShift Web Balancer)
  ------------------------------------
    Gears: Located with nodejs-0.6
[rayzhang@rayzhang Work]$ rhc app show --gears -a mynodejs06s
ID                       State   Cartridges             Size  SSH URL
------------------------ ------- ---------------------- ----- --------------------------------------------------------
51de12976cec0e5911000027 started nodejs-0.6 haproxy-1.4 small 51de12976cec0e5911000027@mynodejs06s-ray.int.rhcloud.com
[rayzhang@rayzhang Work]$ rhc cartridge status -a mynodejs06s -c nodejs-0.6 
RESULT:
Application is running
[rayzhang@rayzhang Work]$ rhc cartridge status -a mynodejs06s -c nodejs-0.6 
RESULT:
Application is running
[rayzhang@rayzhang Work]$
Comment 3 Lei Zhang 2013-07-10 22:28:28 EDT
After I scale up the app, and than check the status of the app, two lines "Application is running" display, yes, it's not bug. 

Thanks
Lei

Note You need to log in before you can comment on or make changes to this bug.