Hello everyone, Ceph Cluster Release: Pacific I'm trying to achieve SSE-C and using the aws-cli for this. On running the command $ aws s3 cp --profile=multisite --endpoint=http://127.0.0.1:8000 --sse-c AES256 --sse-c-key 12345678901234567890123456789012 test.txt s3://lar upload failed: ./test.txt to s3://lar/test.txt An error occurred (InvalidRequest) when calling the PutObject operation: Unknown With --debug flag: $ aws s3 cp --profile=multisite --endpoint=http://127.0.0.1:8000 --sse-c AES256 --sse-c-key 12345678901234567890123456789012 test.txt s3://lar --debug 2021-08-16 12:19:11,132 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/1.15.58 Python/3.5.2 Linux/5.11.0-25-generic botocore/1.10.57 2021-08-16 12:19:11,133 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['s3', 'cp', '--profile=multisite', '--endpoint=http://127.0.0.1:8000', '--sse-c', 'AES256', '--sse-c-key', '12345678901234567890123456789012', 'test.txt', 's3://lar', '--debug'] 2021-08-16 12:19:11,133 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_scalar_parsers at 0x7f4b094f9598> 2021-08-16 12:19:11,133 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,133 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function register_uri_param_handler at 0x7f4b089c6158> 2021-08-16 12:19:11,133 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,134 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_assume_role_provider_cache at 0x7f4b09209ae8> 2021-08-16 12:19:11,134 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,134 - MainThread - botocore.session - DEBUG - Loading variable credentials_file from defaults. 2021-08-16 12:19:11,134 - MainThread - botocore.session - DEBUG - Loading variable config_file from defaults. 2021-08-16 12:19:11,134 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,134 - MainThread - botocore.session - DEBUG - Loading variable metadata_service_timeout from defaults. 2021-08-16 12:19:11,134 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,134 - MainThread - botocore.session - DEBUG - Loading variable metadata_service_num_attempts from defaults. 2021-08-16 12:19:11,135 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,135 - MainThread - botocore.credentials - DEBUG - Skipping environment variable credential check because profile name was explicitly set. 2021-08-16 12:19:11,135 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function attach_history_handler at 0x7f4b07bbc400> 2021-08-16 12:19:11,135 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,135 - MainThread - botocore.hooks - DEBUG - Event building-command-table.s3: calling handler <function add_waiters at 0x7f4b094fd950> 2021-08-16 12:19:11,136 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.s3.anonymous: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,136 - MainThread - botocore.hooks - DEBUG - Event building-command-table.cp: calling handler <function add_waiters at 0x7f4b094fd950> 2021-08-16 12:19:11,137 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.anonymous: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,137 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.storage-class: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,138 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.sse-kms-key-id: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,138 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.acl: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,138 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.anonymous: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,138 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.quiet: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,138 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.cp: calling handler <awscli.argprocess.ParamShorthandParser object at 0x7f4b089bc438> 2021-08-16 12:19:11,138 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.sse-c-copy-source: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,138 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.website-redirect: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,138 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.content-type: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,138 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.content-encoding: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,138 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.cache-control: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,138 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.request-payer: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,138 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.anonymous: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,138 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.expected-size: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,138 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.expires: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,139 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.paths: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,139 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.metadata: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,139 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.sse-c-copy-source-key: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,139 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.page-size: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,139 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.anonymous: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,139 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.source-region: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,139 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.follow-symlinks: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,139 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.cp: calling handler <awscli.argprocess.ParamShorthandParser object at 0x7f4b089bc438> 2021-08-16 12:19:11,139 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.dryrun: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,139 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.cp: calling handler <awscli.argprocess.ParamShorthandParser object at 0x7f4b089bc438> 2021-08-16 12:19:11,139 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.sse-c-key: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,139 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.cp: calling handler <awscli.argprocess.ParamShorthandParser object at 0x7f4b089bc438> 2021-08-16 12:19:11,139 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.sse: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,139 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.force-glacier-transfer: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,139 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.cp: calling handler <awscli.argprocess.ParamShorthandParser object at 0x7f4b089bc438> 2021-08-16 12:19:11,139 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.content-language: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,139 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.sse-c: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,140 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.content-disposition: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,140 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.grants: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,140 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.ignore-glacier-warnings: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,140 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.cp: calling handler <awscli.argprocess.ParamShorthandParser object at 0x7f4b089bc438> 2021-08-16 12:19:11,140 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.only-show-errors: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,140 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.cp: calling handler <awscli.argprocess.ParamShorthandParser object at 0x7f4b089bc438> 2021-08-16 12:19:11,140 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.cp.metadata-directive: calling handler <awscli.paramfile.URIArgumentHandler object at 0x7f4b0d5c7198> 2021-08-16 12:19:11,140 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,140 - MainThread - botocore.session - DEBUG - Loading variable region from defaults. 2021-08-16 12:19:11,140 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,140 - MainThread - botocore.session - DEBUG - Loading variable ca_bundle from defaults. 2021-08-16 12:19:11,140 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,140 - MainThread - botocore.session - DEBUG - Loading variable api_versions from defaults. 2021-08-16 12:19:11,140 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: assume-role 2021-08-16 12:19:11,140 - MainThread - botocore.credentials - DEBUG - Looking for credentials via: shared-credentials-file 2021-08-16 12:19:11,141 - MainThread - botocore.credentials - INFO - Found credentials in shared credentials file: ~/.aws/credentials 2021-08-16 12:19:11,141 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /snap/aws-cli/130/lib/python3.5/site-packages/botocore/data/endpoints.json 2021-08-16 12:19:11,144 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,144 - MainThread - botocore.hooks - DEBUG - Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f4b091e6730> 2021-08-16 12:19:11,145 - MainThread - botocore.loaders - DEBUG - Loading JSON file: /snap/aws-cli/130/lib/python3.5/site-packages/botocore/data/s3/2006-03-01/service-2.json 2021-08-16 12:19:11,175 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler <function add_generate_presigned_post at 0x7f4b0b3a2e18> 2021-08-16 12:19:11,175 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler <function add_generate_presigned_url at 0x7f4b0b3a2bf8> 2021-08-16 12:19:11,175 - MainThread - botocore.args - DEBUG - The s3 config key is not a dictionary type, ignoring its value of: None 2021-08-16 12:19:11,178 - MainThread - botocore.endpoint - DEBUG - Setting s3 timeout as (60, 60) 2021-08-16 12:19:11,179 - MainThread - botocore.client - DEBUG - Registering retry handlers for service: s3 2021-08-16 12:19:11,179 - MainThread - botocore.client - DEBUG - Using S3 path style addressing. 2021-08-16 12:19:11,179 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,179 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,179 - MainThread - botocore.session - DEBUG - Loading variable region from defaults. 2021-08-16 12:19:11,179 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,180 - MainThread - botocore.session - DEBUG - Loading variable ca_bundle from defaults. 2021-08-16 12:19:11,180 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,180 - MainThread - botocore.session - DEBUG - Loading variable api_versions from defaults. 2021-08-16 12:19:11,180 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,180 - MainThread - botocore.hooks - DEBUG - Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f4b091e6730> 2021-08-16 12:19:11,180 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler <function add_generate_presigned_post at 0x7f4b0b3a2e18> 2021-08-16 12:19:11,181 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler <function add_generate_presigned_url at 0x7f4b0b3a2bf8> 2021-08-16 12:19:11,181 - MainThread - botocore.args - DEBUG - The s3 config key is not a dictionary type, ignoring its value of: None 2021-08-16 12:19:11,183 - MainThread - botocore.endpoint - DEBUG - Setting s3 timeout as (60, 60) 2021-08-16 12:19:11,183 - MainThread - botocore.client - DEBUG - Registering retry handlers for service: s3 2021-08-16 12:19:11,184 - MainThread - botocore.client - DEBUG - Using S3 path style addressing. 2021-08-16 12:19:11,184 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,184 - MainThread - botocore.session - DEBUG - Loading variable region from defaults. 2021-08-16 12:19:11,184 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,184 - MainThread - botocore.session - DEBUG - Loading variable ca_bundle from defaults. 2021-08-16 12:19:11,184 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,184 - MainThread - botocore.session - DEBUG - Loading variable api_versions from defaults. 2021-08-16 12:19:11,184 - MainThread - botocore.session - DEBUG - Loading variable profile from instance vars with value 'multisite'. 2021-08-16 12:19:11,184 - MainThread - botocore.hooks - DEBUG - Event choose-service-name: calling handler <function handle_service_name_alias at 0x7f4b091e6730> 2021-08-16 12:19:11,185 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler <function add_generate_presigned_post at 0x7f4b0b3a2e18> 2021-08-16 12:19:11,185 - MainThread - botocore.hooks - DEBUG - Event creating-client-class.s3: calling handler <function add_generate_presigned_url at 0x7f4b0b3a2bf8> 2021-08-16 12:19:11,185 - MainThread - botocore.args - DEBUG - The s3 config key is not a dictionary type, ignoring its value of: None 2021-08-16 12:19:11,188 - MainThread - botocore.endpoint - DEBUG - Setting s3 timeout as (60, 60) 2021-08-16 12:19:11,189 - MainThread - botocore.client - DEBUG - Registering retry handlers for service: s3 2021-08-16 12:19:11,189 - MainThread - botocore.client - DEBUG - Using S3 path style addressing. 2021-08-16 12:19:11,189 - MainThread - awscli.customizations.s3.s3handler - DEBUG - Using a multipart threshold of 8388608 and a part size of 8388608 2021-08-16 12:19:11,190 - MainThread - s3transfer.utils - DEBUG - Acquiring 0 2021-08-16 12:19:11,191 - Thread-2 - s3transfer.tasks - DEBUG - UploadSubmissionTask(transfer_id=0, {'transfer_future': <s3transfer.futures.TransferFuture object at 0x7f4b07a99630>}) about to wait for the following futures [] 2021-08-16 12:19:11,191 - Thread-2 - s3transfer.tasks - DEBUG - UploadSubmissionTask(transfer_id=0, {'transfer_future': <s3transfer.futures.TransferFuture object at 0x7f4b07a99630>}) done waiting for dependent futures 2021-08-16 12:19:11,191 - Thread-2 - s3transfer.tasks - DEBUG - Executing task UploadSubmissionTask(transfer_id=0, {'transfer_future': <s3transfer.futures.TransferFuture object at 0x7f4b07a99630>}) with kwargs {'osutil': <s3transfer.utils.OSUtils object at 0x7f4b07b13710>, 'transfer_future': <s3transfer.futures.TransferFuture object at 0x7f4b07a99630>, 'config': <s3transfer.manager.TransferConfig object at 0x7f4b07b136a0>, 'client': <botocore.client.S3 object at 0x7f4b07b42c88>, 'request_executor': <s3transfer.futures.BoundedExecutor object at 0x7f4b07b13898>} 2021-08-16 12:19:11,193 - Thread-2 - s3transfer.futures - DEBUG - Submitting task PutObjectTask(transfer_id=0, {'extra_args': {'SSECustomerKey': '12345678901234567890123456789012', 'ContentType': 'text/plain', 'SSECustomerAlgorithm': 'AES256'}, 'bucket': 'lar', 'key': 'test.txt'}) to executor <s3transfer.futures.BoundedExecutor object at 0x7f4b07b13898> for transfer request: 0. 2021-08-16 12:19:11,193 - Thread-2 - s3transfer.utils - DEBUG - Acquiring 0 2021-08-16 12:19:11,194 - Thread-3 - s3transfer.tasks - DEBUG - PutObjectTask(transfer_id=0, {'extra_args': {'SSECustomerKey': '12345678901234567890123456789012', 'ContentType': 'text/plain', 'SSECustomerAlgorithm': 'AES256'}, 'bucket': 'lar', 'key': 'test.txt'}) about to wait for the following futures [] 2021-08-16 12:19:11,194 - Thread-3 - s3transfer.tasks - DEBUG - PutObjectTask(transfer_id=0, {'extra_args': {'SSECustomerKey': '12345678901234567890123456789012', 'ContentType': 'text/plain', 'SSECustomerAlgorithm': 'AES256'}, 'bucket': 'lar', 'key': 'test.txt'}) done waiting for dependent futures 2021-08-16 12:19:11,194 - Thread-3 - s3transfer.tasks - DEBUG - Executing task PutObjectTask(transfer_id=0, {'extra_args': {'SSECustomerKey': '12345678901234567890123456789012', 'ContentType': 'text/plain', 'SSECustomerAlgorithm': 'AES256'}, 'bucket': 'lar', 'key': 'test.txt'}) with kwargs {'extra_args': {'SSECustomerKey': '12345678901234567890123456789012', 'ContentType': 'text/plain', 'SSECustomerAlgorithm': 'AES256'}, 'bucket': 'lar', 'key': 'test.txt', 'fileobj': <s3transfer.utils.ReadFileChunk object at 0x7f4b07a99278>, 'client': <botocore.client.S3 object at 0x7f4b07b42c88>} 2021-08-16 12:19:11,194 - Thread-3 - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler <function validate_ascii_metadata at 0x7f4b091d9a60> 2021-08-16 12:19:11,195 - Thread-2 - s3transfer.utils - DEBUG - Releasing acquire 0/None 2021-08-16 12:19:11,195 - Thread-3 - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler <function sse_md5 at 0x7f4b091dae18> 2021-08-16 12:19:11,195 - Thread-3 - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler <function convert_body_to_file_like_object at 0x7f4b091de1e0> 2021-08-16 12:19:11,195 - Thread-3 - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler <function validate_bucket_name at 0x7f4b091dad90> 2021-08-16 12:19:11,195 - Thread-3 - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler <bound method S3RegionRedirector.redirect_from_cache of <botocore.utils.S3RegionRedirector object at 0x7f4b07ae46a0>> 2021-08-16 12:19:11,195 - Thread-3 - botocore.hooks - DEBUG - Event before-parameter-build.s3.PutObject: calling handler <function generate_idempotent_uuid at 0x7f4b091da9d8> 2021-08-16 12:19:11,196 - Thread-3 - botocore.hooks - DEBUG - Event before-call.s3.PutObject: calling handler <function conditionally_calculate_md5 at 0x7f4b091dad08> 2021-08-16 12:19:11,196 - Thread-3 - botocore.hooks - DEBUG - Event before-call.s3.PutObject: calling handler <function add_expect_header at 0x7f4b091d92f0> 2021-08-16 12:19:11,196 - Thread-3 - botocore.handlers - DEBUG - Adding expect 100 continue header to request. 2021-08-16 12:19:11,196 - Thread-3 - botocore.hooks - DEBUG - Event before-call.s3.PutObject: calling handler <bound method S3RegionRedirector.set_request_url of <botocore.utils.S3RegionRedirector object at 0x7f4b07ae46a0>> 2021-08-16 12:19:11,196 - Thread-3 - botocore.endpoint - DEBUG - Making request for OperationModel(name=PutObject) (verify_ssl=True) with params: {'query_string': {}, 'headers': {'x-amz-server-side-encryption-customer-key-MD5': 'dnF5x6K/8ZZRzpfSlMMM+w==', 'Content-Type': 'text/plain', 'Expect': '100-continue', 'x-amz-server-side-encryption-customer-key': 'MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI=', 'User-Agent': 'aws-cli/1.15.58 Python/3.5.2 Linux/5.11.0-25-generic botocore/1.10.57', 'x-amz-server-side-encryption-customer-algorithm': 'AES256', 'Content-MD5': 'aGxbnXVc/PFCs7o36zPmiA=='}, 'body': <s3transfer.utils.ReadFileChunk object at 0x7f4b07a99278>, 'url_path': '/lar/test.txt', 'url': 'http://127.0.0.1:8000/lar/test.txt', 'method': 'PUT', 'context': {'has_streaming_input': True, 'auth_type': None, 'signing': {'bucket': 'lar'}, 'client_config': <botocore.config.Config object at 0x7f4b07b42e48>, 'client_region': 'us-east-1'}} 2021-08-16 12:19:11,196 - Thread-3 - botocore.hooks - DEBUG - Event request-created.s3.PutObject: calling handler <function signal_not_transferring at 0x7f4b080ef8c8> 2021-08-16 12:19:11,197 - Thread-3 - botocore.hooks - DEBUG - Event request-created.s3.PutObject: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7f4b07b42e10>> 2021-08-16 12:19:11,197 - Thread-3 - botocore.hooks - DEBUG - Event choose-signer.s3.PutObject: calling handler <bound method ClientCreator._default_s3_presign_to_sigv2 of <botocore.client.ClientCreator object at 0x7f4b07b15a58>> 2021-08-16 12:19:11,197 - Thread-3 - botocore.hooks - DEBUG - Event choose-signer.s3.PutObject: calling handler <function set_operation_specific_signer at 0x7f4b091da8c8> 2021-08-16 12:19:11,197 - Thread-3 - botocore.auth - DEBUG - Calculating signature using v4 auth. 2021-08-16 12:19:11,197 - Thread-3 - botocore.auth - DEBUG - CanonicalRequest: PUT /lar/test.txt content-md5:aGxbnXVc/PFCs7o36zPmiA== content-type:text/plain host:127.0.0.1:8000 x-amz-content-sha256:db6279e5faa732371edf38e4637630dc2affb3a8373180e2374878c1932104b1 x-amz-date:20210816T064911Z x-amz-server-side-encryption-customer-algorithm:AES256 x-amz-server-side-encryption-customer-key:MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI= x-amz-server-side-encryption-customer-key-md5:dnF5x6K/8ZZRzpfSlMMM+w== content-md5;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-server-side-encryption-customer-algorithm;x-amz-server-side-encryption-customer-key;x-amz-server-side-encryption-customer-key-md5 db6279e5faa732371edf38e4637630dc2affb3a8373180e2374878c1932104b1 2021-08-16 12:19:11,198 - Thread-3 - botocore.auth - DEBUG - StringToSign: AWS4-HMAC-SHA256 20210816T064911Z 20210816/us-east-1/s3/aws4_request 5c493542d39a4668a5702d54b1beb1de3bb02d5232080d8d82218df56c7490de 2021-08-16 12:19:11,198 - Thread-3 - botocore.auth - DEBUG - Signature: baf5de49e288621285dbb1d64d779f3117efa40160b8726c829891e9906fcd3d 2021-08-16 12:19:11,198 - Thread-3 - botocore.hooks - DEBUG - Event request-created.s3.PutObject: calling handler <function signal_transferring at 0x7f4b080ef950> 2021-08-16 12:19:11,206 - Thread-3 - botocore.endpoint - DEBUG - Sending http request: <PreparedRequest [PUT]> 2021-08-16 12:19:11,206 - Thread-3 - botocore.vendored.requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1): 127.0.0.1 2021-08-16 12:19:11,207 - Thread-3 - botocore.awsrequest - DEBUG - Waiting for 100 Continue response. 2021-08-16 12:19:11,214 - Thread-3 - botocore.awsrequest - DEBUG - 100 Continue response seen, now sending request body. 2021-08-16 12:19:11,215 - Thread-3 - botocore.vendored.requests.packages.urllib3.connectionpool - DEBUG - "PUT /lar/test.txt HTTP/1.1" 400 201 2021-08-16 12:19:11,215 - Thread-3 - botocore.parsers - DEBUG - Response headers: {'accept-ranges': 'bytes', 'date': 'Mon, 16 Aug 2021 06:49:11 GMT', 'content-length': '201', 'content-type': 'application/xml', 'x-amz-request-id': 'tx00000000000000005e2c1-00611a0a67-4074-z2', 'connection': 'Keep-Alive'} 2021-08-16 12:19:11,215 - Thread-3 - botocore.parsers - DEBUG - Response body: b'<?xml version="1.0" encoding="UTF-8"?><Error><Code>InvalidRequest</Code><BucketName>lar</BucketName><RequestId>tx00000000000000005e2c1-00611a0a67-4074-z2</RequestId><HostId>4074-z2-blr</HostId></Error>' 2021-08-16 12:19:11,216 - Thread-3 - botocore.hooks - DEBUG - Event needs-retry.s3.PutObject: calling handler <botocore.retryhandler.RetryHandler object at 0x7f4b07ae4668> 2021-08-16 12:19:11,216 - Thread-3 - botocore.retryhandler - DEBUG - No retry needed. 2021-08-16 12:19:11,216 - Thread-3 - botocore.hooks - DEBUG - Event needs-retry.s3.PutObject: calling handler <bound method S3RegionRedirector.redirect_from_error of <botocore.utils.S3RegionRedirector object at 0x7f4b07ae46a0>> 2021-08-16 12:19:11,216 - Thread-3 - botocore.hooks - DEBUG - Event after-call.s3.PutObject: calling handler <function enhance_error_msg at 0x7f4b094f9048> 2021-08-16 12:19:11,218 - Thread-3 - s3transfer.tasks - DEBUG - Exception raised. Traceback (most recent call last): File "/snap/aws-cli/130/lib/python3.5/site-packages/s3transfer/tasks.py", line 126, in __call__ return self._execute_main(kwargs) File "/snap/aws-cli/130/lib/python3.5/site-packages/s3transfer/tasks.py", line 150, in _execute_main return_value = self._main(**kwargs) File "/snap/aws-cli/130/lib/python3.5/site-packages/s3transfer/upload.py", line 692, in _main client.put_object(Bucket=bucket, Key=key, Body=body, **extra_args) File "/snap/aws-cli/130/lib/python3.5/site-packages/botocore/client.py", line 314, in _api_call return self._make_api_call(operation_name, kwargs) File "/snap/aws-cli/130/lib/python3.5/site-packages/botocore/client.py", line 612, in _make_api_call raise error_class(parsed_response, operation_name) botocore.exceptions.ClientError: An error occurred (InvalidRequest) when calling the PutObject operation: Unknown 2021-08-16 12:19:11,218 - Thread-3 - s3transfer.utils - DEBUG - Releasing acquire 0/None upload failed: ./test.txt to s3://lar/test.txt An error occurred (InvalidRequest) when calling the PutObject operation: Unknown 2021-08-16 12:19:11,219 - Thread-1 - awscli.customizations.s3.results - DEBUG - Shutdown request received in result processing thread, shutting down result thread. Recommendations? Thanks Jayanth Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. NxtGen Datacenter & Cloud Technologies Private Ltd has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. NxtGen Datacenter & Cloud Technologies Private Ltd reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the NxtGen Datacenter & Cloud Technologies Private Ltd e-mail system. We have moved to new location from Embassy TechVillage to Akshay Tech Park, Plot No. 72 & 73, EPIP Area, Whitefield,Bangalore - 560066,Karnataka, INDIA ******** End of Disclaimer ********NXTGEN*** _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx