Bug 1788676

Summary: Imagestreams cannot be imported on an IPv6 AWS cluster because registry.redhat.io is not IPv6 enabled
Product: OpenShift Container Platform Reporter: Marius Cornea <mcornea>
Component: SamplesAssignee: Gabe Montero <gmontero>
Status: CLOSED ERRATA QA Contact: XiuJuan Wang <xiuwang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.3.zCC: adam.kaplan, augol, bparees, eparis, gmontero, xiuwang, yprokule
Target Milestone: ---Flags: xiuwang: needinfo-
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: Since registry.redhat.io did not support IPv6, samples operator should not attempt to install imagestreams since our samples are all hosted on registry.redhat.io Reason: IPv6 is a key initiative for OpenShift and Red Hat Result: samples operator will not break installs of OpenShift on IPv6
Story Points: ---
Clone Of:
: 1798573 (view as bug list) Environment:
Last Closed: 2020-05-04 11:23:07 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: 1771572, 1798573    

Description Marius Cornea 2020-01-07 18:59:40 UTC
Description of problem:
Imagestreams cannot be imported on an IPv6 AWS cluster because registry.redhat.io is not IPv6 enabled:

oc -n openshift-cluster-samples-operator logs cluster-samples-operator-646866ccd9-d2l9t -c cluster-samples-operator:

[...]
time="2020-01-07T18:51:39Z" level=warning msg="Image import for imagestream ruby tag 2.3 generation 2 failed with detailed message Internal error occurred: registry.redhat.io/rhscl/ruby-23-rhel7:latest: Get https://registry.redhat.io/v2/: dial tcp 104.110.213.106:443: connect: network is unreachable"
time="2020-01-07T18:51:39Z" level=warning msg="Image import for imagestream ruby tag 2.4 generation 2 failed with detailed message Internal error occurred: registry.redhat.io/rhscl/ruby-24-rhel7:latest: Get https://registry.redhat.io/v2/: dial tcp 104.110.213.106:443: connect: network is unreachable"
time="2020-01-07T18:51:39Z" level=warning msg="Image import for imagestream ruby tag 2.5 generation 2 failed with detailed message Internal error occurred: registry.redhat.io/rhscl/ruby-25-rhel7:latest: Get https://registry.redhat.io/v2/: dial tcp 104.110.213.106:443: connect: network is unreachable"

Version-Release number of selected component (if applicable):
4.3.0-0.nightly-2020-01-06-101556-ipv6.1

How reproducible:
100%

Steps to Reproduce:
1. Deploy an IPv6 cluster on AWS
2. Check if sample imagestreams got imported successfully:
oc -n openshift-cluster-samples-operator logs cluster-samples-operator-646866ccd9-d2l9t -c cluster-samples-operator

Actual results:
Errors caused because registry.redhat.io is not reachable(it only resolves to an IPv4 address, not IPv6).

Expected results:
Default sample imagestreams get imported successfully.

Additional info:

Comment 10 errata-xmlrpc 2020-05-04 11:23:07 UTC
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, 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:0581