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

awslimitchecker failure (expects Firehose ?) #267

Closed
praetp opened this issue Mar 21, 2017 · 2 comments
Closed

awslimitchecker failure (expects Firehose ?) #267

praetp opened this issue Mar 21, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@praetp
Copy link

praetp commented Mar 21, 2017

awslimitchecker --region ap-southeast-2
awslimitchecker 0.8.0 is AGPL-licensed free software; all users have a right to the full source code of this version. See https://github.com/jantman/awslimitchecker
WARNING:awslimitchecker.services.ses:Skipping SES: Could not connect to the endpoint URL: "https://email.ap-southeast-2.amazonaws.com/"
WARNING:awslimitchecker.services.ses:Skipping SES: Could not connect to the endpoint URL: "https://email.ap-southeast-2.amazonaws.com/"
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.large'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.large'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.large'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.large'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.large'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.large'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.large'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.large'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.large'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.large'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.large'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.large'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.large'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.large'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.large'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.large'; not counting
ERROR:awslimitchecker.services.ec2:ERROR - unknown instance type 'i3.xlarge'; not counting
ERROR:awslimitchecker.services.firehose:Caught exception when trying to use Firehose; perhaps the Firehose service is not available in this region?
Traceback (most recent call last):
File "/home/users/praetp/.local/lib/python2.7/site-packages/awslimitchecker/services/firehose.py", line 66, in find_usage
self._find_delivery_streams()
File "/home/users/praetp/.local/lib/python2.7/site-packages/awslimitchecker/services/firehose.py", line 78, in _find_delivery_streams
streams = self.conn.list_delivery_streams()
File "/home/users/praetp/.local/lib/python2.7/site-packages/botocore/client.py", line 253, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/home/users/praetp/.local/lib/python2.7/site-packages/botocore/client.py", line 530, in _make_api_call
operation_model, request_dict)
File "/home/users/praetp/.local/lib/python2.7/site-packages/botocore/endpoint.py", line 141, in make_request
return self._send_request(request_dict, operation_model)
File "/home/users/praetp/.local/lib/python2.7/site-packages/botocore/endpoint.py", line 170, in _send_request
success_response, exception):
File "/home/users/praetp/.local/lib/python2.7/site-packages/botocore/endpoint.py", line 249, in _needs_retry
caught_exception=caught_exception, request_dict=request_dict)
File "/home/users/praetp/.local/lib/python2.7/site-packages/botocore/hooks.py", line 227, in emit
return self._emit(event_name, kwargs)
File "/home/users/praetp/.local/lib/python2.7/site-packages/botocore/hooks.py", line 210, in _emit
response = handler(**kwargs)
File "/home/users/praetp/.local/lib/python2.7/site-packages/botocore/retryhandler.py", line 183, in call
if self._checker(attempts, response, caught_exception):
File "/home/users/praetp/.local/lib/python2.7/site-packages/botocore/retryhandler.py", line 251, in call
caught_exception)
File "/home/users/praetp/.local/lib/python2.7/site-packages/botocore/retryhandler.py", line 277, in _should_retry
return self._checker(attempt_number, response, caught_exception)
File "/home/users/praetp/.local/lib/python2.7/site-packages/botocore/retryhandler.py", line 317, in call
caught_exception)
File "/home/users/praetp/.local/lib/python2.7/site-packages/botocore/retryhandler.py", line 223, in call
attempt_number, caught_exception)
File "/home/users/praetp/.local/lib/python2.7/site-packages/botocore/retryhandler.py", line 359, in _check_caught_exception
raise caught_exception
EndpointConnectionError: Could not connect to the endpoint URL: "https://firehose.ap-southeast-2.amazonaws.com/"
EBS/Throughput Optimized (HDD) volume storage (GiB) (limit 20480) CRITICAL: 189000
EC2/Running On-Demand r4.large instances (limit 20) CRITICAL: 139
ELB/Active load balancers (limit 20) CRITICAL: 25

@jantman jantman self-assigned this Mar 21, 2017
@jantman jantman added the bug label Mar 21, 2017
@jantman jantman added this to the 1.0.0 milestone Mar 21, 2017
@jantman
Copy link
Owner

jantman commented Mar 21, 2017

@spetsnaz84 This is not a failure, but it is logging the complete traceback at error-level when it most likely should not; Firehose is only available in us-east-1, us-west-2 and eu-west-1.

The best fix to this is probably for the next release to not log the traceback for that error. It would also be possible to only check firehose in a hard-coded list of regions, but then that would require a new awslimitchecker release when firehose is enabled in other regions.

Until the next release is out, this error is harmless and can be ignored, or else you explicitly specify the services to check when you run awslimitchecker, and not include Firehose.

@jantman
Copy link
Owner

jantman commented Jun 11, 2017

This has been released as 0.9.0 and is now live on PyPI (CHANGELOG).

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

No branches or pull requests

2 participants