Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1786016

Summary: AWS subnet prefix is ​​created with 4 added to the CIDR of the VPC when installing a cluster on AWS using IPI.
Product: OpenShift Container Platform Reporter: ryoji noma <rnoma>
Component: InstallerAssignee: Abhinav Dahiya <adahiya>
Installer sub component: openshift-installer QA Contact: Johnny Liu <jialiu>
Status: CLOSED NOTABUG Docs Contact:
Severity: medium    
Priority: unspecified Keywords: SupportQuestion
Version: 4.2.z   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-23 13:17:13 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 ryoji noma 2019-12-23 06:01:30 UTC
Description of problem:
When installing a cluster on AWS using IPI, the VPC CIDR is created with machine CIDR. And subnet prefixes are ​​created with 4 added to the CIDR of the VPC. But there aren't document about subnet prefix. Is this behavior intended?
 
Version-Release number of selected component (if applicable):
openshift4.2
 
How reproducible:
Steps to Reproduce:
1.edit machineCIDR of install-cinfig.yaml.
ex) 10.105.0.0/20
2. ./openshift-install create cluster
3.confirm the prefix of the private and public subnet.
 
Actual results:
CIDR of private and public subnet is created as 10.105.X.0/24.
If edit machineCIDR to 10.105.0.0/16, CIDR of the private and public subnet are created as 10.105.X.0/20.
If edit machineCIDR to 10.105.0.0/19, CIDR of the private and public subnet are created as 10.105.X.0/23.
Is it the intended behavior? I couldn't find any documentation about this behavior.

Comment 1 Scott Dodson 2019-12-23 13:17:13 UTC
Yes, that's correct, each zone gets its own subnet therefore we need to subdivide the machineCIDR to allocate them.