Bug 1021496 - Check app's status via oo-admin-ctl-app show DEBUG info.
Summary: Check app's status via oo-admin-ctl-app show DEBUG info.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Pod
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Ravi Sankar
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-21 12:07 UTC by Liang Xia
Modified: 2015-05-15 00:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-24 03:25:55 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


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