Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
A client error (AuthFailure) occurred when calling the DescribeInstances operation: AWS was not able to validate the provided access credentials
Name tag is not set
2015-08-10 15:58:41,538 - util.py[WARNING]: Failed to run bootcmd module bootcmd
2015-08-10 15:58:41,540 - util.py[WARNING]: Running bootcmd (<module 'cloudinit.config.cc_bootcmd' from '/usr/lib/python2.6/site-packages/cloudinit/config/cc_bootcmd.pyc'>) failed
Owner

sonots commented Aug 11, 2015

--debug をつけてデバグをログを出した。失敗ケース。

+ cd /root
+ pwd
/root
+ whoami
root
++ curl -s http://169.254.169.254/latest/meta-data/instance-id
+ instance_id=i-81207374
+ /usr/local/bin/aws ec2 describe-instances --debug --instance-ids i-81207374
2015-08-11 03:54:52,902 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/1.7.44 Python/2.6.6 Linux/2.6.32-504.3.3.el6.x86_64, botocore version: 1.1.7
2015-08-11 03:54:52,902 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['ec2', 'describe-instances', '--debug', '--instance-ids', 'i-81207374']
2015-08-11 03:54:52,902 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_scalar_parsers at 0x1c698c0>
2015-08-11 03:54:52,902 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_assume_role_provider at 0x1bf69b0>
2015-08-11 03:54:53,125 - MainThread - botocore.hooks - DEBUG - Event service-data-loaded.ec2: calling handler <function register_retries_for_service at 0x17a8f50>
2015-08-11 03:54:53,125 - MainThread - botocore.handlers - DEBUG - Registering retry handlers for service: ec2
2015-08-11 03:54:53,134 - MainThread - botocore.hooks - DEBUG - Event building-command-table.ec2: calling handler <functools.partial object at 0x1c7a260>
2015-08-11 03:54:53,134 - MainThread - awscli.customizations.removals - DEBUG - Removing operation: import-instance
2015-08-11 03:54:53,134 - MainThread - awscli.customizations.removals - DEBUG - Removing operation: import-volume
2015-08-11 03:54:53,134 - MainThread - botocore.hooks - DEBUG - Event building-command-table.ec2: calling handler <function add_waiters at 0x1c01b90>
2015-08-11 03:54:53,143 - MainThread - awscli.clidriver - DEBUG - OrderedDict([(u'dry-run', <awscli.arguments.BooleanArgument object at 0x27b7fd0>), (u'no-dry-run', <awscli.arguments.BooleanArgument object at 0x27c6050>), (u'instance-ids', <awscli.arguments.ListArgument
 object at 0x27c6090>), (u'filters', <awscli.arguments.ListArgument object at 0x27c60d0>), (u'next-token', <awscli.arguments.CLIArgument object at 0x27c6110>), (u'max-results', <awscli.arguments.CLIArgument object at 0x27c6150>)])
2015-08-11 03:54:53,143 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.ec2.describe-instances: calling handler <function add_streaming_output_arg at 0x1a2acf8>
2015-08-11 03:54:53,143 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.ec2.describe-instances: calling handler <function _rename_arg at 0x1c7b7d0>
2015-08-11 03:54:53,143 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.ec2.describe-instances: calling handler <function _rename_arg at 0x1c7baa0>
2015-08-11 03:54:53,143 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.ec2.describe-instances: calling handler <functools.partial object at 0x1c7a368>
2015-08-11 03:54:53,144 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.ec2.describe-instances: calling handler <function add_cli_input_json at 0x1befde8>
2015-08-11 03:54:53,144 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.ec2.describe-instances: calling handler <function unify_paging_params at 0x1a3a050>
2015-08-11 03:54:53,146 - MainThread - awscli.customizations.paginate - DEBUG - Modifying paging parameters for operation: DescribeInstances
2015-08-11 03:54:53,146 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.ec2.describe-instances: calling handler <function add_generate_skeleton at 0x1bf38c0>
2015-08-11 03:54:53,146 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.ec2.describe-instances: calling handler <bound method CliInputJSONArgument.override_required_args of <awscli.customizations.cliinputjson.CliInputJSONArgument obje
ct at 0x27c6350>>
015-08-11 03:54:53,146 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.ec2.describe-instances: calling handler <bound method GenerateCliSkeletonArgument.override_required_args of <awscli.customizations.generatecliskeleton.GenerateCli
SkeletonArgument object at 0x27c66d0>>
2015-08-11 03:54:53,147 - MainThread - botocore.hooks - DEBUG - Event operation-args-parsed.ec2.describe-instances: calling handler <functools.partial object at 0x26c7c00>
2015-08-11 03:54:53,147 - MainThread - botocore.hooks - DEBUG - Event operation-args-parsed.ec2.describe-instances: calling handler <functools.partial object at 0x26c7d08>
2015-08-11 03:54:53,148 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.dry-run: calling handler <function uri_param at 0x1a13500>
2015-08-11 03:54:53,148 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.instance-ids: calling handler <function uri_param at 0x1a13500>
2015-08-11 03:54:53,148 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.ec2.describe-instances: calling handler <awscli.argprocess.ParamShorthand object at 0x1c6af50>
2015-08-11 03:54:53,148 - MainThread - awscli.argprocess - DEBUG - Detected structure: list-scalar
2015-08-11 03:54:53,148 - MainThread - awscli.arguments - DEBUG - Unpacked value of [u'i-81207374'] for parameter "instance_ids": [u'i-81207374']
2015-08-11 03:54:53,148 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.filters: calling handler <function uri_param at 0x1a13500>
2015-08-11 03:54:53,148 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.next-token: calling handler <function uri_param at 0x1a13500>
2015-08-11 03:54:53,148 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.max-results: calling handler <function uri_param at 0x1a13500>
2015-08-11 03:54:53,149 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.cli-input-json: calling handler <function uri_param at 0x1a13500>
2015-08-11 03:54:53,149 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.starting-token: calling handler <function uri_param at 0x1a13500>
2015-08-11 03:54:53,149 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.page-size: calling handler <function uri_param at 0x1a13500>
2015-08-11 03:54:53,149 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.max-items: calling handler <function uri_param at 0x1a13500>
2015-08-11 03:54:53,149 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.generate-cli-skeleton: calling handler <function uri_param at 0x1a13500>
2015-08-11 03:54:53,149 - MainThread - botocore.hooks - DEBUG - Event calling-command.ec2.describe-instances: calling handler <bound method GenerateCliSkeletonArgument.generate_json_skeleton of <awscli.customizations.generatecliskeleton.GenerateCliSkeletonArgument objec
t at 0x27c66d0>>
2015-08-11 03:54:53,149 - MainThread - botocore.hooks - DEBUG - Event calling-command.ec2.describe-instances: calling handler <bound method CliInputJSONArgument.add_to_call_parameters of <awscli.customizations.cliinputjson.CliInputJSONArgument object at 0x27c6350>>
2015-08-11 03:54:53,149 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: env
2015-08-11 03:54:53,149 - MainThread - botocore.credentials - INFO - Found credentials in environment variables.
2015-08-11 03:54:53,153 - MainThread - botocore.client - DEBUG - Registering retry handlers for service: ec2
2015-08-11 03:54:53,159 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x15652a8>
2015-08-11 03:54:53,166 - MainThread - botocore.endpoint - DEBUG - Making request for <botocore.model.OperationModel object at 0x27e7e90> (verify_ssl=True) with params: {'body': {'Action': u'DescribeInstances', 'Version': u'2015-04-15', u'InstanceId.1': u'i-81207374'},
'url': u'https://ec2.ap-northeast-1.amazonaws.com/', 'headers': {'User-Agent': 'aws-cli/1.7.44 Python/2.6.6 Linux/2.6.32-504.3.3.el6.x86_64'}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
2015-08-11 03:54:53,166 - MainThread - botocore.hooks - DEBUG - Event request-created.ec2.DescribeInstances: calling handler <bound method EC2._sign_request of <botocore.client.EC2 object at 0x27e7650>>
2015-08-11 03:54:53,167 - MainThread - botocore.auth - DEBUG - Calculating signature using v4 auth.
2015-08-11 03:54:53,167 - MainThread - botocore.auth - DEBUG - CanonicalRequest:
POST
/

host:ec2.ap-northeast-1.amazonaws.com
user-agent:aws-cli/1.7.44 Python/2.6.6 Linux/2.6.32-504.3.3.el6.x86_64
x-amz-date:20150810T185453Z

host;user-agent;x-amz-date
0c679513811b6d51e774fba39cee76b0f2032e870841ca86ecd58eb8a0ebddd4
2015-08-11 03:54:53,168 - MainThread - botocore.auth - DEBUG - StringToSign:
AWS4-HMAC-SHA256
20150810T185453Z
20150810/ap-northeast-1/ec2/aws4_request
e013cf5ddfc12873fd4bda214b78e5b4dac04bf764f97a35df3a3b61e36684cd
2015-08-11 03:54:53,168 - MainThread - botocore.auth - DEBUG - Signature:
c97287850f89514cf9b8f06136df7877d63d18999b4c7cc7b4ba508f0ac5de38
2015-08-11 03:54:53,173 - MainThread - botocore.endpoint - DEBUG - Sending http request: <PreparedRequest [POST]>
2015-08-11 03:54:53,174 - MainThread - botocore.vendored.requests.packages.urllib3.connectionpool - INFO - Starting new HTTPS connection (1): ec2.ap-northeast-1.amazonaws.com
2015-08-11 03:54:53,268 - MainThread - botocore.vendored.requests.packages.urllib3.connectionpool - DEBUG - "POST / HTTP/1.1" 401 None
2015-08-11 03:54:53,268 - MainThread - botocore.parsers - DEBUG - Response headers: {'transfer-encoding': 'chunked', 'date': 'Tue, 11 Aug 2015 03:54:52 GMT', 'server': 'AmazonEC2'}
2015-08-11 03:54:53,269 - MainThread - botocore.parsers - DEBUG - Response body:
<?xml version="1.0" encoding="UTF-8"?>
<Response><Errors><Error><Code>AuthFailure</Code><Message>AWS was not able to validate the provided access credentials</Message></Error></Errors><RequestID>3746cfc0-f9ac-4c6a-a7a2-affa4c6bd06f</RequestID></Response>
2015-08-11 03:54:53,269 - MainThread - botocore.hooks - DEBUG - Event needs-retry.ec2.DescribeInstances: calling handler <botocore.retryhandler.RetryHandler object at 0x26df350>
2015-08-11 03:54:53,269 - MainThread - botocore.retryhandler - DEBUG - No retry needed.
2015-08-11 03:54:53,269 - MainThread - botocore.hooks - DEBUG - Event after-call.ec2.DescribeInstances: calling handler <awscli.errorhandler.ErrorHandler object at 0x1c73f90>
2015-08-11 03:54:53,269 - MainThread - awscli.errorhandler - DEBUG - HTTP Response Code: 401
2015-08-11 03:54:53,269 - MainThread - awscli.clidriver - DEBUG - Exception caught in main()
Traceback (most recent call last):
  File "/usr/local/aws/lib/python2.6/site-packages/awscli/clidriver.py", line 183, in main
    return command_table[parsed_args.command](remaining, parsed_args)
  File "/usr/local/aws/lib/python2.6/site-packages/awscli/clidriver.py", line 369, in __call__
    return command_table[parsed_args.operation](remaining, parsed_globals)
  File "/usr/local/aws/lib/python2.6/site-packages/awscli/clidriver.py", line 538, in __call__
    call_parameters, parsed_globals)
  File "/usr/local/aws/lib/python2.6/site-packages/awscli/clidriver.py", line 663, in invoke
    self._display_response(operation_name, response, parsed_globals)
  File "/usr/local/aws/lib/python2.6/site-packages/awscli/clidriver.py", line 672, in _display_response
    formatter(command_name, response)
  File "/usr/local/aws/lib/python2.6/site-packages/awscli/formatter.py", line 69, in __call__
    response_data = response.build_full_result()
  File "/usr/local/aws/lib/python2.6/site-packages/botocore/paginate.py", line 260, in build_full_result
    for response in self:
  File "/usr/local/aws/lib/python2.6/site-packages/botocore/paginate.py", line 83, in __iter__
    response = self._make_request(current_kwargs)
  File "/usr/local/aws/lib/python2.6/site-packages/botocore/paginate.py", line 155, in _make_request
    return self._method(**current_kwargs)
  File "/usr/local/aws/lib/python2.6/site-packages/botocore/client.py", line 269, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/usr/local/aws/lib/python2.6/site-packages/botocore/client.py", line 319, in _make_api_call
    model=operation_model
  File "/usr/local/aws/lib/python2.6/site-packages/botocore/hooks.py", line 226, in emit
    return self._emit(event_name, kwargs)
  File "/usr/local/aws/lib/python2.6/site-packages/botocore/hooks.py", line 209, in _emit
    response = handler(**kwargs)
  File "/usr/local/aws/lib/python2.6/site-packages/awscli/errorhandler.py", line 70, in __call__
    http_status_code=http_response.status_code)
ClientError: A client error (AuthFailure) occurred when calling the DescribeInstances operation: AWS was not able to validate the provided access credentials
2015-08-11 03:54:53,277 - MainThread - awscli.clidriver - DEBUG - Exiting with rc 255

A client error (AuthFailure) occurred when calling the DescribeInstances operation: AWS was not able to validate the provided access credentials
Owner

sonots commented Aug 11, 2015

ログインして実行した場合の成功ケース

2015-08-11 13:10:16,219 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/1.7.44 Python/2.6.6 Linux/2.6.32-504.3.3.el6.x86_64, botocore version: 1.1.7
2015-08-11 13:10:16,219 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['ec2', 'describe-instances', '--debug', '--instance-ids', 'i-81207374']
2015-08-11 13:10:16,219 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_scalar_parsers at 0x1c078c0>
2015-08-11 13:10:16,220 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_assume_role_provider at 0x1b949b0>
2015-08-11 13:10:16,488 - MainThread - botocore.hooks - DEBUG - Event service-data-loaded.ec2: calling handler <function register_retries_for_service at 0x1746f50>
2015-08-11 13:10:16,488 - MainThread - botocore.handlers - DEBUG - Registering retry handlers for service: ec2
2015-08-11 13:10:16,497 - MainThread - botocore.hooks - DEBUG - Event building-command-table.ec2: calling handler <functools.partial object at 0x1c18260>
2015-08-11 13:10:16,497 - MainThread - awscli.customizations.removals - DEBUG - Removing operation: import-instance
2015-08-11 13:10:16,497 - MainThread - awscli.customizations.removals - DEBUG - Removing operation: import-volume
2015-08-11 13:10:16,497 - MainThread - botocore.hooks - DEBUG - Event building-command-table.ec2: calling handler <function add_waiters at 0x1b9fb90>
2015-08-11 13:10:16,513 - MainThread - awscli.clidriver - DEBUG - OrderedDict([(u'dry-run', <awscli.arguments.BooleanArgument object at 0x2755fd0>), (u'no-dry-run', <awscli.arguments.BooleanArgument object at 0x2764050>), (u'instance-ids', <awscli.arguments.ListArgument object at 0x2764090>), (u'filters', <awscli.arguments.ListArgument object at 0x27640d0>), (u'next-token', <awscli.arguments.CLIArgument object at 0x2764110>), (u'max-results', <awscli.arguments.CLIArgument object at 0x2764150>)])
2015-08-11 13:10:16,513 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.ec2.describe-instances: calling handler <function add_streaming_output_arg at 0x19c8cf8>
2015-08-11 13:10:16,513 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.ec2.describe-instances: calling handler <function _rename_arg at 0x1c197d0>
2015-08-11 13:10:16,513 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.ec2.describe-instances: calling handler <function _rename_arg at 0x1c19aa0>
2015-08-11 13:10:16,513 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.ec2.describe-instances: calling handler <functools.partial object at 0x1c18368>
2015-08-11 13:10:16,514 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.ec2.describe-instances: calling handler <function add_cli_input_json at 0x1b8dde8>
2015-08-11 13:10:16,514 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.ec2.describe-instances: calling handler <function unify_paging_params at 0x19d8050>
2015-08-11 13:10:16,515 - MainThread - awscli.customizations.paginate - DEBUG - Modifying paging parameters for operation: DescribeInstances
2015-08-11 13:10:16,515 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.ec2.describe-instances: calling handler <function add_generate_skeleton at 0x1b918c0>
2015-08-11 13:10:16,515 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.ec2.describe-instances: calling handler <bound method CliInputJSONArgument.override_required_args of <awscli.customizations.cliinputjson.CliInputJSONArgument object at 0x2764350>>
2015-08-11 13:10:16,516 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.ec2.describe-instances: calling handler <bound method GenerateCliSkeletonArgument.override_required_args of <awscli.customizations.generatecliskeleton.GenerateCliSkeletonArgument object at 0x27646d0>>
2015-08-11 13:10:16,517 - MainThread - botocore.hooks - DEBUG - Event operation-args-parsed.ec2.describe-instances: calling handler <functools.partial object at 0x2665c00>
2015-08-11 13:10:16,517 - MainThread - botocore.hooks - DEBUG - Event operation-args-parsed.ec2.describe-instances: calling handler <functools.partial object at 0x2665d08>
2015-08-11 13:10:16,517 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.dry-run: calling handler <function uri_param at 0x19b1500>
2015-08-11 13:10:16,517 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.instance-ids: calling handler <function uri_param at 0x19b1500>
2015-08-11 13:10:16,517 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.ec2.describe-instances: calling handler <awscli.argprocess.ParamShorthand object at 0x1c08f50>
2015-08-11 13:10:16,517 - MainThread - awscli.argprocess - DEBUG - Detected structure: list-scalar
2015-08-11 13:10:16,517 - MainThread - awscli.arguments - DEBUG - Unpacked value of [u'i-81207374'] for parameter "instance_ids": [u'i-81207374']
2015-08-11 13:10:16,517 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.filters: calling handler <function uri_param at 0x19b1500>
2015-08-11 13:10:16,518 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.next-token: calling handler <function uri_param at 0x19b1500>
2015-08-11 13:10:16,518 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.max-results: calling handler <function uri_param at 0x19b1500>
2015-08-11 13:10:16,518 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.cli-input-json: calling handler <function uri_param at 0x19b1500>
2015-08-11 13:10:16,518 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.starting-token: calling handler <function uri_param at 0x19b1500>
2015-08-11 13:10:16,518 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.page-size: calling handler <function uri_param at 0x19b1500>
2015-08-11 13:10:16,518 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.max-items: calling handler <function uri_param at 0x19b1500>
2015-08-11 13:10:16,518 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.ec2.describe-instances.generate-cli-skeleton: calling handler <function uri_param at 0x19b1500>
2015-08-11 13:10:16,518 - MainThread - botocore.hooks - DEBUG - Event calling-command.ec2.describe-instances: calling handler <bound method GenerateCliSkeletonArgument.generate_json_skeleton of <awscli.customizations.generatecliskeleton.GenerateCliSkeletonArgument object at 0x27646d0>>
2015-08-11 13:10:16,518 - MainThread - botocore.hooks - DEBUG - Event calling-command.ec2.describe-instances: calling handler <bound method CliInputJSONArgument.add_to_call_parameters of <awscli.customizations.cliinputjson.CliInputJSONArgument object at 0x2764350>>
2015-08-11 13:10:16,519 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: env
2015-08-11 13:10:16,519 - MainThread - botocore.credentials - INFO - Found credentials in environment variables.
2015-08-11 13:10:16,521 - MainThread - botocore.client - DEBUG - Registering retry handlers for service: ec2
2015-08-11 13:10:16,528 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.ec2: calling handler <function add_generate_presigned_url at 0x15032a8>
2015-08-11 13:10:16,534 - MainThread - botocore.endpoint - DEBUG - Making request for <botocore.model.OperationModel object at 0x2785e90> (verify_ssl=True) with params: {'body': {'Action': u'DescribeInstances', 'Version': u'2015-04-15', u'InstanceId.1': u'i-81207374'}, 'url': u'https://ec2.ap-northeast-1.amazonaws.com/', 'headers': {'User-Agent': 'aws-cli/1.7.44 Python/2.6.6 Linux/2.6.32-504.3.3.el6.x86_64'}, 'query_string': '', 'url_path': '/', 'method': u'POST'}
2015-08-11 13:10:16,534 - MainThread - botocore.hooks - DEBUG - Event request-created.ec2.DescribeInstances: calling handler <bound method EC2._sign_request of <botocore.client.EC2 object at 0x2785650>>
2015-08-11 13:10:16,535 - MainThread - botocore.auth - DEBUG - Calculating signature using v4 auth.
2015-08-11 13:10:16,536 - MainThread - botocore.auth - DEBUG - CanonicalRequest:
POST
/

host:ec2.ap-northeast-1.amazonaws.com
user-agent:aws-cli/1.7.44 Python/2.6.6 Linux/2.6.32-504.3.3.el6.x86_64
x-amz-date:20150811T041016Z

host;user-agent;x-amz-date
0c679513811b6d51e774fba39cee76b0f2032e870841ca86ecd58eb8a0ebddd4
2015-08-11 13:10:16,536 - MainThread - botocore.auth - DEBUG - StringToSign:
AWS4-HMAC-SHA256
20150811T041016Z
20150811/ap-northeast-1/ec2/aws4_request
b8ac72d10155e78a4a46d11a06585cd0fd7000542853fef48a538a6fa0063eaa
2015-08-11 13:10:16,536 - MainThread - botocore.auth - DEBUG - Signature:
ed413d81e85857f3e46df5381603521e4c281d42e8cd21247b276139a4a32337
2015-08-11 13:10:16,549 - MainThread - botocore.endpoint - DEBUG - Sending http request: <PreparedRequest [POST]>
2015-08-11 13:10:16,550 - MainThread - botocore.vendored.requests.packages.urllib3.connectionpool - INFO - Starting new HTTPS connection (1): ec2.ap-northeast-1.amazonaws.com
2015-08-11 13:10:16,859 - MainThread - botocore.vendored.requests.packages.urllib3.connectionpool - DEBUG - "POST / HTTP/1.1" 200 None
2015-08-11 13:10:16,860 - MainThread - botocore.parsers - DEBUG - Response headers: {'transfer-encoding': 'chunked', 'vary': 'Accept-Encoding', 'server': 'AmazonEC2', 'content-type': 'text/xml;charset=UTF-8', 'date': 'Tue, 11 Aug 2015 04:10:16 GMT'}
2015-08-11 13:10:16,860 - MainThread - botocore.parsers - DEBUG - Response body:
<?xml version="1.0" encoding="UTF-8"?>
<DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2015-04-15/">
    <requestId>98c0b5ae-9e5f-47c9-a811-dd0466d18f51</requestId>
    <reservationSet>
    省略
2015-08-11 13:10:16,900 - MainThread - botocore.hooks - DEBUG - Event needs-retry.ec2.DescribeInstances: calling handler <botocore.retryhandler.RetryHandler object at 0x267d350>
2015-08-11 13:10:16,900 - MainThread - botocore.retryhandler - DEBUG - No retry needed.
2015-08-11 13:10:16,901 - MainThread - botocore.hooks - DEBUG - Event after-call.ec2.DescribeInstances: calling handler <awscli.errorhandler.ErrorHandler object at 0x1c11f90>
2015-08-11 13:10:16,901 - MainThread - awscli.errorhandler - DEBUG - HTTP Response Code: 200
{
    "Reservations": [
        {
         省略
Owner

sonots commented Aug 11, 2015

時間がおかしい!!!!!!

失敗: 20150810T185453Z
成功: 20150811T041016Z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment