In the gcp with http proxy cluster 4.4.0-0.nightly-2020-01-17-032851 Could access jenkins webconsole, but there are some error in pod log, http://pastebin.test.redhat.com/828241 And in aws with proxy cluster, 4.4.0-0.nightly-2020-01-17-032851 Can't access jenkins webconsole, with the similar error http://pastebin.test.redhat.com/828250
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