Bug 2265890 - [rgw][7.1]: object lock retainUntilDate can overflow (32bit seconds)
Summary: [rgw][7.1]: object lock retainUntilDate can overflow (32bit seconds)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 7.1
Assignee: Matt Benjamin (redhat)
QA Contact: Madhavi Kasturi
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2267614 2298578 2298579
TreeView+ depends on / blocked
 
Reported: 2024-02-25 11:48 UTC by Madhavi Kasturi
Modified: 2024-11-16 04:25 UTC (History)
5 users (show)

Fixed In Version: ceph-18.2.1-58.el9cp
Doc Type: Bug Fix
Doc Text:
.`RetainUntilDate` after the year 2106 no longer truncates and works as expected for new `PutObjectRetention` requests Previously, `PutObjectRetention` requests specifying a `RetainUntilDate` after the year 2106 would truncate, resulting in an earlier date used for object lock enforcement. This did not affect ` PutBucketObjectLockConfiguration` requests, where the duration is specified in days. With this fix, the `RetainUntilDate` now saves and works as expected for new `PutObjectRetention` requests. Requests previously existing are not automatically repaired. To fix existing requests, identify the requests by using the `HeadObject` request based on the `x-amz-object-lock-retain-until-date` and save again with the `RetainUntilDate`. For more information, see Ceph Object Gateway and the S3 API > S3 object operations > S3 put object retention, in the Red Hat Ceph Storage Developer Guide.
Clone Of:
Environment:
Last Closed: 2024-06-13 14:27:30 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-8368 0 None None None 2024-02-25 11:49:48 UTC
Red Hat Product Errata RHSA-2024:3925 0 None None None 2024-06-13 14:27:35 UTC

Comment 10 errata-xmlrpc 2024-06-13 14:27:30 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 (Critical: Red Hat Ceph Storage 7.1 security, enhancements, and bug fix 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-2024:3925

Comment 11 Red Hat Bugzilla 2024-11-16 04:25:23 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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