OpenShift on OpenStack IPI installation fails with misconfigured install-config file

Solution Verified - Updated -


  • The install-config is consumed but fails to create cluster with the below error.
DEBUG Refreshing state... 
ERROR Error: Error in function call                
ERROR   on ../../../tmp/openshift-install-919345938/topology/ line 37, in resource "openstack_networking_subnet_v2" "nodes": 
ERROR   37:     end   = cidrhost(local.nodes_cidr_block, 16000) 
ERROR     |----------------                        
ERROR     | local.nodes_cidr_block is "" 
ERROR Call to function "cidrhost" failed: prefix of 24 does not accommodate a host 
ERROR numbered 16000.                              
ERROR Failed to read tfstate: open /tmp/openshift-install-919345938/terraform.tfstate: no such file or directory 
FATAL failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to apply Terraform: failed to complete the change 


  • Red Hat OpenShift Container Platform
    • 4.5
  • Red Hat OpenStack Platform
    • 13

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In