Bug 991250
Summary: | 'rhc' command does not read the default configuration file in /etc/openshift/ | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Ma xiaoqiang <xiama> |
Component: | oc | Assignee: | Fabiano Franz <ffranz> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 2.x | CC: | ccoleman, xtian |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-01-30 00:48:14 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: |
Description
Ma xiaoqiang
2013-08-02 01:06:57 UTC
I'm pretty sure we removed all support for this, and didn't intend it to be used anywhere except for 'rhc setup'. When removing ~/.openshift/express.conf and keeping /etc/openshift/express.conf with a given libra_server: - single 'rhc' command launches the wizard against openshift.redhat.com - 'rhc setup' launches it against the libra_server configured on /etc/openshift/express.conf The wizard should behave equally on these two scenarios. (In reply to Clayton Coleman from comment #1) > I'm pretty sure we removed all support for this, and didn't intend it to be > used anywhere except for 'rhc setup'. Fixed in https://github.com/openshift/rhc/pull/531 The single 'rhc' command should now launch the wizard using the same context as 'rhc setup'. Every other command will still ignore /etc/openshift/express.conf. In fact we decided to change this. When calling 'rhc' alone we will display the help no matter if OpenShift is configured or not. Please validate. Commits pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/5bddda5b0d018e4d6995767190f5f629b121d9d7 Bug 991250 - 'rhc' must call wizard with the same context as 'rhc setup' https://github.com/openshift/rhc/commit/ef28bd06e0634da00ba6d4c0d71d344fbb6c5ba1 Bug 991250 - changed the behavior of the 'rhc' command called alone to display help instead of the wizard if it's not configured check on devenv_4186 1.remove all configuration, then run the rhc command. 2.run "rhc setup", then run rhc 3.remove ~/.openshift/express.conf and keep /etc/openshift/express.conf, then run rhc command The output of the three scenarios is the help content. |