Bug 1234635 - rgw: COPY doesn't preserve Content-Type if object is larger than 512k
Summary: rgw: COPY doesn't preserve Content-Type if object is larger than 512k
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
medium
Target Milestone: rc
: 1.3.0
Assignee: Yehuda Sadeh
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-22 21:49 UTC by Yehuda Sadeh
Modified: 2022-02-21 18:31 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-16 22:20:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 11563 0 None None None Never
Red Hat Issue Tracker RHCEPH-3457 0 None None None 2022-02-21 18:31:42 UTC
Red Hat Product Errata RHBA-2015:1240 0 normal SHIPPED_LIVE multiple ceph bug fixes 2015-07-17 02:19:56 UTC

Description Yehuda Sadeh 2015-06-22 21:49:35 UTC
Description of problem:

Copying of an object does not preserve content type if object is > 512k (S3).

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


How reproducible:
always


Steps to Reproduce:
1. Create object > 512k and set content type
2. Copy it using S3 (need to have x-amz-metadata-directive=COPY)
3. Check content type on destination object

Actual results:
Content type not retained

Expected results:
Content type retained

Comment 3 Tanay Ganguly 2015-07-14 05:39:14 UTC
Marking this Bug as Verified, as the content_type is preserved after copying the object.

root@RGW ~]# rpm -qa |grep ceph
ceph-radosgw-0.94.1-15.el7cp.x86_64
ceph-common-0.94.1-15.el7cp.x86_64

Comment 5 errata-xmlrpc 2015-07-16 22:20:12 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:1240


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