Bug 1868579

Summary: Proxy values are set to null if proxy CA is in used for deployments in openshift-marketplace namespace
Product: OpenShift Container Platform Reporter: Praveen Kumar <prkumar>
Component: OLMAssignee: Evan Cordell <ecordell>
OLM sub component: OLM QA Contact: Jian Zhang <jiazha>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: cfergeau, krizza
Version: 4.5Keywords: UpcomingSprint
Target Milestone: ---   
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: Environment:
Last Closed: 2020-10-27 16:28:09 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:

Description Praveen Kumar 2020-08-13 07:59:15 UTC
Description of problem: If we use the proxy with the CA then it is not propagated properly for all the deployments which are part of openshift-marketplace except `marketplace-operator` deployment.


Version-Release number of selected component (if applicable):
4.5.5


Steps to Reproduce:
- Get an existing single node openshift cluster
- Set proxy with CA as mentioned in the doc ( https://docs.openshift.com/container-platform/4.5/networking/enable-cluster-wide-proxy.html#nw-proxy-configure-object_config-cluster-wide-proxy)
- Wait till all operator become ready and then check the deployments or marketplace namespace.

Actual results:
$ oc set env deployment redhat-operators --list -n openshift-marketplace
# deployments/redhat-operators, container redhat-operators
HTTP_PROXY=
HTTPS_PROXY=
NO_PROXY=


Expected results:
$ oc set env deployment redhat-operators --list -n openshift-marketplace
HTTP_PROXY=http://192.168.130.1:3128
HTTPS_PROXY=http://192.168.130.1:3128
NO_PROXY=.cluster.local,.svc,.testing,10.116.0.0/14,127.0.0.1,172.25.0.0/16,192.168.126.0/24,192.168.130.11,api-int.crc.testing,etcd-0.crc.testing,localhost

Additional info:
Must gather logs uploaded to https://www.dropbox.com/s/6ell59y4yknk4as/must-gather.local.2344800738739469692.tar.gz?dl=0

Comment 1 Kevin Rizza 2020-08-20 19:28:32 UTC
Still needs to be triaged, marking for upcoming sprint.


This will not be an issue in 4.6 as the operator source controller was removed. Could be a legitimate issue in 4.5, so we will need to verify this in 4.6 and then create a corresponding 4.5.z bugzilla to verify and potentially create a fix.

Comment 2 Jian Zhang 2020-08-21 00:53:51 UTC
Ok, verify it for 4.6 since there is no operator source in it.

Comment 4 Praveen Kumar 2020-09-09 02:39:36 UTC
Did we create the corresponding bug for 4.5 side yet?

Comment 6 errata-xmlrpc 2020-10-27 16:28:09 UTC
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