Actions
Bug #69936
closed
CB
CB
s3 GetObject returns wrong checksum for Range requests
Bug #69936:
s3 GetObject returns wrong checksum for Range requests
Due date:
% Done:
0%
Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
s3 checksum
Merge Commit:
Fixed In:
v19.3.0-8044-g7307a3def7
Released In:
v20.2.0~976
Upkeep Timestamp:
2025-11-01T01:29:23+00:00
Description
for GetObject requests with a Range header, rgw should calculate/return a checksum for the requested range of bytes instead of the stored checksum header
reproducer in https://github.com/ceph/s3-tests/pull/619:
FAILED s3tests_boto3/functional/test_s3.py::test_multipart_copy_small - botocore.exceptions.FlexibleChecksumError: Expected checksum 4AAr8A== did not match calculated checksum: WbxXZw== FAILED s3tests_boto3/functional/test_s3.py::test_multipart_copy_special_names - botocore.exceptions.FlexibleChecksumError: Expected checksum g2eXRw== did not match calculated checksum: qgUmLw== FAILED s3tests_boto3/functional/test_s3.py::test_multipart_copy_multiple_sizes - botocore.exceptions.FlexibleChecksumError: Expected checksum R9Y9Og== did not match calculated checksum: WRq9Ww== FAILED s3tests_boto3/functional/test_s3.py::test_ranged_request_response_code - botocore.exceptions.FlexibleChecksumError: Expected checksum kC/QBA== did not match calculated checksum: 50r44A== FAILED s3tests_boto3/functional/test_s3.py::test_ranged_big_request_response_code - botocore.exceptions.FlexibleChecksumError: Expected checksum oDTwIA== did not match calculated checksum: JW3gew== FAILED s3tests_boto3/functional/test_s3.py::test_ranged_request_skip_leading_bytes_response_code - botocore.exceptions.FlexibleChecksumError: Expected checksum kC/QBA== did not match calculated checksum: /sUwqQ== FAILED s3tests_boto3/functional/test_s3.py::test_ranged_request_return_trailing_bytes_response_code - botocore.exceptions.FlexibleChecksumError: Expected checksum kC/QBA== did not match calculated checksum: /sUwqQ==
CB Updated by Casey Bodley almost 2 years ago
- Description updated (diff)
CB Updated by Casey Bodley almost 2 years ago
- Related to Bug #64801: s3tests: unpin botocore version added
CB Updated by Casey Bodley almost 2 years ago
- Status changed from New to Fix Under Review
- Assignee changed from Matt Benjamin to Casey Bodley
- Pull request ID set to 61901
CB Updated by Casey Bodley almost 2 years ago
- Status changed from Fix Under Review to Resolved
UB Updated by Upkeep Bot over 1 year ago
- Merge Commit set to 7307a3def7e1efaf693919e2d5ad07cfbdb3066a
- Fixed In set to v19.3.0-8044-g7307a3def7e
- Upkeep Timestamp set to 2025-07-09T22:40:29+00:00
UB Updated by Upkeep Bot over 1 year ago
- Fixed In changed from v19.3.0-8044-g7307a3def7e to v19.3.0-8044-g7307a3def7
- Upkeep Timestamp changed from 2025-07-09T22:40:29+00:00 to 2025-07-14T18:14:14+00:00
UB Updated by Upkeep Bot about 1 year ago
- Released In set to v20.2.0~976
- Upkeep Timestamp changed from 2025-07-14T18:14:14+00:00 to 2025-11-01T01:29:23+00:00
Actions