Bug 1954595
Summary: | Machine config operator degraded in a freshly installed 4.7 cluster | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | agudi |
Component: | Installer | Assignee: | Aditya Narayanaswamy <anarayan> |
Installer sub component: | openshift-installer | QA Contact: | Gaoyun Pei <gpei> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | anarayan, apjagtap, cswanson, ddelcian, jerzhang, mstaeble, nm-s, openshift-bugzilla-robot, rsandu, simore, zzlotnik |
Version: | 4.7 | ||
Target Milestone: | --- | ||
Target Release: | 4.7.z | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
The MCO was in degraded state which was due to the fact that the installer created an out-of-order noProxy values due to spaces being allowed in the string passed for noProxy.
Adding a fix to remove allowing spaces in the input to sort the values in order and fix the issue.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-08-17 12:12: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: | |||
Bug Depends On: | 1873649 | ||
Bug Blocks: |
Comment 17
Aditya Narayanaswamy
2021-07-07 14:46:50 UTC
Needs cherry-pick from 4.8. Verify this bug on nightly payload 4.7.0-0.nightly-2021-08-04-234545. With the following proxy parameters set in install-config.yaml proxy: httpProxy: http://test:test@PROXY_PLACEHOLDER:3128 httpsProxy: http://test:test@PROXY_PLACEHOLDER:3128 noProxy: test.no-proxy.com Generate manifests file, check the proxy manifest, noProxy list was generated in expected order. # cat cluster-proxy-01-config.yaml apiVersion: config.openshift.io/v1 kind: Proxy metadata: creationTimestamp: null name: cluster spec: httpProxy: http://test:test@PROXY_PLACEHOLDER:3128 httpsProxy: http://test:test@PROXY_PLACEHOLDER:3128 noProxy: test.no-proxy.com trustedCA: name: "" status: httpProxy: http://test:test@PROXY_PLACEHOLDER:3128 httpsProxy: http://test:test@PROXY_PLACEHOLDER:3128 noProxy: .cluster.local,.svc,.us-east-2.compute.internal,10.0.0.0/16,10.128.0.0/14,127.0.0.1,169.254.169.254,172.30.0.0/16,api-int.gpei-086.qe.devcluster.openshift.com,localhost,test.no-proxy.com Setup the cluster, check the noProxy on bootstrap and in-cluster noProxy value. [root@ip-10-0-14-145 profile.d]# cat proxy.sh ... export NO_PROXY=".cluster.local,.svc,.us-east-2.compute.internal,10.0.0.0/16,10.128.0.0/14,127.0.0.1,169.254.169.254,172.30.0.0/16,api-int.gpei-086.qe.devcluster.openshift.com,localhost,test.no-proxy.com" # oc get proxy cluster -o yaml apiVersion: config.openshift.io/v1 kind: Proxy metadata: ... status: ... noProxy: .cluster.local,.svc,.us-east-2.compute.internal,10.0.0.0/16,10.128.0.0/14,127.0.0.1,169.254.169.254,172.30.0.0/16,api-int.gpei-086.qe.devcluster.openshift.com,localhost,test.no-proxy.com 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.7.24 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. https://access.redhat.com/errata/RHBA-2021:3032 |