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

[ec2_vpc_nat_gateway] CI pipeline fails with RequestLimitExceeded errors #379

Closed
alinabuzachis opened this issue Jan 30, 2021 · 4 comments
Closed
Labels
bug This issue/PR relates to a bug module module plugins plugin (any type)

Comments

@alinabuzachis
Copy link
Contributor

SUMMARY

CI pipeline not successful for the ec2_vpc_nat_gateway module due due to RequestLimitExceedederrors.

fatal: [testhost]: FAILED! => {"changed": false, "msg": "An error occurred (RequestLimitExceeded) when calling the DescribeNatGateways operation (reached max retries: 4): Request limit exceeded.", "resource_actions": ["ec2:DescribeNatGateways"]}

For example, creating a NAT Gateway can throw this error (see Shippable result page for further details):

- name: Create new NAT gateway with eip allocation-id
    ec2_vpc_nat_gateway:
      subnet_id: "{{ subnet_id }}"
      allocation_id: "{{ allocation_id }}"
      wait: yes
    register: create_ngw

I quick workaround is to include an until loop as follow:

- name: Create new NAT gateway with eip allocation-id
    ec2_vpc_nat_gateway:
      subnet_id: "{{ subnet_id }}"
      allocation_id: "{{ allocation_id }}"
      wait: yes
    register: create_ngw
    retries: 10
    until: create_ngw is not failed
ISSUE TYPE
  • Bug Report
COMPONENT NAME

ec2_vpc_nat_gateway

ANSIBLE VERSION

2.10

@ansibullbot
Copy link

ansibullbot commented Jan 30, 2021

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibullbot
Copy link

@ansibullbot ansibullbot added bug This issue/PR relates to a bug module module needs_triage plugins plugin (any type) labels Jan 30, 2021
@jillr
Copy link
Contributor

jillr commented Mar 19, 2021

@alinabuzachis have we seen this since increasing the quotas? The zuul migration should also help since we'll be controlling test concurrency better.

@alinabuzachis
Copy link
Contributor Author

@jillr I don't think we've seen the error lately.

alinabuzachis pushed a commit to alinabuzachis/community.aws that referenced this issue May 25, 2022
…ons#379)

README.md, CONTRIBUTING.md: Freenode -> Libera.Chat

Reviewed-by: Abhijeet Kasurde
             https://github.com/Akasurde
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug module module plugins plugin (any type)
Projects
None yet
Development

No branches or pull requests

4 participants