ASG policy not failing when AWS api call fails
See original GitHub issueWhen I query for invalid ASGs, I’m intermittently hitting rate limit issues. The rate limit errors show up in the AWS api logs, but custodian reports 0 of 0 in the logs. Custodian should fail the run if it is not able to successfully pull back all resources to find invalid ASGs.
Custodian Logs
2018-03-27 02:31:51,925 - custodian.resources.securitygroup - DEBUG - Using cached c7n.resources.vpc.SecurityGroup: 0
2018-03-27 02:31:51,925 - custodian.resources.securitygroup - DEBUG - Filtered from 0 to 0 securitygroup
Cloudtrail Logs
DescribeSecurityGroups us-west-2 CloudCustodian/0.8.28.1 Python/2.7.14 Linux/4.9.81-35.56.amzn1.x86_64 Botocore/1.8.48 Client.RequestLimitExceeded Request limit exceeded.
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
EC2 instance launch failures - Amazon EC2 Auto Scaling
This page provides information about your EC2 instances that fail to launch, potential causes, and the steps you can take to resolve the...
Read more >Troubleshoot Amazon EC2 Auto Scaling - AWS Documentation
Troubleshoot issues with Amazon EC2 Auto Scaling using descriptive error messages.
Read more >Troubleshoot Amazon EC2 Auto Scaling issues
Call the describe-lifecycle-hooks command, specifying the name of the Amazon EC2 Auto Scaling group associated with the EC2 instances that failed to launch....
Read more >Troubleshoot Amazon EC2 Auto Scaling: Load balancer issues
One or more target groups not found. Validating load balancer configuration failed. ... Problem: When your Auto Scaling group launches instances, Amazon EC2...
Read more >Troubleshoot Amazon EC2 Auto Scaling: Health checks
Problem: Auto Scaling instances fail the Amazon EC2 status checks. ... EC2 instance that is not part of the Auto Scaling group and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m not sure how to replicate this issue. Similar to @domingosnovo 's account, my account has a bunch of stuff as well. I feel like at a minimum custodian should just throw an exception with
Request limit exceeded.
, rather than returning0 of 0
.So in resume, this is what’s happening for me: