-
-
Save sonots/5d7b6ff1bff5b78cb2bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
ログインして実行した場合の成功ケース
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": [
{
省略
時間がおかしい!!!!!!
失敗: 20150810T185453Z
成功: 20150811T041016Z
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
--debug をつけてデバグをログを出した。失敗ケース。