Bug 783117 - rhc-ctl-app fails when --password is specified
Summary: rhc-ctl-app fails when --password is specified
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Alex Boone
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks: 783115
TreeView+ depends on / blocked
 
Reported: 2012-01-19 12:30 UTC by Joshua Wulf
Modified: 2015-05-15 01:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-19 13:24:15 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


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