Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1361044

Summary: Downloading a S3 multipart upload using swift throws md5sum != etag error
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: shilpa <smanjara>
Component: RGWAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: CLOSED NOTABUG QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact: Bara Ancincova <bancinco>
Priority: unspecified    
Version: 2.0CC: cbodley, ceph-eng-bugs, flucifre, hnallurv, kbader, kdreyer, mbenjamin, nlevine, owasserm, sweil, yehuda
Target Milestone: rc   
Target Release: 2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
.An error message is returned when downloading an S3 multipart file by using Swift When uploading a multiple part file by using the Simple Storage Service (S3) and then downloading it by using the Swift service, the following error message is returned: ---- Error downloading object: md5sum != etag ---- Despite the message, the upload and download operations succeed, and the message can be safely ignored.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-13 14:52:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1322504, 1383917    

Description shilpa 2016-07-28 09:04:27 UTC
Description of problem:
Download a S3 multipart upload using swift. Throws Error downloading object: md5sum != etag. But the download is successful though.

Version-Release number of selected component (if applicable):
10.2.2-27

How reproducible:
Always

Steps to Reproduce:
1. Upload a multipart file using S3
2. Download using swift. Throws a failure message but the object download has succeeded.
3. Download file using S3 using 'bucket.get_contentst_to_filename()'. Succeeds

Actual results:

# swift -A http://rgw:80/auth/1.0 -U "testuser:swift" -K "SgmON2jdBWhPFF1xkA69N8F8AghTyadjkATFONbQ" download bucket55 ubuntu
Error downloading object 'bucket55/ubuntu': u'Error downloading ubuntu: md5sum != etag, 17643c29e3c4609818f26becf76d29a3 != d951c7810b12018529b6e79c748b0b31-3'


Looks like a swift issue but not sure. I have only tried with RGW.

Comment 10 shilpa 2016-08-20 08:57:26 UTC
Looks good to me. Thanks Bara

Comment 14 Matt Benjamin (redhat) 2017-01-13 14:52:15 UTC
Closing NOTABUG because this is expected behavior.