Bug 1877486
Summary: | NoProxy in install-config.yaml doesn't accept '*' | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Moti Asayag <masayag> |
Component: | Installer | Assignee: | Abhinav Dahiya <adahiya> |
Installer sub component: | openshift-installer | QA Contact: | Gaoyun Pei <gpei> |
Status: | CLOSED NOTABUG | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | adahiya, tsze, vemporop, yanyang |
Version: | 4.5 | Keywords: | Reopened |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: Installer did not accept `*` as a valid value for proxy.noProxy field
Consequence: Users cannot create a cluster with no proxy set to `*` during installation.
Fix: Installer now allows `*` as a valid value
Result: Users can create a cluster with no proxy set to `*` during installation.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-04-08 12:03:13 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: | |||
Bug Blocks: | 1877866 |
Description
Moti Asayag
2020-09-09 17:55:31 UTC
seems like proxies.config.openshift.io/v1 object support this wildcard, so i think the installer can also support this. see https://github.com/openshift/cluster-network-operator/blob/899cff815b2611100eee370cc8e0cdf9b736e1b9/pkg/controller/proxyconfig/validation.go#L64 Reproduced this issue with payload 4.6.0-0.nightly-2020-09-17-195238, noProxy: '*' is not accepted by the installer. Example install-config.yaml: proxy: httpProxy: http://xxx.xx:3128 noProxy: "*" ++ ./openshift-install create manifests --dir '/home/jenkins/workspace/Launch Environment Flexy/workdir/install-dir' level=fatal msg="failed to fetch Master Machines: failed to load asset \"Install Config\": invalid \"install-config.yaml\" file: NoProxy: Invalid value: \"*\": must be a CIDR or domain, without wildcard characters" And on payload 4.6.0-0.nightly-2020-09-20-022022, it accepted '*' now. # oc get proxy cluster -o yaml apiVersion: config.openshift.io/v1 kind: Proxy ... spec: httpProxy: http://xx.xx:3128 noProxy: '*' trustedCA: name: "" status: httpProxy: http://xx.xx:3128 noProxy: '*' 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 This issue has re-surfaced in 4.7.5 (quay.io/openshift-release-dev/ocp-release:4.7.5-x86_64), was definitely not present in 4.7.2. See also https://bugzilla.redhat.com/show_bug.cgi?id=1947066 Maybe the fix was reverted for some reason, although * seems to be a valid value. I'm very sorry, it was my mistake. Closing |