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 1222095

Summary: rgw: broken multipart upload when resending parts
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Yehuda Sadeh <yehuda>
Component: RGWAssignee: ceph-eng-bugs <ceph-eng-bugs>
Status: CLOSED ERRATA QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 1.3.0CC: cbodley, ceph-eng-bugs, ceph-qe-bugs, flucifre, hnallurv, kbader, kdreyer, mbenjamin, owasserm, sweil, vakulkar
Target Milestone: rc   
Target Release: 1.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-0.94.1-11.el7cp Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1222091 Environment:
Last Closed: 2015-06-24 15:53:03 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: 1222091    
Bug Blocks:    

Description Yehuda Sadeh 2015-05-15 18:22:50 UTC
+++ This bug was initially created as a clone of Bug #1222091 +++

Description of problem:

Generated object is broken when parts are getting resent.


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


How reproducible:

always


Steps to Reproduce:
1. Upload multipart object
2. Resend one of the object parts
3. Complete upload

Actual results:


Object is broken, missing 512k. There is a discrepancy about object size when listing the object vs stating the object.


Expected results:

Object should contain valid data

Additional info:

Comment 2 Ken Dreyer (Red Hat) 2015-05-19 17:23:49 UTC
Merged upstream at https://github.com/ceph/ceph/pull/4696

Comment 5 Vasu Kulkarni 2015-05-21 21:51:04 UTC
verified with modified s3_multipart script in ceph-qa-suite, this seems to work fine

[ubuntu@magna078 rgw]$ ceph --version
ceph version 0.94.1 (e4bfad3a3c51054df7e537a724c8d0bf9be972ff)

[ubuntu@magna078 rgw]$ ceph -s
    cluster 76ebb279-30c7-41ff-97b6-c62102806bce
     health HEALTH_OK
     monmap e1: 3 mons at {a=10.8.128.78:6789/0,b=10.8.128.74:6789/0,c=10.8.128.78:6790/0}
            election epoch 4, quorum 0,1,2 b,a,c
     osdmap e24: 6 osds: 6 up, 6 in
      pgmap v270: 168 pgs, 12 pools, 10161 MB data, 2927 objects
            21976 MB used, 5564 GB / 5586 GB avail
                 168 active+clean


Partial Logs:
2015-05-21T16:53:39.446 INFO:tasks.workunit.client.0.magna078.stderr:10+0 records in
2015-05-21T16:53:39.447 INFO:tasks.workunit.client.0.magna078.stderr:10+0 records out
2015-05-21T16:53:39.447 INFO:tasks.workunit.client.0.magna078.stderr:104857600 bytes (105 MB) copied, 0.075165 s, 1.4 GB/s
2015-05-21T16:53:42.946 INFO:tasks.workunit.client.0.magna078.stdout:adding file to bucket buck_2015_04_21_16_53_15: 100Mb.8
2015-05-21T16:53:42.946 INFO:tasks.workunit.client.0.magna078.stdout:upload file successful
2015-05-21T16:53:42.946 INFO:tasks.workunit.client.0.magna078.stdout:uploading file - part 9
2015-05-21T16:53:43.023 INFO:tasks.workunit.client.0.magna078.stderr:10+0 records in
2015-05-21T16:53:43.023 INFO:tasks.workunit.client.0.magna078.stderr:10+0 records out
2015-05-21T16:53:43.024 INFO:tasks.workunit.client.0.magna078.stderr:104857600 bytes (105 MB) copied, 0.076031 s, 1.4 GB/s
2015-05-21T16:53:45.899 INFO:tasks.workunit.client.0.magna078.stdout:adding file to bucket buck_2015_04_21_16_53_15: 100Mb.9
2015-05-21T16:53:45.899 INFO:tasks.workunit.client.0.magna078.stdout:upload file successful
2015-05-21T16:53:45.899 INFO:tasks.workunit.client.0.magna078.stdout:uploading file - part 10
2015-05-21T16:53:45.976 INFO:tasks.workunit.client.0.magna078.stderr:10+0 records in
2015-05-21T16:53:45.977 INFO:tasks.workunit.client.0.magna078.stderr:10+0 records out
2015-05-21T16:53:45.977 INFO:tasks.workunit.client.0.magna078.stderr:104857600 bytes (105 MB) copied, 0.076467 s, 1.4 GB/s
2015-05-21T16:54:03.610 INFO:tasks.workunit.client.0.magna078.stdout:adding file to bucket buck_2015_04_21_16_53_15: 100Mb.10
2015-05-21T16:54:03.611 INFO:tasks.workunit.client.0.magna078.stdout:upload file successful
2015-05-21T16:54:03.611 INFO:tasks.workunit.client.0.magna078.stdout:Downloading 100Mb.1 from bucket to /tmp/downloadfile.1
2015-05-21T16:54:03.611 INFO:tasks.workunit.client.0.magna078.stdout:Downloading 100Mb.2 from bucket to /tmp/downloadfile.2
2015-05-21T16:54:03.612 INFO:tasks.workunit.client.0.magna078.stdout:Downloading 100Mb.3 from bucket to /tmp/downloadfile.3
2015-05-21T16:54:03.612 INFO:tasks.workunit.client.0.magna078.stdout:Downloading 100Mb.4 from bucket to /tmp/downloadfile.4
2015-05-21T16:54:03.612 INFO:tasks.workunit.client.0.magna078.stdout:Downloading 100Mb.5 from bucket to /tmp/downloadfile.5
2015-05-21T16:54:03.613 INFO:tasks.workunit.client.0.magna078.stdout:Downloading 100Mb.6 from bucket to /tmp/downloadfile.6
2015-05-21T16:54:03.613 INFO:tasks.workunit.client.0.magna078.stdout:Downloading 100Mb.7 from bucket to /tmp/downloadfile.7
2015-05-21T16:54:03.613 INFO:tasks.workunit.client.0.magna078.stdout:Downloading 100Mb.8 from bucket to /tmp/downloadfile.8
2015-05-21T16:54:03.613 INFO:tasks.workunit.client.0.magna078.stdout:Downloading 100Mb.9 from bucket to /tmp/downloadfile.9
2015-05-21T16:54:03.614 INFO:tasks.workunit.client.0.magna078.stdout:Downloading 100Mb.10 from bucket to /tmp/downloadfile.10
2015-05-21T16:54:03.614 INFO:tasks.workunit.client.0.magna078.stdout:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2015-05-21T16:54:03.614 INFO:tasks.workunit.client.0.magna078.stdout:Test case:  PASSED - checksum verification for multipart upload passed
2015-05-21T16:54:03.614 INFO:tasks.workunit.client.0.magna078.stdout:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Comment 7 errata-xmlrpc 2015-06-24 15:53:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2015:1183