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

aws_route53_record: timeouts out creating record in a busy route53 zone #11896

Closed
abhinavdahiya opened this issue Feb 4, 2020 · 3 comments · Fixed by #11895
Closed

aws_route53_record: timeouts out creating record in a busy route53 zone #11896

abhinavdahiya opened this issue Feb 4, 2020 · 3 comments · Fixed by #11895
Assignees
Labels
bug Addresses a defect in current functionality. service/route53 Issues and PRs that pertain to the route53 service.
Milestone

Comments

@abhinavdahiya
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

Affected Resource(s)

  • aws_route53_record

Terraform Configuration Files

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp

Debug Output

more detailed logs at https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_cluster-openshift-controller-manager-operator/129/pull-ci-openshift-cluster-openshift-controller-manager-operator-master-e2e-aws/536/artifacts/e2e-aws/installer/.openshift_install.log

The relevant error message

level=error msg="Error: [ERR]: Error building changeset: timeout while waiting for state to become 'accepted' (timeout: 5m0s)"
level=error
level=error msg="  on ../tmp/openshift-install-771650541/route53/base.tf line 33, in resource \"aws_route53_record\" \"api_external\":"
level=error msg="  33: resource \"aws_route53_record\" \"api_external\" {"
level=error
level=error

Panic Output

Expected Behavior

When adding records to a Route53 zone that is quite busy i.e. see a lot of addition/removal of records, AWS errors with failure to admit the change set causing the provider to backoff for appropriate time.

Actual Behavior

The provider has a hard coded 5 minutes backoff timeout, and a lot of the terraform apply fail for the creation of records. Allowing users to modify this timeout for their own scale would benefit or circumvent the failure.

Steps to Reproduce

  1. terraform apply

Important Factoids

References

@ghost ghost added the service/route53 Issues and PRs that pertain to the route53 service. label Feb 4, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Feb 4, 2020
@bflad bflad self-assigned this Feb 5, 2020
@bflad bflad added bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels Feb 5, 2020
@bflad bflad added this to the v2.49.0 milestone Feb 10, 2020
@bflad
Copy link
Contributor

bflad commented Feb 10, 2020

The artificial, hardcoded five minute timeouts for creation and deletions in the aws_route53_record resource have been removed in preference of the default AWS Go SDK retrying logic. This will release with version 2.49.0 of the Terraform AWS Provider, Thursday this week. Thank you to @abhinavdahiya for the implementation. 👍

@ghost
Copy link

ghost commented Feb 14, 2020

This has been released in version 2.49.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@ghost
Copy link

ghost commented Mar 27, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/route53 Issues and PRs that pertain to the route53 service.
Projects
None yet
2 participants