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
# Issue is present in both of the following versions:
$ openshift-install versionopenshift-install v0.12.0
$ bin/openshift-install versionbin/openshift-install unreleased-master-248-g08afe7edc9729494966b4a43804e44a96a464803
Platform (aws|libvirt|openstack):
aws
What happened?
I run the create cluster command and I expect a cluster to be created. Instead I get:
INFO Creating cluster... *****************************************************************************************************************ERROR ****************************************************************************************************************ERROR Error: Error applying plan:
ERROR
ERROR 2 errors occurred:
ERROR * module.vpc.aws_subnet.worker_subnet[0]: 1 error occurred:
ERROR * aws_subnet.worker_subnet.0: Error creating subnet: InvalidParameterValue: Value (us-west-1a) for parameter availabilityZone is invalid. Subnets can currently only be created in the following availability zones: us-west-1c, us-west-1b.
ERROR status code: 400, request id: 224016d1-34fb-4c2a-aa22-ac10c8aadda6
ERROR
ERROR
ERROR * module.vpc.aws_subnet.master_subnet[0]: 1 error occurred:
ERROR * aws_subnet.master_subnet.0: Error creating subnet: InvalidParameterValue: Value (us-west-1a) for parameter availabilityZone is invalid. Subnets can currently only be created in the following availability zones: us-west-1c, us-west-1b.
ERROR status code: 400, request id: 5c1db52a-fce0-4bb1-b79c-4c3eae8c2de0
ERROR
ERROR
ERROR
ERROR
ERROR
ERROR Terraform does not automatically rollback in the face of errors.
ERROR Instead, your Terraform state file has been partially updated with
ERROR any resources that successfully completed. Please address the error
ERROR above and apply again to incrementally change your infrastructure.
ERROR
ERROR
FATAL failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to apply using Terraform
Install log:
...
time="2019-02-07T15:06:11-08:00" level=error msg="Error: Error applying plan:"
time="2019-02-07T15:06:11-08:00" level=error
time="2019-02-07T15:06:11-08:00" level=error msg="2 errors occurred:"
time="2019-02-07T15:06:11-08:00" level=error msg="\t* module.vpc.aws_subnet.worker_subnet[0]: 1 error occurred:"
time="2019-02-07T15:06:11-08:00" level=error msg="\t* aws_subnet.worker_subnet.0: Error creating subnet: InvalidParameterValue: Value (us-west-1a) for parameter availabilityZone is invalid. Subnets can currently only be created in the following availability zones: us-west-1c, us-west-1b."
time="2019-02-07T15:06:11-08:00" level=error msg="\tstatus code: 400, request id: 224016d1-34fb-4c2a-aa22-ac10c8aadda6"
time="2019-02-07T15:06:11-08:00" level=error
time="2019-02-07T15:06:11-08:00" level=error
time="2019-02-07T15:06:11-08:00" level=error msg="\t* module.vpc.aws_subnet.master_subnet[0]: 1 error occurred:"
time="2019-02-07T15:06:11-08:00" level=error msg="\t* aws_subnet.master_subnet.0: Error creating subnet: InvalidParameterValue: Value (us-west-1a) for parameter availabilityZone is invalid. Subnets can currently only be created in the following availability zones: us-west-1c, us-west-1b."
time="2019-02-07T15:06:11-08:00" level=error msg="\tstatus code: 400, request id: 5c1db52a-fce0-4bb1-b79c-4c3eae8c2de0"
...
What you expected to happen?
A cluster to be created.
How to reproduce it (as minimally and precisely as possible)?
Install the openshift-installer bin (either version as described above).
$ cat ~/.aws/config
[default]
output = json
region = us-west-1
Run openshift-install create cluster and observe the error as described above.
Anything else we need to know?
The install fails because us-west-1a does not support the VPC "subnets" feature. According to the AWS Install Guide, "Nodes are spread equally across 3 availability zones.", which makes deploying to the us-west-1 region impossible.
Ah, yeah, us-west-1a is only for some accounts. We're close to generating those zones from Go, which will make it easier for us to adjust this dynamically. But we still need available-ness filtering in Go.
Version
Platform (aws|libvirt|openstack):
aws
What happened?
I run the
create cluster
command and I expect a cluster to be created. Instead I get:Install log:
What you expected to happen?
A cluster to be created.
How to reproduce it (as minimally and precisely as possible)?
us-west-1
:openshift-install create cluster
and observe the error as described above.Anything else we need to know?
The install fails because
us-west-1a
does not support the VPC "subnets" feature. According to the AWS Install Guide, "Nodes are spread equally across 3 availability zones.", which makes deploying to theus-west-1
region impossible.References
The text was updated successfully, but these errors were encountered: