Bug 1021496

Summary: Check app's status via oo-admin-ctl-app show DEBUG info.
Product: OpenShift Online Reporter: Liang Xia <lxia>
Component: PodAssignee: Ravi Sankar <rpenta>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: rpenta
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-24 03:25:55 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:

Description Liang Xia 2013-10-21 12:07:08 UTC
Description of problem:
When check an app's status via oo-admin-ctl-app, it show following message:
DEBUG OUTPUT:
Cartridge  directory not found for haproxy-1.4Command return code: 1Cartridge  directory not found for haproxy-1.4Command return code: 1Cartridge  directory not found for haproxy-1.4Command return code: 1

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

How reproducible:
always

Steps to Reproduce:
1.create an scalable app and scale it up.
2.check its status via oo-admin-ctl-app.
  oo-admin-ctl-app -c status -a app_name -l user
3.

Actual results:
# oo-admin-ctl-app -l lxia -a eap6s -c status
DEBUG OUTPUT:
Cartridge  directory not found for haproxy-1.4Command return code: 1Cartridge  directory not found for haproxy-1.4Command return code: 1Cartridge  directory not found for haproxy-1.4Command return code: 1
Application is running
Application is running
Application is running
Application is running
HAProxy instance is running

Expected results:
Should not show the debug info.

Additional info:

Comment 1 Ravi Sankar 2013-11-09 00:45:47 UTC
Fixed in https://github.com/openshift/origin-server/pull/4142

Comment 2 Liang Xia 2013-11-12 02:46:16 UTC
Checked on devenv_4018, this can be reproduced.

#  oo-admin-ctl-app -c status -a phps -l lxia
DEBUG OUTPUT:
Cartridge directory not found for haproxy-1.4Command return code: 1Cartridge directory not found for haproxy-1.4Command return code: 1Cartridge directory not found for haproxy-1.4Command return code: 1
Application is running
%
Application is running
%
Application is running
%
Application is running
%
HAProxy instance is running

Comment 3 Liang Xia 2013-11-13 02:10:55 UTC
Could you please help to merge the code so I can verify this bug. Thanks.

Comment 4 Ravi Sankar 2013-11-13 18:05:21 UTC
Fixed in https://github.com/openshift/origin-server/pull/4159
Available on devenv_4026

Comment 5 Liang Xia 2013-11-14 02:11:08 UTC
Verified on devenv_4030. Debug info is gone.

# oo-admin-ctl-app -c status -a phps -l lxia
Application is running
%
Application is running
%
Application is running
%
HAProxy instance is running