Bug 1932789
Summary: | Proxy with port is unable to be validated if it overlaps with service/cluster network | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Yang Yang <yanyang> |
Component: | Installer | Assignee: | Aditya Narayanaswamy <anarayan> |
Installer sub component: | openshift-installer | QA Contact: | Yang Yang <yanyang> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | mstaeble, tsze |
Version: | 4.8 | ||
Target Milestone: | --- | ||
Target Release: | 4.8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
When the port number is specified, the validation that whether
the given proxy value overlaps with the cluster or service
networks is not done due to the port number not being a valid
value for the parseIP function used for converting string to
a valid IP.
Adding a fix to make sure that the port number part of the input
is removed before it is converted
to a vaild IP.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-07-27 22:48: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: |
Description
Yang Yang
2021-02-25 09:26:10 UTC
Verified with 4.8.0-0.nightly-2021-03-01-031258 1. Create manifests with a install-config.yaml which contains below content: 18 proxy: 19 httpProxy: http://user:password@172.30.1.25:3128 <---overlaps with service network 20 httpsProxy: https://user:password@10.128.1.25:3128 <---overlaps with cluster network 21 noProxy: test.no-proxy.com,localhost 22 networking: 23 clusterNetwork: 24 - cidr: 10.128.0.0/14 25 hostPrefix: 23 26 machineNetwork: 27 - cidr: 10.0.0.0/16 28 networkType: OpenShiftSDN 29 serviceNetwork: 30 - 172.30.0.0/16 # openshift-install create manifests --dir bz FATAL failed to fetch Master Machines: failed to load asset "Install Config": invalid "install-config.yaml" file: [proxy.httpProxy: Invalid value: "http://user:password@172.30.1.25:3128": proxy value is part of the service networks, proxy.httpsProxy: Invalid value: "https://user:password@10.128.1.25:3128": proxy value is part of the cluster networks] The validation works on the proxy with port specified. Moving it to verified state. 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security 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/RHSA-2021:2438 |