Bug 1216206
| Summary: | [RFE] --always-auth should be an allowed option for rhc setup | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Eric Rich <erich> |
| Component: | oc | Assignee: | Miciah Dashiel Butler Masters <mmasters> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.2.0 | CC: | adellape, bleanhar, creynold, erich, erjones, gpei, jialiu, jokerman, jolamb, kevensen, libra-bugs, libra-onpremise-devel, lmeyer, mmccomas, pruan, tiwillia |
| Target Milestone: | --- | Keywords: | NeedsTestCase |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rhc-1.37.1.2-1.el6op | Doc Type: | Enhancement |
| Doc Text: |
When running `rhc setup` for the first time, rhc must contact the OpenShift server. If the `always_auth` option must be set to something other than the default to connect to the OpenShift server, a ~/.openshift/express.conf file had to be manually created with the `always_auth` option set. This enhancement allows users to now pass the `--always_auth` global option to `rhc setup` so that a configuration file does not have to be manually created beforehand. Users can also use this option on any rhc command to overwrite the value in the rhc's configuration.
|
Story Points: | --- |
| Clone Of: | 1187806 | Environment: | |
| Last Closed: | 2015-09-30 16:37:29 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1187806 | ||
| Bug Blocks: | |||
|
Description
Eric Rich
2015-04-28 18:41:51 UTC
Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/b571857746c8d6587dba4711565272a980691313 Bug 1216206 - Always_auth should be able to be passed to 'setup' https://bugzilla.redhat.com/show_bug.cgi?id=1216206 The always_auth option could be configured in the rhc configuration prior to running 'rhc setup' to enable always authenticating to openshift api endpoints. This change allows the '--always-auth' option to be passed in with 'rhc setup' to ensure every request is authenticated during setup and that 'always_auth=true' is added to the configuration file. This eliminates the need to manually modify the 'always_auth' directive in the configuration file before running setup. This fix also allows the '--always-auth' option to be passed globally, with any rhc command. *** Bug 1257362 has been marked as a duplicate of this bug. *** Verified this bug with rhc-1.37.1.2-1.el6op.noarch in 2.2/2015-09-21.1 puddle, PASS. # rhc setup --always-auth # grep 'always_auth' .openshift/express.conf always_auth=true Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1844.html |