Bug 1796624 - Allow IPv6 CIDRs to be used in install-config
Summary: Allow IPv6 CIDRs to be used in install-config
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.4.0
Assignee: Abhinav Dahiya
QA Contact: Marius Cornea
URL:
Whiteboard:
Depends On:
Blocks: 1796618
TreeView+ depends on / blocked
 
Reported: 2020-01-30 19:23 UTC by Russell Bryant
Modified: 2020-05-04 11:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1796618
Environment:
Last Closed: 2020-05-04 11:28:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:0581 0 None None None 2020-05-04 11:28:48 UTC

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


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