Bug 783117

Summary: rhc-ctl-app fails when --password is specified
Product: OKD Reporter: Joshua Wulf <jwulf>
Component: ocAssignee: Alex Boone <aboone>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.xCC: junpark, lcarlon
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-19 13:24:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 783115    

Description Joshua Wulf 2012-01-19 12:30:14 UTC
1. This one works:
 rhc-ctl-app -a server --rhlogin sitapati --command status 

2. This one does not:
  rhc-ctl-app -a server --rhlogin sitapati --password --command status

The second command returns:
Command or embed is required

Usage: /usr/bin/rhc-ctl-app
......

From my reading of the usage instructions and the man page, the --password one should work.


rhc-0.84.15-1.el6_2.noarch
on Fedora 16

Comment 1 Alex Boone 2012-01-19 13:24:15 UTC
when using the --password flag, it is expected that the following argument is your password.  Therefore in example 2, you are essentially setting your password to "--command", and the rhc-ctl-app executable does not think you have passed a --command flag.

Try something like this:
rhc-ctl-app -a server --rhlogin sitapati --password mypass --command status