Bug 1222095 - rgw: broken multipart upload when resending parts
Summary: rgw: broken multipart upload when resending parts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 1.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: rc
: 1.3.0
Assignee: ceph-eng-bugs
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On: 1222091
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-15 18:22 UTC by Yehuda Sadeh
Modified: 2017-07-30 15:51 UTC (History)
11 users (show)

Fixed In Version: ceph-0.94.1-11.el7cp
Doc Type: Bug Fix
Doc Text:
Clone Of: 1222091
Environment:
Last Closed: 2015-06-24 15:53:03 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 11604 0 None None None Never
Red Hat Product Errata RHBA-2015:1183 0 normal SHIPPED_LIVE Ceph bug fix and enhancement update 2015-06-24 19:49:46 UTC

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


Note You need to log in before you can comment on or make changes to this bug.