Bug 1948538 - get-resources.sh doesn't honor the no_proxy settings
Summary: get-resources.sh doesn't honor the no_proxy settings
Status: POST
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Bare Metal Hardware Provisioning
Version: 4.7
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.7.z
Assignee: Riccardo Pittau
QA Contact: Victor Voronkov
Depends On: 1948513
Blocks: 1963212
TreeView+ depends on / blocked
Reported: 2021-04-12 11:56 UTC by OpenShift BugZilla Robot
Modified: 2022-06-24 06:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift ironic-rhcos-downloader pull 77 0 None open Bug 1948538: Clear proxy env variables if go would have 2022-06-24 06:47:01 UTC

Description OpenShift BugZilla Robot 2021-04-12 11:56:06 UTC
+++ This bug was initially created as a clone of Bug #1948513 +++

Description of problem:

In proxy environments, it is always needed to use the http_proxy, https_proxy and the no_proxy variable, otherwise if you want to reach internal resources you will be using the proxy which may not work.

The get-resources.sh script doesn't contain the no_proxy var.

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

How reproducible:
Deploy a cluster with proxy settings and serving the ipa and rhcos images in a local http server with no proxy in the middle

Steps to Reproduce:

Actual results:
The script tries to curl the images using the proxy and times out

Expected results:
The script is aware of the no_proxy variable and it downloads the images properly

Additional info:

Comment 1 Victor Voronkov 2021-06-15 05:46:48 UTC
Original https://bugzilla.redhat.com/show_bug.cgi?id=1948513 was verified, please proceed with backport

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