Bug 1491570 - no proxy during image pull test
Summary: no proxy during image pull test
Keywords:
Status: CLOSED DUPLICATE of bug 1499358
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 3.7.z
Assignee: Luke Meyer
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-14 07:43 UTC by Kim Borup
Modified: 2018-01-24 21:52 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-24 21:52:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1480195 0 high CLOSED docker_image_availability check fails in disconnected environment 2021-02-22 00:41:40 UTC
Red Hat Knowledge Base (Solution) 3173341 0 None None None 2018-01-18 19:44:13 UTC

Internal Links: 1480195

Description Kim Borup 2017-09-14 07:43:15 UTC
Description of problem:

During installation a check is made for docker images, however if you have to use a proxy this test will fail on skopeo as proxy, are not set before the check. causing the skopeo to time out. 

openshift_disable_check docker_image_availability can be set to disable the check, however checking should support the use of proxy. 


How reproducible:
All the time

Steps to Reproduce:
1. Have servers behind proxy.
2. Setup proxy settings in inventory file. 
3. Install 

Actual results:

Availability check failed, failed to check images. 
docker-registry / etc / ... 

Expected results:

Continue to install. 

Additional info:

Checking the first server where the installer hangs, you can see it testing with skopeo --tls-verify=false docker://registry.access.redhat.com.... this check does not take the proxy settings from the docker daemon, and neither does it take other proxy settings. 

Two ways to overcome this.. 

1. Set proxy settings in the profile on all servers. 

2. Make install script set proxy settings before running the check. 


I dont have a way of uploading logs from this customer i am at.

Comment 1 Luke Meyer 2017-09-14 19:11:25 UTC
This is a separate bug for the problem noted in https://bugzilla.redhat.com/show_bug.cgi?id=1480195#c6

Comment 2 Luke Meyer 2018-01-15 18:06:00 UTC
https://github.com/openshift/openshift-ansible/pull/6716 addresses this for 3.9. Once that is approved I'll look into backports for 3.7 and 3.6 and/or adjust the release version here.

Comment 3 Luke Meyer 2018-01-24 21:52:19 UTC
Fixes for this are going into master and 3.7. https://bugzilla.redhat.com/show_bug.cgi?id=1499358 tracks that.

Backporting to 3.6 would be a little more tricky at this point.

*** This bug has been marked as a duplicate of bug 1499358 ***


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