Bug 2224636

Summary: [rgw][rfe]: Object reindex tool should recover the index for 'versioned' buckets. (5.3z5)
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: J. Eric Ivancich <ivancich>
Component: RGWAssignee: J. Eric Ivancich <ivancich>
Status: CLOSED ERRATA QA Contact: Vidushi Mishra <vimishra>
Severity: high Docs Contact: Ranjini M N <rmandyam>
Priority: unspecified    
Version: 5.3CC: bkunal, ceph-eng-bugs, cephqe-warriors, lithomas, mkasturi, rmandyam, sostapov, tserlin, vereddy, vimishra
Target Milestone: ---Keywords: FutureFeature
Target Release: 5.3z6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.10-218.el8cp Doc Type: Enhancement
Doc Text:
.The `rgw-restore-bucket-index` experimental tool restores bucket indices for versioned and un-versioned buckets With this enhancement, you can restore the bucket indices for versioned buckets with the `rgw-restore-bucket-index` experimental tool, in addition to its existing ability to work with un-versioned buckets.
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-08 16:49:54 UTC Type: ---
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: 2182385    
Bug Blocks: 2258797    

Description J. Eric Ivancich 2023-07-21 18:26:10 UTC
This bug was initially created as a copy of Bug #2182385

I am copying this bug because: 



Description of problem:

If a versioned bucket created with num_shards 0 is resharded, the metadata is lost.

The rgw-restore-bucket-index tool helps in recovering the index, but it is yet not supported for versioned buckets.


The https://bugzilla.redhat.com/show_bug.cgi?id=2174235#c49

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


ceph-5.3 latest

How reproducible:

Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 RHEL Program Management 2023-07-21 18:26:24 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 6 Bipin Kunal 2023-08-04 06:44:22 UTC
*** Bug 2227689 has been marked as a duplicate of this bug. ***

Comment 12 Scott Ostapovicz 2023-08-17 13:50:54 UTC
Retargeted to 5.3 z6 since it missed the target window for 5.3 z5.

Comment 38 Ranjini M N 2024-02-01 06:14:35 UTC
Made the changes as per SME's suggestion.

Comment 40 errata-xmlrpc 2024-02-08 16:49:54 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 (Moderate: Red Hat Ceph Storage 5.3 Security update), 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/RHSA-2024:0745