+++ 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:
Merged upstream at https://github.com/ceph/ceph/pull/4696
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:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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