Bug 2310381 - [s3-object-restore]: head-object does not return Restore status and StorageClass headers for objects
Summary: [s3-object-restore]: head-object does not return Restore status and StorageCl...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 8.0
Assignee: Shreyansh Sancheti
QA Contact: Vidushi Mishra
URL:
Whiteboard:
Depends On:
Blocks: 2317218
TreeView+ depends on / blocked
 
Reported: 2024-09-06 09:48 UTC by Vidushi Mishra
Modified: 2024-11-25 09:09 UTC (History)
7 users (show)

Fixed In Version: ceph-19.2.0-16.el9cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-11-25 09:09:01 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-9715 0 None None None 2024-09-06 09:49:01 UTC
Red Hat Product Errata RHBA-2024:10216 0 None None None 2024-11-25 09:09:06 UTC

Description Vidushi Mishra 2024-09-06 09:48:14 UTC
Description of problem:

While attempting to retrieve the metadata of a restored object, the Restore status and StorageClass headers are not returned as expected. 

These headers are important for understanding the storage class of an object (depends on temporary/permanent restore) and the restoration progress of objects.

headers requested in the response are :
            "x-amz-storage-class": 
            "x-amz-restore": 


currently we have the below response

# aws --endpoint http://ceph-pri-tfa-vim-toraoc-node4:80 s3api  head-object --bucket testcloud-1 --key file-30 
{
    "AcceptRanges": "bytes",
    "LastModified": "Tue, 03 Sep 2024 10:38:30 GMT",
    "ContentLength": 0,
    "ETag": "\"\"9023071056a8a2a7cc8b188fbfd7d523\"\"",
    "ContentType": "text/plain",
    "Metadata": {},
    "StorageClass": "CLOUDAWS"
}


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

ceph version 19.1.0-71.el9cp

How reproducible:

Always
 
Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 7 errata-xmlrpc 2024-11-25 09:09:01 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 (Red Hat Ceph Storage 8.0 security, bug fix, and enhancement updates), 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-2024:10216


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