Bug 1257354 - rhc server configure doesn't have a --always-auth option
Summary: rhc server configure doesn't have a --always-auth option
Keywords:
Status: CLOSED DUPLICATE of bug 1257362
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Fabiano Franz
QA Contact: Yanping Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-26 21:23 UTC by Eric Jones
Modified: 2015-08-27 13:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-27 13:23:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1216206 0 high CLOSED [RFE] --always-auth should be an allowed option for rhc setup 2021-02-22 00:41:40 UTC

Description Eric Jones 2015-08-26 21:23:45 UTC
Description of problem:
Version 2.2.5 changed the default for the rhc setup command to set always_auth=false and occasionally it needs to be always_auth=true For multiple servers connected to one dev account the configuration file for the server switches from .openshift/express.conf to .openshift/server.yml and in the server.yml always_auth does not work. Both setting it manually and setting it using rhc server configure NickName --always-auth therefore there is no way to set the server to always authenticate when there are more than one server attached to a dev account.

Version-Release number of selected component (if applicable):
OpenShift Enterprise v2.2

How reproducible:
100%

Steps to Reproduce:
1. On a system running OpenShift v2.2 with one server already set on the default dev account, ran "rhc server add openshift.redhat.com".
2. Ran "ls ~/.opnshift" to prove that it created the server.yml file
3. Ran "cat ~/.openshift/server.yml" in order to see that, by default, it doesn't have any always_auth setting
4. Ran "rhc server use online"
5. Ran "rhc region" to prove that it doesn't authenticate
6. Vim into the file to add "always_auth: true"
7. Ran "rhc region" again and still no authentication
8. Ran "cat ~/.openshift/server.yml"  again and saw that the changes were gone
9. Ran "rhc server configure --help" and saw that there is no option to add always_auth or anything similar

Actual results:


Expected results:


Additional info:

Comment 2 Eric Jones 2015-08-27 13:23:11 UTC

*** This bug has been marked as a duplicate of bug 1257362 ***


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