Bug 1263373 - rhc -l and -p options do not seem to work with domain commands
rhc -l and -p options do not seem to work with domain commands
Product: OpenShift Container Platform
Classification: Red Hat
Component: Command Line Interface (Show other bugs)
Unspecified Unspecified
low Severity low
: ---
: ---
Assigned To: Timothy Williams
Wei Sun
Depends On:
  Show dependency treegraph
Reported: 2015-09-15 12:33 EDT by Eric Rich
Modified: 2016-07-26 08:56 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-07-13 10:20:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Eric Rich 2015-09-15 12:33:11 EDT
Description of problem:

Commands like (the ones below) do not work or authentication users. 

    # rhc -d domain create TEST -v --server=OPENSHIFT_SERVER -l USER -p PASS -k

  - Note: Goal is to not use rhc setup. 

Version-Release number of selected component (if applicable): 2.2.6
How reproducible: Very 
Steps to Reproduce:
 1. Run the command above. 

Actual results:

This results in a 401 error (no authentication) 

Expected results:

This should work as other *similar commands* like: 

    # curl -k -v -X POST https://OPENSHIFT_SERVER/broker/rest/domains --user USER:PASS --data-urlencode name=TEST --data-urlencode allowed_gear_sizes=medium

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