| Summary: | [RFE] Add better tooling in rhc to switch between accounts | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Timothy Williams <tiwillia> |
| Component: | RFE | Assignee: | Brenton Leanhardt <bleanhar> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | high | ||
| Version: | 1.2.1 | CC: | adellape, aenright, bleanhar, cryan, libra-onpremise-devel, mmasters, tiwillia, yanpzhan |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rhc-1.28.5.1-1.el6op | Doc Type: | Enhancement |
| Doc Text: |
Previous versions of the client tools were configured for use with a single OpenShift server at a time. The configuration settings in the ~/.openshift/express.conf file would be overwritten each time the client tools were configured for use with a new server. This enhancement enables the client tools shipped with OpenShift Enterprise to be configured for use with multiple servers, which is useful when using a single workstation to manage different applications hosted across multiple servers. See the OpenShift Enterprise User Guide for more information.
|
Story Points: | --- |
| Clone Of: | 1006067 | Environment: | |
| Last Closed: | 2014-08-26 13:52:06 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: | |
| Bug Depends On: | 1006067 | ||
| Bug Blocks: | |||
|
Description
Timothy Williams
2013-09-09 23:14:01 UTC
Would https://trello.com/c/Xl8v9hgm/180-3-i-can-use-rhc-to-manage-applications-across-multiple-openshift-deployments-multi-inst fulfill this RFE? Yes, that trello card is exactly what is needed to satisfy this RFE. *** Bug 1009881 has been marked as a duplicate of this bug. *** Verified on rhc-1.28.5.1-1.el6op.noarch. Steps to verify: There is rhc server command now implemented to configure multiple servers. 1.Could add multiple servers with rhc server: # rhc server add 10.3.8.136 # rhc server add 10.66.78.209 2.Could set nickname for server,such as: # rhc server configure --server 10.3.8.136 --nickname server1 3.Could list all the servers: # rhc server list Server '10.66.78.209' (in use) ------------------------------ Hostname: 10.66.78.209 Login: zyp Use Auth Tokens: true Insecure: true Server 'server1' ---------------- Hostname: 10.3.8.136 Login: test Use Auth Tokens: true Insecure: true 4.Could choose to use listed server: # rhc server use --server server1 Server '10.66.78.209' --------------------- Hostname: 10.66.78.209 Login: zyp Use Auth Tokens: true Insecure: true Server 'server1' (in use) ------------------------- Hostname: 10.3.8.136 Login: test Use Auth Tokens: true Insecure: true When the server is in use, we can run common operations against it.eg control app: # rhc app create testapp php-5.4 # rhc app show testapp --gears ID State Cartridges Size SSH URL ------------------------ ------- ---------- ----- ---------------------------------------------------------- 53e87c8216ae3171a000010f started php-5.4 small 53e87c8216ae3171a000010f.example.com # rhc app delete testapp --confirm Deleting application 'testapp' ... deleted 5.Have configre file server.yml produced in ~/.openshift,and all servers' info is contained in the file. # cat ~/.openshift/server.yml Server '10.66.78.209' --------------------- Hostname: 10.66.78.209 Login: zyp Use Auth Tokens: true Insecure: true Server 'server1' (in use) ------------------------- Hostname: 10.3.8.136 Login: test Use Auth Tokens: true Insecure: true 5.Could show,check staus of servers: # rhc server show server1 Server 'server1' (in use) ------------------------- Hostname: 10.3.8.136 Login: test Use Auth Tokens: true Insecure: true # rhc server status 10.66.78.209 Connected to 10.66.78.209 Using API version 1.6 6.Could remove server not in use from list: # rhc server remove 10.66.78.209 Removing '10.66.78.209' ... done # rhc server list Server 'server1' (in use) ------------------------- Hostname: 10.3.8.136 Login: test Use Auth Tokens: true Insecure: 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. http://rhn.redhat.com/errata/RHBA-2014-1095.html |