Bug 801712

Summary: wrapper cli 'rhc app' should support command 'expose-port' as well
Product: OKD Reporter: Meng Bo <bmeng>
Component: ocAssignee: Rob Millner <rmillner>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.xCC: mfisher, rmillner
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-19 18:23:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Meng Bo 2012-03-09 08:59:49 UTC
Description of problem:
command 'expose-port' is supported by cli 'rhc-ctl-app', but isn't supported by wrapper cli 'rhc app'.

Version-Release number of selected component (if applicable):
rhc-0.88.2-1.el6_2.noarch

How reproducible:
always

Steps to Reproduce:
1.rhc app expose-port -a testapp
2.
3.
  
Actual results:
returns 'missing or invalid command', expose-port is not supported by wrapper cli.

Expected results:
wrapper cli should support expose-port command as well.

Additional info:
expose command is supported by old cli 'rhc-ctl-app'.

Comment 1 Rob Millner 2012-03-12 18:17:54 UTC
The return values from expose and show-port are not being parsed by the API and setup behind the scenes as part of scaling.  These commands were exposed for testing and aren't needed any more.

commit c4b65c9 in li
commit 6742a5b in os_client_utils

Comment 2 Meng Bo 2012-03-13 05:17:47 UTC
checked on devenv_1659,
the expose-port command has been removed from client side.
mark bug as verified.