Ceph RGW: ERROR: remove_expired_obj (delete marker expiration) - Failed to Delete Objects w/Lifecycle Policy

Solution Verified - Updated -

Issue

If an RGW bucket has versioning set to "suspended" or enabled, this will result in many objects with a VersionID of 'null', with a failure to delete these objects if there is a lifecycle policy set.

This has been identified as a bug. There is no planned fix in Ceph versions 6 and below. There is a fix proposed for Ceph 7, but the z-release is TBD. Currently, Red Hat Ceph Storage 8.1z2 - 8.1.2 (19.2.1-245.el9cp) and above has an implemented fix.

For ODF the fix will be in place for the following versions ONLY until the Ceph 7 fix has been determined:

  • Red Hat OpenShift Data Foundations (ODF) v4.19.2+
  • Red Hat OpenShift Data Foundations (ODF) v4.18.9+

    This solution will serve as a workaround.

Environment

  • Red Hat OpenShift Container Platform (RCOCP) v4.x
  • Red Hat OpenShift Data Foundations (ODF) v4.19.2+
  • Red Hat OpenShift Data Foundations (ODF) v4.18.9+
  • Red Hat Ceph Storage 8.1z2 - 8.1.2 (19.2.1-245.el9cp)
  • Red Hat Ceph Storage 7.1z (TBD), see Private Notes for Bug Case Updates

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content