Bug 1000978

Summary: Unnecessary message shows when check the status of python2.7/python2.6 cartridge
Product: OpenShift Online Reporter: Lei Zhang <lzhang>
Component: ContainersAssignee: Michal Fojtik <mfojtik>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 2.xCC: mfojtik, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-19 16:48:11 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 Lei Zhang 2013-08-26 08:56:39 UTC
Description of problem:
Given one python app create(e.g., mypytyhon26), check the status of python cartridge, unnecessary message shows
[rayzhang@rayzhang Work]$ rhc cartridge status -a mypython26 -c python-2.6 
RESULT:
Application is running
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
116   233  116   233    0     0  37042      0 --:--:-- --:--:-- --:--:--     0
Total Accesses: 1117
Total kBytes: 5703
CPULoad: .18669
Uptime: 2239
ReqPerSec: .498883
BytesPerSec: 2608.25
BytesPerReq: 5228.18
BusyWorkers: 1
IdleWorkers: 1
Scoreboard: W_..........................................................


Version-Release number of selected component (if applicable):
STG(devenv_stage-457)
rhc-1.13.6

How reproducible:
always

Steps to Reproduce:
1. create one python app
#rhc app create mypython26 python-2.6
2. check the status of python cartridge 
#rhc cartridge status -a mypytyhon26 -c python-2.6
3.

Actual results:
Unnecessary message shows when check the status of python cartridge

Expected results:
Just status info should display

Additional info:

Comment 1 Michal Fojtik 2013-08-26 14:49:08 UTC
https://github.com/openshift/origin-server/pull/3498

Comment 2 openshift-github-bot 2013-09-03 16:12:59 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/d50f3c2722bb6e1e00493d62ced5b19f5c757bc9
Bug 1000978 - Make curl more silent when fetching status of python cartridge

Comment 3 Lei Zhang 2013-09-05 02:50:41 UTC
Verified on devenv_3745

[rayzhang@ray Work]$ rhc cartridge stop -a  mypython27 -c python-2.7;
Stopping python-2.7 ... done
[rayzhang@ray Work]$ rhc cartridge status -a  mypython27 -c python-2.7;
RESULT:
Application is either stopped or inaccessible
[rayzhang@ray Work]$ rhc cartridge start -a  mypython27 -c python-2.7;
Starting python-2.7 ... done
[rayzhang@ray Work]$ rhc cartridge status -a  mypython27 -c python-2.7;
RESULT:
Application is running
Total Accesses: 0
Total kBytes: 0
Uptime: 73
ReqPerSec: 0
BytesPerSec: 0
BusyWorkers: 1
IdleWorkers: 0
Scoreboard: W...........................................................


[rayzhang@ray Work]$ rhc cartridge stop -a mypython26 -c python-2.6 
Stopping python-2.6 ... done
[rayzhang@ray Work]$ rhc cartridge status -a mypython26 -c python-2.6 
RESULT:
Application is either stopped or inaccessible
[rayzhang@ray Work]$ rhc cartridge start -a mypython26 -c python-2.6 
Starting python-2.6 ... done
[rayzhang@ray Work]$ rhc cartridge status -a mypython26 -c python-2.6 
RESULT:
Application is running
Total Accesses: 0
Total kBytes: 0
Uptime: 44
ReqPerSec: 0
BytesPerSec: 0
BusyWorkers: 1
IdleWorkers: 0
Scoreboard: W...........................................................

Comment 4 Michal Fojtik 2013-09-12 09:47:46 UTC
Sorry, my bugzilla script screwed this ;-)