Bug 1397475
Summary: | [Behind Proxy][3.4] Cannot use ssh for git repos when http/s proxy is set | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Miheer Salunke <misalunk> | |
Component: | Build | Assignee: | Ben Parees <bparees> | |
Status: | CLOSED ERRATA | QA Contact: | Wang Haoran <haowang> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 3.2.1 | CC: | aos-bugs, bparees, dsundqvi, knakayam, mifiedle, pascal.bach, rymurphy, sgarciam, wzheng, xtian | |
Target Milestone: | --- | |||
Target Release: | 3.4.z | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause: Proxy value validation prevented use of default cluster proxy settings with ssh git urls.
Consequence: Buildconfigs that used ssh git urls in a cluster with default proxy settings would get a validation error unless the proxy value was explicitly set to empty string in the buildconfig.
Fix: Validation will no longer reject buildconfigs that use ssh git urls and have a proxy value set. However the proxy value will not be used when an ssh git url is supplied.
Result: Buildconfigs that specify ssh git urls will not get a validation error even if the cluster defines a default git proxy value.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1414522 (view as bug list) | Environment: | ||
Last Closed: | 2017-01-31 20:18:59 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: | ||||
Bug Blocks: | 1414522 |
Description
Miheer Salunke
2016-11-22 15:45:40 UTC
To fix this we should just remove the validation rule and allow proxy values to be set regardless of git protocol. Removing the check would be fine with me. This is not a new feature request, but just a regression due to https://github.com/openshift/origin/pull/5959 I hope that this ticket should be handled in a more timely manner... One of the customers is asking the ETA. Could you please tell us the ETA? The enterprise customer is asking us to provide the fix for 3.3. If you will fix this on the upstream, please backport to OCP 3.3. Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/cd8299b4556452dc0c1543d74253197a8cc37e70 allow proxy values to be specified with non-http git uris bug 1397475 Verified with below version, git repo can be used when http/s proxy is set: openshift v3.4.1.0 kubernetes v1.4.0+776c994 etcd 3.1.0-rc.0 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://access.redhat.com/errata/RHBA-2017:0218 |