OpenShift 4 AWS installation fails due to machineNetwork CIDR

Solution Verified - Updated -

Issue

  • Deploying OpenShift 4 cluster on AWS using existing VPC fails due to invalid machineNetwork CIDR.
Invalid value: "subnet-07a7d790586ccd1d8": subnet's CIDR range start 10.69.1x.x is outside of the specified machine networks, 
platform.aws.subnets[1]: Invalid value: "subnet-0babad72exxxxxxxx": subnet's CIDR range start 10.69.1x.3x is outside of the specified machine networks, 
platform.aws.subnets[2]: Invalid value: "subnet-02fab648fxxxxxxxx": subnet's CIDR range start 10.69.1x.6x is outside of the specified machine networks, 
platform.aws.subnets[4]: Invalid value: "subnet-0db752d68xxxxxxxx": subnet's CIDR range start 10.69.1x.1x is outside of the specified machine networks, 
platform.aws.subnets[5]: Invalid value: "subnet-01e42f275xxxxxxxx": subnet's CIDR range start 10.69.1x.16x isoutside of the specified machine networks, 
platform.aws.subnets[3]: Invalid value: "subnet-0e157656dxxxxxxxx": subnet's CIDR range start 10.69.1x.9x is outside of the specified machine networks]

Environment

  • Red Hat OpenShift Container Platform (OCP)
    • 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content