Bug 2005498

Summary: [operator] SNO dualstack spoke requires IPv4 RHCOS image host to boot successfully from discovery iso
Product: Red Hat Advanced Cluster Management for Kubernetes Reporter: Chad Crum <ccrum>
Component: Infrastructure OperatorAssignee: Mat Kowalski <mko>
Status: CLOSED DUPLICATE QA Contact: Chad Crum <ccrum>
Severity: high Docs Contact: Derek <dcadzow>
Priority: high    
Version: rhacm-2.4CC: aos-bugs, ccrum, fpercoco, mfilanov, mko, trwest, yfirst
Target Milestone: ---   
Target Release: rhacm-2.5   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-11 13:16:48 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 Chad Crum 2021-09-17 19:37:01 UTC
Description of problem:
Attempting to boot a SNO dualstack spoke cluster from a discovery ISO fails if the mirrored RHCOS image host is IPv6 fails. The cluster acquires in IPv4 address initially upon discovery ISO boot and then tries to retrieve the RHCOS images - It does not acquire an IPv6 address until after the images are retrieved, so it is stuck if the RHCOS image host is ipv6 as the cluster will only have an IPv4 address.

Version-Release number of selected component (if applicable):
Master assisted service index git_revision: 34c986435c1e85776b2bcb0544eab2e6e77a2c2b

Hub and spoke = 4.9.0-rc.0

Disconnected IPv6 hub cluster, IPv6 RHCOS image host, dualstack SNO cluster.

How reproducible:
100%

Steps to Reproduce:
1. Deploy dualstack SNO cluster using CRDs/kubeapi with Assisted Service
2. Check spoke cluster console

Actual results:
Console will show spoke cluster failing to reach rhcos live iso url

Expected results:
Spoke cluster can reach rhcos live iso url 


Additional info:

Comment 3 Flavio Percoco 2021-10-07 08:56:40 UTC
@mkowalsk looked into this a bit and it does sound like a valid use case. It looks like we may not be waiting long enough for all the interfaces to get their IP from dhcp before we attempt to download the rhcos image. Maybe something in the initrd that needs to be tweaked.

Comment 4 Mat Kowalski 2021-10-07 09:17:27 UTC
That's correct. Without investigating deeper it looks to me like a valid use-case.

Comment 7 Flavio Percoco 2021-10-11 13:16:48 UTC

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