Bug 2345488

Summary: [RFE][s3-cloud-restore]: Add an option to configure storage-class for restore
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Soumya Koduri <skoduri>
Component: RGWAssignee: Soumya Koduri <skoduri>
Status: VERIFIED --- QA Contact: Vidushi Mishra <vimishra>
Severity: medium Docs Contact: Rivka Pollack <rpollack>
Priority: unspecified    
Version: 8.0CC: ceph-eng-bugs, cephqe-warriors, rpollack, tserlin
Target Milestone: ---Keywords: FutureFeature
Target Release: 8.1   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: ceph-19.2.1-118.el9cp Doc Type: Enhancement
Doc Text:
.Cloud-transitioned objects can now be restored to a selected storage class Previously, objects transitioned to cloud were restored only to STANDARD storage class. This was a limitation and can affect data usage of the cluster. With this enhancement, the new tier-config `restore-storage-class` option is introduced. Administrators can now choose the data pool to which the objects need to be restored to, providing more flexibility. For more information, see Restoring objects from S3 cloud-tier storage.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2351689    

Description Soumya Koduri 2025-02-13 08:21:55 UTC
This bug was initially created as a copy of Bug #2312928

I am copying this bug because: 

This BZ is to track below item from the list of enhancements shared in bug2312928

* Tier-config options to choose to restore storage-class

Currently (default), objects are restored to STANDARD storage-class. We are adding new tier-config option to configure storage-class to which object needs to be restored to.

Description of problem:

This BZ is to track the below RFEs planned for cloud-restore feature (Partnerbug2293539) which is tech-preview in 8.0.

Jira: https://jsw.ibm.com/browse/ISCE-669	

Upstream tracker:https://tracker.ceph.com/issues/68012
* Add support to use RESTORE REST API on cloudtier endpoint

Upstream tracker: https://tracker.ceph.com/issues/68008
* Add admin commands to list/cancel/start restore operations

Upstream tracker: https://tracker.ceph.com/issues/68007
* Bulk restore of the objects
* Admin ops
* Notifications
* Tier-config options to choose to restore storage-class & bucket

https://tracker.ceph.com/issues/68015
rgw/cloudtier: Handle encrypted/compressed objects

We shall open separate BZs for each item as we address them.

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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Soumya Koduri 2025-02-13 08:25:41 UTC
This is being addressed as part of https://github.com/ceph/ceph/pull/61745