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 2360974

Summary: [GSS] Ceph RGW - LC ERROR on expiration of delete marker with null versionId
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Bob Emerson <roemerso>
Component: RGWAssignee: Matt Benjamin (redhat) <mbenjamin>
Status: ON_QA --- QA Contact: Madhavi Kasturi <mkasturi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.1CC: bkunal, ceph-eng-bugs, cephqe-warriors, etamir, jcaratza, mbenjamin, rocapa, rsachere
Target Milestone: ---Flags: etamir: needinfo? (roemerso)
etamir: needinfo? (mbenjamin)
rsachere: needinfo? (mbenjamin)
rocapa: needinfo? (mbenjamin)
rsachere: needinfo? (bkunal)
jcaratza: needinfo? (mbenjamin)
rsachere: needinfo? (mbenjamin)
rsachere: needinfo? (jcaratza)
Target Release: 7.1z9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2381933 (view as bug list) Environment:
Last Closed: 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: 2381933    

Description Bob Emerson 2025-04-18 14:40:27 UTC
Description of problem:

During LC run, an error is encountered(default logging) when an attempt to expire a delete marker with a a null versionId using ExpiredObjectDeleteMarker": true

ERROR: remove_expired_obj (delete marker expiration) :testbucket[6d736db2-fb79-46ad-a2d3-def2c0342b22.634756.4]):A1.tmp (2) No such file or directory wp_thrd: 2, 1
ERROR: remove_expired_obj :testbucket[6d736db2-fb79-46ad-a2d3-def2c0342b22.634756.4]):A1.tmp (2) No such file or directory wp_thrd: 2, 1


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

ceph version 18.2.1-298.el9cp 



Steps to Reproduce:

1. Enable versioning on bucket, then suspend it
2. Write an object to bucket (gets null versionID)
3. Delete object, creates delete marker with null versionId
4. Apply LC rule with ExpiredObjectDeleteMarker: true

Default logging for RGW service picks up ERRORS relating to the failed removal of this type of delete marker


Actual results:

The delete marker is not removed and ERROR is logged

Expected results:

LC removal of the delete marker? 

Additional info:

Because of the overhead kept in omap to store these objects, this could lead to large object warnings for bucket index objects if left unattended and they continue to accumulate, leading to a degradation of the bucket.

Comment 11 voltagebets 2025-12-25 22:52:06 UTC Comment hidden (spam)
Comment 13 Raimund Sacherer 2026-01-28 12:29:48 UTC
Hello Justin, 

I see on the 19th we did talk about a followup on this BZ as there where same things discussed about a PR link, are we all good on this BZ?

Thank you,
BR
Raimund

Comment 17 Raimund Sacherer 2026-01-29 07:55:04 UTC
Hi Justin, 

when I brought this up on the program call, IIRC you took a look and mentioned that it was set to `MODIFIED` without an PR Link. And Rachana put it down in the document with `Needs follow up as it's modified without PR link. Justin will follow up with`. I was wrong about the date, it was not the 19th, but the 15th z-stream call.

I'd appreciate if we can make sure this fix get's into 7.1z9

Thank you,
Raimund