OC Cluster creating on on AWS

33 views
Skip to first unread message

Anantha J

unread,
May 1, 2019, 11:35:44 AM5/1/19
to OpenShift 4 Developer Preview
Pls direct if the similar issue was reported earlier.

While creating OC  cluster on AWS domain, getting the following (US EAST is default)

Any idea how to clean required in AWS

INFO Creating infrastructure resources...        
    ERROR                                             
ERROR Error: Error applying plan:                 
ERROR                                             
ERROR 14 errors occurred:                         
ERROR     * module.iam.aws_iam_role.worker_role: 1 error occurred:
ERROR     * aws_iam_role.worker_role: Error creating IAM Role xxcloud-fdxzx-worker-role: EntityAlreadyExists: Role with name xxcloud-fdxzx-worker-role already exists.
ERROR     status code: 409, request id: 8e19dcf2-6c25-11e9-977a-9997c59109bf
ERROR                                             
ERROR                                             
ERROR     * module.vpc.aws_eip.nat_eip[5]: 1 error occurred:
ERROR     * aws_eip.nat_eip.5: Error creating EIP: AddressLimitExceeded: The maximum number of addresses has been reached.
ERROR     status code: 400, request id: 152491fc-2139-4f87-955c-c392e627249d
ERROR                                             
ERROR                                             
ERROR     * module.vpc.aws_eip.nat_eip[4]: 1 error occurred:
ERROR     * aws_eip.nat_eip.4: Error creating EIP: AddressLimitExceeded: The maximum number of addresses has been reached.
ERROR     status code: 400, request id: 3a0cf28e-a43d-48dd-be57-c4a446554756
ERROR                                             
ERROR                                             
ERROR     * module.vpc.aws_eip.nat_eip[2]: 1 error occurred:
ERROR     * aws_eip.nat_eip.2: Error creating EIP: AddressLimitExceeded: The maximum number of addresses has been reached.
ERROR     status code: 400, request id: 285c908c-4ca8-4499-94d5-d974912ea0bb

ERROR     * module.vpc.aws_lb.api_external: 1 error occurred:
ERROR     * aws_lb.api_external: Error creating network Load Balancer: DuplicateLoadBalancerName: A load balancer with the same name 'xxcloud-fdxzx-ext' exists, but with different settings
ERROR     status code: 400, request id: c028cd82-6c25-11e9-bec4-1d508ead8175

Josh Manning

unread,
May 1, 2019, 12:38:38 PM5/1/19
to Anantha J, OpenShift 4 Developer Preview
Anantha,

Yes this issue has been covered extensively in previous threads. If you're deploying to us-east-1 (which has 6 AZ's) it will attempt to create 1 Elastic IP address per AZ. The EIP limit in AWS is 5, and to go beyond that limit you have to fill out a form and submit it for approval.

The workaround for this is to use a region which has fewer AZs, such as us-east-2 (which has only has 3, meaning the installer will only create 3 EIPs which is under the AWS limit of 5).

Hope this helps,

-Josh
--
You received this message because you are subscribed to the Google Groups "OpenShift 4 Developer Preview" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openshift-4-dev-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openshift-4-dev-preview/e678c46a-386d-465c-8d85-2ad86f4867a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

W. Trevor King

unread,
May 1, 2019, 12:43:01 PM5/1/19
to Josh Manning, Anantha J, OpenShift 4 Developer Preview
On Wed, May 1, 2019 at 9:38 AM Josh Manning wrote:
> The workaround for this is to use a region which has fewer AZs, such as us-east-2 (which has only has 3, meaning the installer will only create 3 EIPs which is under the AWS limit of 5).

Since 0.16.1 you can reduce installer-created subnets by explicitly
setting zones in your install-config.yaml [1,2], so using us-east-1
without bumping limits is possible.

Cheers,
Trevor

[1]: https://github.com/openshift/installer/blob/ef2362d142f54fdba402aa2bfa1033bd190391cd/docs/user/aws/limits.md#elastic-ip-eip
[2]: https://github.com/openshift/installer/issues/1411#issuecomment-478676904

Anantha J

unread,
May 2, 2019, 3:52:42 AM5/2/19
to Josh Manning, OpenShift 4 Developer Preview
Hello Josh,

Thanks a lot. I opted on London and worked perfect !!! Hope fully can replicate all the use cases of OS on AWS without incrementing further capacity. Truly an example of Cloud Interoperability

Cheers
Reply all
Reply to author
Forward
0 new messages