Bug 1780125
Summary: | no_proxy system property incorrectly generated | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Akram Ben Aissi <abenaiss> |
Component: | Jenkins | Assignee: | jawed <jkhelil> |
Status: | CLOSED ERRATA | QA Contact: | XiuJuan Wang <xiuwang> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.3.z | CC: | aos-bugs, pbhattac, vbobade, wewang, xiuwang |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | 4.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1776760 | Environment: | |
Last Closed: | 2020-10-27 15:54:20 UTC | Type: | --- |
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: | 1776760 | ||
Bug Blocks: |
Comment 2
XiuJuan Wang
2020-01-19 07:07:57 UTC
This is not a bug actually, but it requires documentation update. Moving it to 4.5 as it is not a blocker. TO BE ADDED TO DOCUMENTATION we have done some tests with it today and gathered information for the MCO team. They said they will not support and they will not implement propagation of http_proxy configuration from cluster-wide proxy configuration to user applications. So, for make this to work, you need to setup http_proxy, https_proxy and no_proxy in your deployment config to make it work. We have done it using the following command: ``` oc set env dc/jenkins http_proxy=$(oc get proxy cluster -o jsonpath='{.status.httpProxy}') \ https_proxy=$(oc get proxy cluster -o jsonpath='{.status.httpsProxy}') \ no_proxy=$(oc get proxy cluster -o jsonpath='{.status.noProxy}') ``` So, we will update the documentation and link it to this BZ. Could you please confirm that setting the environment variables works? and if yes, do not mark this issue as a blocker, as it will be documentation only. no_proxy should be set like this oc set env dc/jenkins no_proxy=".svc,*.svc.cluster.*,*.svc.cluster.local,172.30.*,kubernetes.default,10.0.*" and not from this oc set env dc/jenkins no_proxy=$(oc get proxy cluster -o jsonpath='{.status.noProxy}') Pending on 4.6 proxy cluster installtaion. When qe gets a proxy cluster, will verify this bug. Could access jenkins webconsole after set env like below. $oc set env dc/jenkins http_proxy=$(oc get proxy cluster -o jsonpath='{.status.httpProxy}') \ https_proxy=$(oc get proxy cluster -o jsonpath='{.status.httpsProxy}') \ no_proxy=".svc,*.svc.cluster.*,*.svc.cluster.local,172.30.*,kubernetes.default,10.0.*" Verified on 4.6.0-0.nightly-2020-07-13-22420 proxy cluster 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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196 |