Bug 1117466
| Summary: | "rhc server use" incorrectly shares configs between servers | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Brenton Leanhardt <bleanhar> | ||||
| Component: | oc | Assignee: | Fabiano Franz <ffranz> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 2.x | CC: | ffranz, jokerman, mmccomas, xiuwang, xtian | ||||
| Target Milestone: | --- | Keywords: | UpcomingRelease | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-10-10 00:48:26 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: | |||||||
| Attachments: |
|
||||||
|
Description
Brenton Leanhardt
2014-07-08 18:42:49 UTC
Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/0676da829522112196044a670210998805990c9b Bug 1117466 - should not reuse SSL certs from different server configs Verified on the lastest rhc build from devenv_4950
Could switch servers when they have different CA files.
---
- server:
hostname: openshift.redhat.com
nickname: online
login: XXXXXXXXX
use_authorization_tokens: true
insecure: false
- server:
hostname: int.openshift.redhat.com
nickname: int
login: XXXXXXXX
use_authorization_tokens: true
insecure: true
ssl_version: SSLv3
ssl_client_cert_file: ./cert/server.crt
ssl_ca_file: ./root-ca.crt.pem
Mark bug as verified.
rhc-1.28.0 build from devenv_4962 Given two servers A and B configured using rhc, if A uses timeout parameter and B does not use the same parameter.Then switching from A to B, B will use A server's timeout value. step 1: Server list Server 'online' (in use) ------------------------ Hostname: openshift.redhat.com Login: XXXXXXXXXXX Use Auth Tokens: true Insecure: false Timeout: 22 Server 'stg' ------------ Hostname: stg.openshift.redhat.com Login: XXXXXXXXXX Use Auth Tokens: true Insecure: true 2.Switch online to stg 3.Server list, stg shares online's timeout parameter. Server 'online' --------------- Hostname: openshift.redhat.com Login: xiuwang+6 Use Auth Tokens: true Insecure: false Timeout: 22 Server 'stg' (in use) --------------------- Hostname: stg.openshift.redhat.com Login: xiuwang Use Auth Tokens: true Insecure: true Timeout: 22 Timeout issue fixed in https://github.com/openshift/rhc/pull/625 Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/96a22b95112402476c401568cc1ba796f39ffe2e Bug 1117466 - fixes overriding timeout config |