Bug 1813963 - [RFE] add built-in schedule for running trash purge operations
Summary: [RFE] add built-in schedule for running trash purge operations
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 5.0
Assignee: Ilya Dryomov
QA Contact: Gopi
Amrita
URL:
Whiteboard:
Depends On:
Blocks: 1929662 1959686
TreeView+ depends on / blocked
 
Reported: 2020-03-16 15:06 UTC by Jason Dillaman
Modified: 2021-08-30 08:24 UTC (History)
8 users (show)

Fixed In Version: ceph-16.0.0-8633.el8cp
Doc Type: Enhancement
Doc Text:
.Built in schedule for purging expired RBD images Previously, the storage administrator could set up a cron-like job for the `rbd trash purge` command. With this release, the built-in schedule is now available for purging expired RBD images. The `rbd trash purge schedule add` and the related commands can be used to configure the RBD trash to automatically purge expired images based on a defined schedule. See the link:{block-dev-guide}#defining-an-automatic-trash-purge-schedule_block[_Defining an automatic trash purge schedule_] section in the _{storage-product} Block Device Guide_ for more information.
Clone Of:
Environment:
Last Closed: 2021-08-30 08:23:52 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-1134 0 None None None 2021-08-30 00:12:39 UTC
Red Hat Product Errata RHBA-2021:3294 0 None None None 2021-08-30 08:24:33 UTC

Description Jason Dillaman 2020-03-16 15:06:46 UTC
RHCS 3 included support for an RBD image trash where images could be moved instead of being immediately deleted. The previous suggestion for periodically pruning the RBD image trash was to run a 'cron'-like job to issue "rbd trash purge <pool-name>".

Starting with RHCS 5, storage administrators can schedule periodic trash purge operations via the CLI.

Comment 1 RHEL Program Management 2020-03-16 15:06:53 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 4 Gopi 2021-03-05 05:04:48 UTC
Feature is working as expected, hence moving this bug to verified state.

Comment 8 Amrita 2021-06-09 06:54:35 UTC
Done and thanks for the feedback Ilya.

Comment 10 errata-xmlrpc 2021-08-30 08:23: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 5.0 bug fix and enhancement), 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-2021:3294


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