Bug 2182385

Summary: [rgw][rfe]: Object reindex tool should recover the index for 'versioned' buckets (6.1z3)
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vidushi Mishra <vimishra>
Component: RGWAssignee: J. Eric Ivancich <ivancich>
Status: CLOSED ERRATA QA Contact: Madhavi Kasturi <mkasturi>
Severity: urgent Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 5.3CC: akraj, bkunal, ceph-eng-bugs, cephqe-warriors, ckulal, goberle, gsitlani, ivancich, linuxkidd, lithomas, mbenjamin, mcaldeir, mkasturi, rmandyam, tserlin, vumrao
Target Milestone: ---Keywords: FutureFeature
Target Release: 6.1z3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.6-152.el9cp Doc Type: Enhancement
Doc Text:
.`rgw-restore-bucket-index` tool can now restore the bucket indices for versioned buckets With this enhancement, to enable the `rgw-restore-bucket-index` tool to work as broadly as possible, the ability to restore the bucket indices for versioned buckets, in addition to its existing ability working with un-versioned buckets, is added.
Story Points: ---
Clone Of:
: 2227689 (view as bug list) Environment:
Last Closed: 2023-12-12 13:55:29 UTC 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: 2221020, 2224636, 2227689, 2235257    

Description Vidushi Mishra 2023-03-28 14:00:39 UTC
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 38 Vidushi Mishra 2023-09-22 04:23:18 UTC
Ack.

Comment 45 errata-xmlrpc 2023-12-12 13:55:29 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 6.1 security, enhancements, and bug fix 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-2023:7740