Bug 861021 - [fork]Should show more detail about the app's status when using rhc app show --apache
Summary: [fork]Should show more detail about the app's status when using rhc app sho...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: John (J5) Palmieri
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-27 10:23 UTC by Wei Sun
Modified: 2015-05-15 02:05 UTC (History)
3 users (show)

Fixed In Version: fork_ami_US2597_US2599_US2813_US2817_US2872_US2816_US2814_226
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-06 18:47:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Wei Sun 2012-09-27 10:23:52 UTC
Description of problem:
Run "rhc app show --apache",will show app's status,but don't show gear information clearly.

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

How reproducible:
always

Steps to Reproduce:
1.create app
2.rhc app show --apache $appname
3.
  
Actual results:
OpenShiftmatoMacBook-Pro:~ OpenShift$ rhc app show --apache phps
Password: ******
stopped
stopped

Expected results:
Should  show clear message,such as
Application '6212b993c0' is stopped
Application 'phps' is stopped

Additional info:

Comment 1 Clayton Coleman 2012-10-10 15:17:14 UTC
I don't think is intended.

Comment 2 John (J5) Palmieri 2012-10-10 20:41:28 UTC
Fixed this to show gear groups.

WARNING: After discussion I changed the --apache flag to --state as --apache does not describe what we are showing

New output:

$ rhc app show --state app2

RESULT:
Geargroup nodejs-0.6 is started
Geargroup mysql-5.1 is new
Geargroup nodejs-0.6+haproxy-1.4 is started

Comment 3 Wei Sun 2012-10-11 02:29:04 UTC
verified on devenv_2311
client build from fork_ami_US2597_US2599_US2813_US2817_US2872_US2816_US2814_226

Steps:
1. create an application
2.show application's status
rhc app show --state $appname

Result:
[sunwei@dhcp-8-229 dev]$ rhc app show --state nodejsscaletest
Password: ******


RESULT:
Geargroup nodejs-0.6 is started
Geargroup nodejs-0.6+haproxy-1.4 is started


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