Created
April 20, 2015 17:58
-
-
Save edrozenberg/4afadd44192bd3166be4 to your computer and use it in GitHub Desktop.
AWS CLI Create Import Job - MalformedManifestError
This file contains hidden or 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
2015-04-20 10:55:13,492 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/1.7.23 Python/2.7.5 Linux/3.10.69-loc, botocore version: 0.99.0 | |
2015-04-20 10:55:13,492 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['importexport', 'create-job', '--job-type', 'import', '--manifest', '/home/eduardr/Documents/aws-import-info/manifest1.txt', '--debug', '--validate-only'] | |
2015-04-20 10:55:13,492 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_scalar_parsers at 0x1faa8c0> | |
2015-04-20 10:55:13,492 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_assume_role_provider at 0x1f276e0> | |
2015-04-20 10:55:13,497 - MainThread - botocore.hooks - DEBUG - Event service-data-loaded.importexport: calling handler <function register_retries_for_service at 0x1aab410> | |
2015-04-20 10:55:13,499 - MainThread - botocore.handlers - DEBUG - Registering retry handlers for service: importexport | |
2015-04-20 10:55:13,500 - MainThread - botocore.hooks - DEBUG - Event building-command-table.importexport: calling handler <function add_waiters at 0x1f33500> | |
2015-04-20 10:55:13,501 - MainThread - awscli.clidriver - DEBUG - OrderedDict([(u'job-type', <awscli.arguments.CLIArgument object at 0x20506d0>), (u'manifest', <awscli.arguments.CLIArgument object at 0x2050710>), (u'manifest-addendum', <awscli.arguments.CLIArgument object at 0x2050750>), (u'validate-only', <awscli.arguments.BooleanArgument object at 0x2050790>), (u'no-validate-only', <awscli.arguments.BooleanArgument object at 0x20507d0>), (u'api-version', <awscli.arguments.CLIArgument object at 0x2050810>)]) | |
2015-04-20 10:55:13,501 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.importexport.create-job: calling handler <function add_streaming_output_arg at 0x1d680c8> | |
2015-04-20 10:55:13,501 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.importexport.create-job: calling handler <function add_cli_input_json at 0x1f227d0> | |
2015-04-20 10:55:13,502 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.importexport.create-job: calling handler <function unify_paging_params at 0x1d68ed8> | |
2015-04-20 10:55:13,503 - MainThread - botocore.hooks - DEBUG - Event building-argument-table.importexport.create-job: calling handler <function add_generate_skeleton at 0x1f22e60> | |
2015-04-20 10:55:13,503 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.importexport.create-job: calling handler <bound method CliInputJSONArgument.override_required_args of <awscli.customizations.cliinputjson.CliInputJSONArgument object at 0x2050310>> | |
2015-04-20 10:55:13,503 - MainThread - botocore.hooks - DEBUG - Event before-building-argument-table-parser.importexport.create-job: calling handler <bound method GenerateCliSkeletonArgument.override_required_args of <awscli.customizations.generatecliskeleton.GenerateCliSkeletonArgument object at 0x20508d0>> | |
2015-04-20 10:55:13,504 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.importexport.create-job.job-type: calling handler <function uri_param at 0x1d33938> | |
2015-04-20 10:55:13,504 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.importexport.create-job: calling handler <awscli.argprocess.ParamShorthand object at 0x1faced0> | |
2015-04-20 10:55:13,504 - MainThread - awscli.argprocess - DEBUG - Detected structure: scalar | |
2015-04-20 10:55:13,504 - MainThread - awscli.arguments - DEBUG - Unpacked value of u'import' for parameter "job_type": u'import' | |
2015-04-20 10:55:13,504 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.importexport.create-job.manifest: calling handler <function uri_param at 0x1d33938> | |
2015-04-20 10:55:13,504 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.importexport.create-job: calling handler <awscli.argprocess.ParamShorthand object at 0x1faced0> | |
2015-04-20 10:55:13,505 - MainThread - awscli.argprocess - DEBUG - Detected structure: scalar | |
2015-04-20 10:55:13,505 - MainThread - awscli.arguments - DEBUG - Unpacked value of u'/home/eduardr/Documents/aws-import-info/manifest1.txt' for parameter "manifest": u'/home/eduardr/Documents/aws-import-info/manifest1.txt' | |
2015-04-20 10:55:13,505 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.importexport.create-job.manifest-addendum: calling handler <function uri_param at 0x1d33938> | |
2015-04-20 10:55:13,505 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.importexport.create-job.validate-only: calling handler <function uri_param at 0x1d33938> | |
2015-04-20 10:55:13,505 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.importexport.create-job.api-version: calling handler <function uri_param at 0x1d33938> | |
2015-04-20 10:55:13,505 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.importexport.create-job.cli-input-json: calling handler <function uri_param at 0x1d33938> | |
2015-04-20 10:55:13,505 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.importexport.create-job.generate-cli-skeleton: calling handler <function uri_param at 0x1d33938> | |
2015-04-20 10:55:13,505 - MainThread - botocore.hooks - DEBUG - Event calling-command.importexport.create-job: calling handler <bound method GenerateCliSkeletonArgument.generate_json_skeleton of <awscli.customizations.generatecliskeleton.GenerateCliSkeletonArgument object at 0x20508d0>> | |
2015-04-20 10:55:13,505 - MainThread - botocore.hooks - DEBUG - Event calling-command.importexport.create-job: calling handler <bound method CliInputJSONArgument.add_to_call_parameters of <awscli.customizations.cliinputjson.CliInputJSONArgument object at 0x2050310>> | |
2015-04-20 10:55:13,505 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: env | |
2015-04-20 10:55:13,505 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: assume-role | |
2015-04-20 10:55:13,505 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: shared-credentials-file | |
2015-04-20 10:55:13,506 - MainThread - botocore.credentials - INFO - Found credentials in shared credentials file: ~/.aws/credentials | |
2015-04-20 10:55:13,511 - MainThread - botocore.client - DEBUG - Registering retry handlers for service: importexport | |
2015-04-20 10:55:13,511 - MainThread - botocore.client - DEBUG - Registering retry handlers for service: importexport | |
2015-04-20 10:55:13,514 - MainThread - botocore.endpoint - DEBUG - Making request for <botocore.model.OperationModel object at 0x2053190> (verify_ssl=True) with params: {'query_string': '', 'headers': {}, 'url_path': '/', 'body': {'Action': u'CreateJob', 'Version': u'2010-06-01', u'ValidateOnly': 'true', u'JobType': u'import', u'Manifest': u'/home/eduardr/Documents/aws-import-info/manifest1.txt'}, 'method': u'POST'} | |
2015-04-20 10:55:13,514 - MainThread - botocore.hooks - DEBUG - Event request-created.importexport.CreateJob: calling handler <bound method importexport._sign_request of <botocore.client.importexport object at 0x2053310>> | |
2015-04-20 10:55:13,514 - MainThread - botocore.auth - DEBUG - Calculating signature using v2 auth. | |
2015-04-20 10:55:13,514 - MainThread - botocore.auth - DEBUG - String to sign: POST | |
importexport.amazonaws.com | |
/ | |
AWSAccessKeyId=0F6TPDWBZMZWCZ8P1002&Action=CreateJob&JobType=import&Manifest=%2Fhome%2Feduardr%2FDocuments%2Faws-import-info%2Fmanifest1.txt&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-04-20T17%3A55%3A13Z&ValidateOnly=true&Version=2010-06-01 | |
2015-04-20 10:55:13,520 - MainThread - botocore.endpoint - DEBUG - Sending http request: <PreparedRequest [POST]> | |
2015-04-20 10:55:13,520 - MainThread - botocore.vendored.requests.packages.urllib3.connectionpool - INFO - Starting new HTTPS connection (1): importexport.amazonaws.com | |
2015-04-20 10:55:13,899 - MainThread - botocore.vendored.requests.packages.urllib3.connectionpool - DEBUG - "POST / HTTP/1.1" 400 298 | |
2015-04-20 10:55:13,901 - MainThread - botocore.parsers - DEBUG - Response headers: | |
{'content-length': '298', | |
'content-md5': '7pQbBuWNhHSwtYa3D4uOww==', | |
'content-type': 'text/xml', | |
'date': 'Mon, 20 Apr 2015 17:55:13 GMT', | |
'x-amzn-requestid': '6541c3dc-e786-11e4-a8f5-eb5ec8d94f53'} | |
2015-04-20 10:55:13,901 - MainThread - botocore.parsers - DEBUG - Response body: | |
<ErrorResponse xmlns="http://importexport.amazonaws.com/doc/2010-06-01/"> | |
<Error> | |
<Type>Sender</Type> | |
<Code>MalformedManifestException</Code> | |
<Message>Your manifest is not well-formed</Message> | |
</Error> | |
<RequestId>6541c3dc-e786-11e4-a8f5-eb5ec8d94f53</RequestId> | |
</ErrorResponse> | |
2015-04-20 10:55:13,901 - MainThread - botocore.hooks - DEBUG - Event needs-retry.importexport.CreateJob: calling handler <botocore.retryhandler.RetryHandler object at 0x201d910> | |
2015-04-20 10:55:13,902 - MainThread - botocore.retryhandler - DEBUG - No retry needed. | |
2015-04-20 10:55:13,902 - MainThread - botocore.hooks - DEBUG - Event after-call.importexport.CreateJob: calling handler <awscli.errorhandler.ErrorHandler object at 0x1fb6150> | |
2015-04-20 10:55:13,902 - MainThread - awscli.errorhandler - DEBUG - HTTP Response Code: 400 | |
2015-04-20 10:55:13,902 - MainThread - awscli.clidriver - DEBUG - Exception caught in main() | |
Traceback (most recent call last): | |
File "/usr/lib64/python2.7/site-packages/awscli/clidriver.py", line 183, in main | |
return command_table[parsed_args.command](remaining, parsed_args) | |
File "/usr/lib64/python2.7/site-packages/awscli/clidriver.py", line 369, in __call__ | |
return command_table[parsed_args.operation](remaining, parsed_globals) | |
File "/usr/lib64/python2.7/site-packages/awscli/clidriver.py", line 538, in __call__ | |
call_parameters, parsed_globals) | |
File "/usr/lib64/python2.7/site-packages/awscli/clidriver.py", line 662, in invoke | |
**parameters) | |
File "/usr/lib64/python2.7/site-packages/botocore/client.py", line 187, in _api_call | |
return self._make_api_call(operation_name, kwargs) | |
File "/usr/lib64/python2.7/site-packages/botocore/client.py", line 238, in _make_api_call | |
model=operation_model | |
File "/usr/lib64/python2.7/site-packages/botocore/hooks.py", line 226, in emit | |
return self._emit(event_name, kwargs) | |
File "/usr/lib64/python2.7/site-packages/botocore/hooks.py", line 209, in _emit | |
response = handler(**kwargs) | |
File "/usr/lib64/python2.7/site-packages/awscli/errorhandler.py", line 70, in __call__ | |
http_status_code=http_response.status_code) | |
ClientError: A client error (MalformedManifestException) occurred when calling the CreateJob operation: Your manifest is not well-formed | |
2015-04-20 10:55:13,903 - MainThread - awscli.clidriver - DEBUG - Exiting with rc 255 | |
A client error (MalformedManifestException) occurred when calling the CreateJob operation: Your manifest is not well-formed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment