Project

General

Profile

Actions

Bug #21003

open

chunk signature mismatch for AWSv4 and Oracle Secure Backup Cloud Module

Added by Dan van der Ster over 6 years ago. Updated over 6 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

We are getting

AWSv4ComplMulti: ERROR: chunk signature mismatch

when trying to upload to 12.1.3 luminous rgw from Oracle Secure Backup Cloud Module for Amazon S3.

2017-08-15 11:42:25.523344 7fc6f5ba3700 20 AWSv4ComplMulti: ERROR: chunk signature mismatch
2017-08-15 11:42:25.523344 7fc6f5ba3700 20 AWSv4ComplMulti: declared signature=6617277a2d0b07638dff7dfa7685d796a24187577bf6cbcdbafc91e396973749
2017-08-15 11:42:25.523345 7fc6f5ba3700 20 AWSv4ComplMulti: calculated signature=f0fdd6e8b2b3a7f9cdc2cb27a7fe241373a4ca078399c993db2a1dce507dfe6b

The client log shows:

nhp:  > Authorization: <hidden>
nhp:  >
nhp:  > write 16384 bytes
nhpAWS4EncWrite: string-to-sign
AWS4-HMAC-SHA256-PAYLOAD
20170815T094225Z
20170815/us-east-1/s3/aws4_request
b0214c8625d6f2fc23306b43dfc88d7cbdab552e3ad01fb3de36acc540e9e31f
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
d34f8a88085f31d696649c059b85d6cc0ae84d05409ba6387e278f3642038d6d
nhp: 2017-08-15 11:42:25.520675 send enter 0x7f284d006740 2697

And the rgw log shows:

2017-08-15 11:42:25.522482 7fc6f5ba3700  2 req 46:0.001111:s3:PUT /file_chunk/0/SBTDB/unknown/2017-08-15/test.txt/ZyH3tH
16jobK/0000000001:put_obj:executing
2017-08-15 11:42:25.522521 7fc6f5ba3700 20 parsed new chunk; signature=6617277a2d0b07638dff7dfa7685d796a24187577bf6cbcdb
afc91e396973749, data_length=87, data_starts_in_stream=91
2017-08-15 11:42:25.522528 7fc6f5ba3700 20 AWSv4ComplMulti: filled=77
2017-08-15 11:42:25.523276 7fc6f5ba3700 20 AWSv4ComplMulti: filled=10
2017-08-15 11:42:25.523318 7fc6f5ba3700 20 AWSv4ComplMulti: string_to_sign=
AWS4-HMAC-SHA256-PAYLOAD
20170815T094225Z
20170815/us-east-1/s3/aws4_request
b0214c8625d6f2fc23306b43dfc88d7cbdab552e3ad01fb3de36acc540e9e31f
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
535be80def9bba552ec426b35731c8efa5d2b6c3aff76e87e3289747de136b65
2017-08-15 11:42:25.523344 7fc6f5ba3700 20 AWSv4ComplMulti: ERROR: chunk signature mismatch
2017-08-15 11:42:25.523344 7fc6f5ba3700 20 AWSv4ComplMulti: declared signature=6617277a2d0b07638dff7dfa7685d796a24187577bf6cbcdbafc91e396973749
2017-08-15 11:42:25.523345 7fc6f5ba3700 20 AWSv4ComplMulti: calculated signature=f0fdd6e8b2b3a7f9cdc2cb27a7fe241373a4ca078399c993db2a1dce507dfe6b
2017-08-15 11:42:25.523555 7fc6f5ba3700  2 req 46:0.002183:s3:PUT /file_chunk/0/SBTDB/unknown/2017-08-15/test.txt/ZyH3tH16jobK/0000000001:put_obj:completing
2017-08-15 11:42:25.523602 7fc6f5ba3700  2 req 46:0.002230:s3:PUT /file_chunk/0/SBTDB/unknown/2017-08-15/test.txt/ZyH3tH16jobK/0000000001:put_obj:op status=-2027
2017-08-15 11:42:25.523607 7fc6f5ba3700  2 req 46:0.002236:s3:PUT /file_chunk/0/SBTDB/unknown/2017-08-15/test.txt/ZyH3tH16jobK/0000000001:put_obj:http status=403

Note that string_to_sign's differ by their payload_hash.


Files

ceph-client.rgw.cs3test.log.gz (51.1 KB) ceph-client.rgw.cs3test.log.gz Dan van der Ster, 08/15/2017 01:00 PM
wireshark.txt (651 KB) wireshark.txt client wireshark dump to ascii Dan van der Ster, 08/16/2017 12:32 PM
sbtio_28681_140566666970880.log (247 KB) sbtio_28681_140566666970880.log client log Dan van der Ster, 08/16/2017 12:47 PM
ceph-client.rgw.cs3test.log (242 KB) ceph-client.rgw.cs3test.log rgw log Dan van der Ster, 08/16/2017 12:51 PM
wireshark3.txt (4.05 KB) wireshark3.txt Dan van der Ster, 08/18/2017 09:56 AM

Related issues 1 (0 open1 closed)

Related to rgw - Bug #21015: rgw: make HTTP dechunking compatible with Amazon S3ResolvedRadoslaw Zarzynski08/16/2017

Actions
Actions

Also available in: Atom PDF