Bug 1982683 - [4.8.z] CVO doesn't honor noProxy while contacting Cincinnati endpoint
Summary: [4.8.z] CVO doesn't honor noProxy while contacting Cincinnati endpoint
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.8.z
Assignee: W. Trevor King
QA Contact: liujia
Depends On: 1978749
Blocks: 2030628
TreeView+ depends on / blocked
Reported: 2021-07-15 12:21 UTC by Pablo Alonso Rodriguez
Modified: 2021-12-09 10:27 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1978749
: 2030628 (view as bug list)
Last Closed: 2021-12-07 06:38:42 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift cluster-version-operator pull 691 0 None Merged Bug 1982683: [release-4.8] Respect noProxy 2022-04-11 16:51:48 UTC
Red Hat Product Errata RHBA-2021:4881 0 None None None 2021-12-07 06:39:04 UTC

Comment 3 liujia 2021-11-23 08:24:22 UTC
Build a release image with openshift/cluster-version-operator#691, and checked with registry.build01.ci.openshift.org/ci-ln-gxg18nb/release:latest.

1. Trigger a connected cluster installation with following proxy setting in install-config.yaml

    httpProxy: http://proxy-user1:xxx@xxx
    httpsProxy: http://proxy-user1:xxx@xxx
    noProxy: test.no-proxy.com,api.openshift.com
2. Add api.openshift.com to blocklist in proxy conf
3. CVO can access api.openshift.com with Noproxy setting(expected)

# ./oc adm upgrade
Cluster version is 0.0.1-0.test-2021-11-23-025025-ci-ln-gxg18nb-latest

warning: Cannot display available updates:
  Reason: VersionNotFound
  Message: Unable to retrieve available updates: currently reconciling cluster version 0.0.1-0.test-2021-11-23-025025-ci-ln-gxg18nb-latest not found in the "stable-4.8" channel

# ./oc get proxy cluster -oyaml|grep api.openshift.com
  noProxy: test.no-proxy.com,api.openshift.com
  noProxy: .cluster.local,.svc,.us-east-2.compute.internal,,,,,,api-int.jliu-verify.qe.devcluster.openshift.com,api.openshift.com,localhost,test.no-proxy.com

Comment 8 errata-xmlrpc 2021-12-07 06:38:42 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.8.23 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.