-
Notifications
You must be signed in to change notification settings - Fork 341
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
The cloudwatchlogs_log_group_info module generates throttling exceptions #2011
Labels
Comments
Ansible tasks run successfully. I don't have definite proof that this solves the issue, I don't see tasks taking more time than expected (ie. timed backoffs), but I expect this is the solution. Thank you! |
softwarefactory-project-zuul bot
pushed a commit
that referenced
this issue
Mar 21, 2024
cloudwatch_log_groups_info - Fix throttling issue when describing cloudwatch log groups SUMMARY Closes #2011 ISSUE TYPE Bugfix Pull Request COMPONENT NAME cloudwatch_log_groups_info Reviewed-by: Mandar Kulkarni <[email protected]> Reviewed-by: Helen Bailey <[email protected]> Reviewed-by: Alina Buzachis
patchback bot
pushed a commit
that referenced
this issue
Mar 21, 2024
cloudwatch_log_groups_info - Fix throttling issue when describing cloudwatch log groups SUMMARY Closes #2011 ISSUE TYPE Bugfix Pull Request COMPONENT NAME cloudwatch_log_groups_info Reviewed-by: Mandar Kulkarni <[email protected]> Reviewed-by: Helen Bailey <[email protected]> Reviewed-by: Alina Buzachis (cherry picked from commit 196a875)
hakbailey
pushed a commit
to hakbailey/amazon.aws
that referenced
this issue
Apr 1, 2024
…ollections#2019) cloudwatch_log_groups_info - Fix throttling issue when describing cloudwatch log groups SUMMARY Closes ansible-collections#2011 ISSUE TYPE Bugfix Pull Request COMPONENT NAME cloudwatch_log_groups_info Reviewed-by: Mandar Kulkarni <[email protected]> Reviewed-by: Helen Bailey <[email protected]> Reviewed-by: Alina Buzachis (cherry picked from commit 196a875)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
When running the amazon.aws.cloudwatchlogs_log_group_info module on AWS accounts having more than (roughly) 50 log groups we get ThrottlingExceptions once every 20 calls or so. I noticed that both the describe and the list-tags boto calls in the cloudwatchlogs_log_group_info module have no throttling handling configured and use the default throttling handling policy, ie. none.
Issue Type
Bug Report
Component Name
amazon.aws.cloudwatchlogs_log_group_info
Ansible Version
Collection Versions
AWS SDK versions
Configuration
(no Ansible configuration)
OS / Environment
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
Steps to Reproduce
Expected Results
Should get all log group information and tags without error. Optionally, allow us to add an option to skip getting the tags for each log group would allow engineers to work around this issue.
Actual Results
fatal: [127.0.0.1]: FAILED! => {"boto3_version": "1.34.45", "botocore_version": "1.34.45", "changed": false, "error": {"code": "ThrottlingException", "message": "Rate exceeded"}, "msg": "Unable to describe tags for log group /aws/codebuild/tankmaintenanceplanning-pipeline-tsa: An error occurred (ThrottlingException) when calling the ListTagsLogGroup operation (reached max retries: 4): Rate exceeded"
Code of Conduct
The text was updated successfully, but these errors were encountered: