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

expired creds do not fail the app #62

Open
styk-tv opened this issue Jan 30, 2017 · 2 comments
Open

expired creds do not fail the app #62

styk-tv opened this issue Jan 30, 2017 · 2 comments

Comments

@styk-tv
Copy link
Contributor

styk-tv commented Jan 30, 2017

example of failed credentials on destroy above. this should not attempt to run at all when failing

2017-01-30 22:11:24,441 [INFO] madcore.cmds.destroy: Destroy
2017-01-30 22:11:24,895 [ERROR] madcore: An error occurred (InvalidClientTokenId) when calling the DescribeStacks operation: The security token included in the request is invalid.
2017-01-30 22:11:24,895 [DEBUG] madcore: Got an error: An error occurred (InvalidClientTokenId) when calling the DescribeStacks operation: The security token included in the request is invalid.
2017-01-30 22:11:24,896 [DEBUG] madcore: Traceback (most recent call last):
  File "/home/polfilm/.local/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/home/polfilm/.local/lib/python2.7/site-packages/cliff/display.py", line 112, in run
    column_names, data = self.take_action(parsed_args)
  File "/usr/local/lib/python2.7/dist-packages/madcore-0.3.7.29+gab88154-py2.7.egg/madcore/cmds/destroy.py", line 28, in take_action
    all_stacks = self.cf_client.describe_stacks()
  File "/usr/local/lib/python2.7/dist-packages/botocore-1.5.3-py2.7.egg/botocore/client.py", line 253, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/usr/local/lib/python2.7/dist-packages/botocore-1.5.3-py2.7.egg/botocore/client.py", line 543, in _make_api_call
    raise error_class(parsed_response, operation_name)
ClientError: An error occurred (InvalidClientTokenId) when calling the DescribeStacks operation: The security token included in the request is invalid.
@botzill
Copy link
Contributor

botzill commented Jan 31, 2017

Again, why this issue is on core repo ? Should be on CLI.

@botzill
Copy link
Contributor

botzill commented Jan 31, 2017

Can you give me more details about this issue? How can we reproduce it ?

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

No branches or pull requests

2 participants