Bug 1796624

Summary: Allow IPv6 CIDRs to be used in install-config
Product: OpenShift Container Platform Reporter: Russell Bryant <rbryant>
Component: InstallerAssignee: Abhinav Dahiya <adahiya>
Installer sub component: openshift-installer QA Contact: Marius Cornea <mcornea>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: adahiya, jialiu
Version: 4.4   
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1796618 Environment:
Last Closed: 2020-05-04 11:28:24 UTC Type: ---
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: 1796618    

Description Russell Bryant 2020-01-30 19:23:07 UTC
+++ This bug was initially created as a clone of Bug #1796618 +++

Currently, IPv6 CIDRs are rejected during install-config validation.  This was changed in master/4.4 via https://github.com/openshift/installer/pull/2829

--- Additional comment from Russell Bryant on 2020-01-30 19:20:43 UTC ---

See https://github.com/openshift/installer/pull/3029

Comment 1 Marius Cornea 2020-01-30 21:08:37 UTC
[kni@provisionhost-0 ~]$ ./openshift-install version
./openshift-install 4.4.0-0.nightly-2020-01-30-151839
built from commit e1a6a984b73a818a48f800eecc05ebbc526fc5b9
release image registry.svc.ci.openshift.org/ocp/release@sha256:2fa4b297afad92596ccb5a3c433e40c6f978908839c14c383a790540e3fc91b9


[kni@provisionhost-0 ~]$ python3.6 -c "import yaml, sys; print(yaml.safe_load(sys.stdin).get('networking'))" < testconfig/install-config.yaml
{'networkType': 'OVNKubernetes', 'machineCIDR': 'fd2e:6f44:5dd8:c956::/64', 'clusterNetwork': [{'cidr': 'fd01::/48', 'hostPrefix': 64}], 'serviceNetwork': ['fd02::/112']}


[kni@provisionhost-0 ~]$ ./openshift-install --dir testconfig create ignition-configs
INFO Consuming Install Config from target directory 
WARNING Making control-plane schedulable by setting MastersSchedulable to true for Scheduler cluster settings 

[kni@provisionhost-0 ~]$ ls -lah testconfig/
total 1.7M
drwxrwxr-x. 3 kni kni  163 Jan 30 21:05 .
drwx------. 9 kni kni 4.0K Jan 30 20:43 ..
drwxr-x---. 2 kni kni   50 Jan 30 21:05 auth
-rw-r-----. 1 kni kni 315K Jan 30 21:05 bootstrap.ign
-rw-r-----. 1 kni kni 1.8K Jan 30 21:05 master.ign
-rw-r-----. 1 kni kni  217 Jan 30 21:05 metadata.json
-rw-rw-r--. 1 kni kni  54K Jan 30 21:05 .openshift_install.log
-rw-r-----. 1 kni kni 1.3M Jan 30 21:05 .openshift_install_state.json
-rw-r-----. 1 kni kni 1.8K Jan 30 21:05 worker.ign

Comment 3 errata-xmlrpc 2020-05-04 11:28:24 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