SUSE Support

Here When You Need Us

Lifecycle Policies do not remove any files anymore from certain buckets

This document (000021234) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Enterprise Storage 7.1

Situation

Policies are configured to remove files after 1 day, but files older than this are still present in certain buckets.

Resolution

As a workaround set the rgw_lc_lock_max_time configuration parameter to the "magic" value "9969", for example:
 
radosgw-admin lc process --rgw_lc_lock_max_time=9969

Cause

The output of the command "radosgw-admin lc list" show for the problematic buckets the "started" field with a strange time in future, for example:
 
"bucket": "<bucket_name>",
"started": "Mon, 22 Oct 2085 00:25:23 GMT",
"status": "UNINITIAL"

Resulting in the process thread skipping these buckets thus showing the status "UNINITIAL". It is not known how the date got set to this future time.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000021234
  • Creation Date: 11-Oct-2023
  • Modified Date:11-Oct-2023
    • SUSE Enterprise Storage

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.