Bug 1872629 - Cluster with small block of IP addrresses - range of machineCIDR
Summary: Cluster with small block of IP addrresses - range of machineCIDR
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.5
Hardware: All
OS: All
Target Milestone: ---
: 4.5.z
Assignee: Martin André
QA Contact: David Sanz
Depends On: 1871048
TreeView+ depends on / blocked
Reported: 2020-08-26 09:08 UTC by OpenShift BugZilla Robot
Modified: 2020-09-21 17:42 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: A value of 16000 nodes was set when calculating the end of DHCP allocation pool when provisioning the nodes subnet. Consequence: deploying OpenShift on OpenStack platform with a machine CIDR smaller than /18 resulted in an error. Fix: stop hardcoding the number of nodes and instead dynamically calculate the end of DHCP allocation pool. Result: it is now possible to deploy OpenShift on OpenStack with machine CIDR of any length, provided it is large enough to for all needed nodes.
Clone Of:
Last Closed: 2020-09-21 17:42:06 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift installer pull 4094 0 None closed [release-4.5] Bug 1872629: OpenStack: dynamically set end of DHCP allocation pool 2020-09-25 14:59:33 UTC
Red Hat Product Errata RHBA-2020:3719 0 None None None 2020-09-21 17:42:21 UTC

Comment 4 David Sanz 2020-09-14 09:12:15 UTC
Verified on 4.5.0-0.nightly-2020-09-14-030924

[core@mrnd-13-45-rm5j6-bootstrap ~]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000
    link/ether fa:16:3e:b4:33:16 brd ff:ff:ff:ff:ff:ff
    inet brd scope global dynamic noprefixroute ens3
       valid_lft 86194sec preferred_lft 86194sec
    inet scope global secondary ens3
       valid_lft forever preferred_lft forever
    inet scope global secondary ens3
       valid_lft forever preferred_lft forever
    inet6 fe80::242e:3a21:c812:5b31/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
[core@mrnd-13-45-rm5j6-bootstrap ~]$

Comment 6 errata-xmlrpc 2020-09-21 17:42:06 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 (OpenShift Container Platform 4.5.11 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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