Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide more descriptive error message #370

Open
georgejohnis opened this issue Feb 15, 2023 · 0 comments
Open

Provide more descriptive error message #370

georgejohnis opened this issue Feb 15, 2023 · 0 comments

Comments

@georgejohnis
Copy link

Hello, I was trying to bootsrap a KIT cluster using kitctl CLI and I got the below error message.

` % kitctl bootstrap kitctl-$(whoami)
Bootstrapping "kitctl-xxxxx"
Created role kitctl-xxxxx
Ensured policy kitctl-xxxxx for kitctl-xxxxx
Created vpc vpc-xxxxx
reconciling cluster.Address, err ensuring IP address, allocating address, AddressLimitExceeded: The maximum number of addresses has been reached.
        status code: 400, request id: xxxxx
reconciling cluster.InstanceProfile, err attaching role policy RequestCanceled: request context canceled
caused by: context canceled
reconciling cluster.Address, ensuring IP address, allocating address, AddressLimitExceeded: The maximum number of addresses has been reached.
        status code: 400, request id: xxxxx; reconciling cluster.InstanceProfile, attaching role policy RequestCanceled: request context canceled
caused by: context canceled

This error message made me think the issue was that with my VPC not having free IP addresses. But that was not the issue since the VPC was just created and had /16 free IPs. The issue was that my AWS account had run out of available Elastic IP addresses (The default quota for the number of avaialble EIPs in an AWS account is 5, and I was already using up all the 5).

My feedback is to provide a more specific error message to help the user quickly narrow down the issue to be the unavailability of Elastic IP addresses in the account.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant