Bug 2310183 - [s3-object-restore]: Storage Class mismatch for a temporarily restored object obtained via bucket list and head-object API
Summary: [s3-object-restore]: Storage Class mismatch for a temporarily restored objec...
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
medium
Target Milestone: ---
: 8.0
Assignee: Shreyansh Sancheti
QA Contact: Vidushi Mishra
URL:
Whiteboard:
Depends On:
Blocks: 2317218
TreeView+ depends on / blocked
 
Reported: 2024-09-05 11:03 UTC by Vidushi Mishra
Modified: 2025-06-30 05:56 UTC (History)
8 users (show)

Fixed In Version: ceph-19.1.1-71.el9cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-11-25 09:08:52 UTC
Embargoed:
mkasturi: needinfo+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage cephci pull 4367/ 0 None None None 2025-06-30 05:56:53 UTC
Red Hat Issue Tracker RHCEPH-9705 0 None None None 2024-09-05 11:03:23 UTC
Red Hat Product Errata RHBA-2024:10216 0 None None None 2024-11-25 09:08:57 UTC

Description Vidushi Mishra 2024-09-05 11:03:01 UTC
Description of problem:

When restoring an object using the "restore days" option from a cloud tier, the temporary restored object appears with storage class STANDARD in the bucket list and 'aws s3api list-objects output'. 

However, the head-object API reports the storage class as CLOUDTIER as expected. 

Version-Release number of selected component (if applicable):
ceph version 19.1.0-71.el9cp

How reproducible:
Always

Steps to Reproduce:

1. Restore an object from a cloud tier using the "restore days" option.
2. Check the object's storage class via radosgw-admin bucket list and 'aws s3api list-objects.  --> It shows 'STANDARD' for the time the object is restored.
3. Check the storage class using the head-object API. --> It shows CLOUDTIER as is expected behavior.

Actual results:

storage class of the temporary restored object shows 'STANDARD' via the radosgw-admin bucket list and 'aws list-object s3pi'

Expected results:

storage class of the temporary restored object should be 'CLOUDTIER' with 
- head-object
- radosgw-admin bucket list --bucket <bucket_name> and
- aws s3api list-objects --bucket <bucket_name>

Additional info:

Comment 9 errata-xmlrpc 2024-11-25 09:08:52 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.