Bug 2341761

Summary: [GSS] How to remove listed indexes of objects where the object has been deleted by LC or AZ
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Rodrigo Capa <rocapa>
Component: RGWAssignee: J. Eric Ivancich <ivancich>
Status: VERIFIED --- QA Contact: Yuva Teja Sree Gayam <ygayam>
Severity: medium Docs Contact: Rivka Pollack <rpollack>
Priority: unspecified    
Version: 7.1CC: bkunal, ceph-eng-bugs, cephqe-warriors, ivancich, mbenjamin, rpollack, smanjara, tserlin, ygayam
Target Milestone: ---Flags: rocapa: needinfo? (smanjara)
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.2.1-113.el9cp Doc Type: Enhancement
Doc Text:
.Administrators can now delete bucket index entries with a missing head object Previously, using a `radosgw-admin object rm` command would not remove a bucket index entry with a head object missing. Instead of removing the bucket, an error message would be emitted. With this enhancement, bucket index entries with a missing head object can now be removed with the ` --yes-i-really-mean-it` flag.
Story Points: ---
Clone Of: 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: 2351689    

Description Rodrigo Capa 2025-01-23 15:40:09 UTC
Description of problem:

Unable to remove indexes of objects that were been removed by Life Cycle or Archive Zone

Version-Release number of selected component (if applicable):
This issue is tested on Pacific, Quincy and Reef.

How reproducible:
One way is to follow the steps to reproduce stale objects on case: 2319199

The other is to create a multisite cluster and configure the secondary site as Archive Zone. More complex to replicate.


Actual results:
Expired object indexes remains listed, besides the object data doesn't exist anymore.
Those objects indexes can be removed by any means.


Expected results:
The indexes should have been removed, it's expected a tool or method to remove all those indexes.

Comment 13 Rodrigo Capa 2025-05-13 10:47:35 UTC
Hello team,

this BZ was about a method for the removal of stale indexes left by bugs on previous RHCS versions, which are confirmed as resolved or verified.

Focusing in this case, how is or will be the process to remove such indexes? I don't find any information regarding it.

Could you please share the details? or current status.

Thanks,
Rodrigo