Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2312937

Summary: [s3-cloud-restore]: Update expiry date if the `restore-object` API request is retried on temporary copies
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Soumya Koduri <skoduri>
Component: RGWAssignee: Soumya Koduri <skoduri>
Status: CLOSED ERRATA QA Contact: Vidushi Mishra <vimishra>
Severity: medium Docs Contact: Rivka Pollack <rpollack>
Priority: unspecified    
Version: 8.0CC: ceph-eng-bugs, cephqe-warriors, rpollack, tserlin, vimishra
Target Milestone: ---   
Target Release: 9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-20.1.0-26 Doc Type: Enhancement
Doc Text:
.New support for updating the restoration period for archived objects With this enhancement, you can now update the expiry date of a restored object by reissuing the restore-object API request with a new restoration period. The updated period is calculated from the current time, allowing you to retain data longer or expire it sooner without re-downloading from the remote cloud endpoint. For more information, see Restoring objects from S3 cloud-tier storage.
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-01-29 06:52:10 UTC Type: Bug
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: 2388233    

Description Soumya Koduri 2024-09-17 20:24:42 UTC
Description of problem:

As per AWS spec (https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html),

>>>
After restoring an archived object, you can update the restoration period by reissuing the request with a new period. Amazon S3 updates the restoration period relative to the current time and charges only for the request-there are no data transfer charges. You cannot update the restoration period when Amazon S3 is actively processing your current restore request for the object.
<<<

This still needs to be handled for temporary restored copies via restore-object CLI. Currently it does nothing and ignores the repeat request.

Jira: https://jsw.ibm.com/browse/ISCE-669	
Upstream tracker: https://tracker.ceph.com/issues/68010


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 10 errata-xmlrpc 2026-01-29 06:52:10 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 (Moderate: Red Hat Ceph Storage 9.0 Security and Enhancement update), 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/RHSA-2026:1536

Comment 11 Red Hat Bugzilla 2026-02-06 04:25:57 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days or the product is inactive and locked