+++ This bug was initially created as a clone of Bug #1222093 +++ Description of problem: In a multipart upload, when resending the first part of the object, and potentially other parts of the objects, the manifest created is broken. Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. Create multipart upload 2. Resend the first part of the object 3. Finish multipart upload 4. radosgw-admin object stat --bucket=<bucket> --object=<object> Actual results: Manifest is broken, the prefix defines the first part correctly, but following parts do not hold override_prefix as needed. Expected results: Prefix should note the first object (prefix) appropriately, and subsequent parts should have correct override_prefix. Additional info: The s3-tests suite has a test that covers this one now.
merged upstream at https://github.com/ceph/ceph/pull/4696
Tested and verified on ceph-radosgw-0.94.1-11.el7cp.x86_64 After uploading first part of the multipart twice, the override_prefix for the rest of the parts look ok. "head_size": 0, "max_head_size": 0, "prefix": "test.txt.Muq3pA6LJZC3Qsn3okboft13a7Cz16p", "tail_bucket": { "name": "testbucket", "pool": ".rgw.buckets", "data_extra_pool": ".rgw.buckets.extra", "index_pool": ".rgw.buckets.index", "marker": "default.16166.3", "bucket_id": "default.16166.3" }, "rules": [ { "key": 0, "val": { "start_part_num": 1, "start_ofs": 0, "part_size": 52428800, "stripe_max_size": 4194304, "override_prefix": "" } }, { "key": 52428800, "val": { "start_part_num": 2, "start_ofs": 52428800, "part_size": 52428800, "stripe_max_size": 4194304, "override_prefix": "file.txt.2~EA0vMlcvAdDhYK51OwgUcvDQ2RhH5Gq" } }, { "key": 262144000, "val": { "start_part_num": 6, "start_ofs": 262144000, "part_size": 32780672, "stripe_max_size": 4194304, "override_prefix": "test.txt.2~EA0vMlcvAdDhYK51OwgUcvDQ2RhH5Gq"
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