Bug 2309662 - [RFE][s3-cloud-restore]: Allow restoration of cloud transitioned objects via Read-Through even if setting was not enabled during transition
Summary: [RFE][s3-cloud-restore]: Allow restoration of cloud transitioned objects via ...
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: Soumya Koduri
QA Contact: Vidushi Mishra
URL:
Whiteboard:
Depends On:
Blocks: 2317218
TreeView+ depends on / blocked
 
Reported: 2024-09-04 08:43 UTC by Vidushi Mishra
Modified: 2024-11-25 09:08 UTC (History)
7 users (show)

Fixed In Version: ceph-19.1.1-5.el9cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-11-25 09:08:35 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-9677 0 None None None 2024-09-04 08:43:58 UTC
Red Hat Product Errata RHBA-2024:10216 0 None None None 2024-11-25 09:08:39 UTC

Description Vidushi Mishra 2024-09-04 08:43:08 UTC
Description of problem:

When attempting to restore or download objects that have been cloud transitioned, the system throws a "403 (InvalidObjectState): Read through is not enabled for this config" error. 

This occurs because the "read-through" option was not enabled during the object's transition. 

This enhancement request aims to allow the restoration of such objects via the read-through mechanism after the "read-through" option has been enabled, even if it was not originally configured during the object transition.


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


How reproducible:


Steps to Reproduce:

1. Transition an object to a cloud storage without enabling the "read-through" option.

2. Attempt to download or access the object via a read request.
Observe the error: ERROR: S3 error: 403 (InvalidObjectState): Read through is not enabled for this config.

(venv) [root@ceph-pri-tfa-vim-toraoc-node4 rgw]# date; s3cmd get s3://testcloud-1/file-3 file-3-aws-testcloud-1
Wed Sep  4 04:24:04 EDT 2024
download: 's3://testcloud-1/file-3' -> 'file-3-aws-testcloud-1'  [1 of 1]
ERROR: Download of 'file-3-aws-testcloud-1' failed (Reason: 403 (InvalidObjectState): Read through is not enabled for this config)
ERROR: S3 error: 403 (InvalidObjectState): Read through is not enabled for this config
 
3. Enable the "read-through" option in the zonegroup configuration.

4. Attempt to download or access the previously cloud-transitioned again.

Actual results:

The error persists, preventing the restoration of the object via read-through.
Expected results:


Impact: 

- This enhancement will provide backward compatibility for cloud-transitioned objects in older versions or before the available read-through option.

- The change aligns with the expectation that enabling read-through should apply to all objects, not just those transitioned after the setting was enabled.

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