You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The openshift installer fails to lint the install config before generating terraform manifests. This leads to a condition where incorrect manifests will be generated which will fail if an attempt is made to use them.
[bharrington@leviathan OPENSHIFT.lVLL]$ ls -ltotal 244756-rw-r--r--. 2 bharrington bharrington 1656 Jan 8 13:15 install-config.yaml-rwxrwxr-x. 3 bharrington bharrington 250621547 Jan 7 13:14 openshift-install-linux-amd64[bharrington@leviathan OPENSHIFT.lVLL]$ AWS_PROFILE=product-installer ./openshift-install-linux-amd64 create manifests INFO Consuming "Install Config" from target directory [bharrington@leviathan OPENSHIFT.lVLL]$ ls -ltotal 244760drwxr-xr-x. 2 bharrington bharrington 4096 Jan 8 13:20 manifestsdrwxr-xr-x. 2 bharrington bharrington 4096 Jan 8 13:21 openshift-rwxrwxr-x. 3 bharrington bharrington 250621547 Jan 7 13:14 openshift-install-linux-amd64[bharrington@leviathan OPENSHIFT.lVLL]$ AWS_PROFILE=product-installer ./openshift-install-linux-amd64 create cluster WARNING Discarding the "Common Manifests" that was provided in the target directory because its dependencies are dirty and it needs to be regenerated WARNING Discarding the "Openshift Manifests" that was provided in the target directory because its dependencies are dirty and it needs to be regenerated INFO Consuming "Network Config" from target directory INFO Consuming "Common Manifests" from target directory INFO Consuming "Ingress Config" from target directory INFO Consuming "Openshift Manifests" from target directory INFO Consuming "DNS Config" from target directory INFO Creating cluster... ERROR ERROR Error: module.vpc.aws_vpc.new_vpc: expected cidr_block to contain a valid network CIDR, expected 192.168.128.0/20, got 192.168.132.0/20 ERROR ERROR ERROR Failed to read tfstate: open /tmp/openshift-install-384405890/terraform.tfstate: no such file or directory FATAL failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to apply using Terraform
What you expected to happen?
How to reproduce it (as minimally and precisely as possible)?
Attempt to perform a create manifests with the following install-config.yaml, then perform a create cluster.
Version
Platform (aws|libvirt|openstack):
aws
What happened?
The openshift installer fails to lint the install config before generating terraform manifests. This leads to a condition where incorrect manifests will be generated which will fail if an attempt is made to use them.
What you expected to happen?
How to reproduce it (as minimally and precisely as possible)?
Attempt to perform a
create manifests
with the followinginstall-config.yaml
, then perform acreate cluster
.Related to:
The text was updated successfully, but these errors were encountered: