Creating multiple availability zone cluster fails with: Region <region> does not support multiple availability zones

Solution Verified - Updated -

Environment

  • Red Hat Openshift on AWS(ROSA)

Issue

  • When creating a multiple availability zone cluster in a region that does not support multi az, the operation will fails with:
E: Region 'us-west-1' does not support multiple availability zones

Eg.:

$ rosa create cluster --cluster-name <cluster_name> --sts --role-arn <role> --support-role-arn <support-role-arn> --controlplane-iam-role <controlplane-iam-role> --worker-iam-role <worker-iam-role> --operator-roles-prefix <operator-roles-prefix> --multi-az --region us-west-1 --version 4.10.54 --replicas 2 --compute-machine-type m5.xlarge --machine-cidr 10.0.0.0/16 --service-cidr 172.30.0.0/16 --pod-cidr 10.128.0.0/14 --host-prefix 23
W: In a future release STS will be the default mode.
W: --sts flag won't be necessary if you wish to use STS.
W: --non-sts/--mint-mode flag will be necessary if you do not wish to use STS.
E: Region 'us-west-1' does not support multiple availability zones

Resolution

Please, see Red Hat OpenShift Service on AWS Supportability Checker to confirm the region supports multiple availability zones.

Root Cause

The region that the cluster is being deployed does not support multiple availability zones.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments