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: ASSIGNED --- QA Contact: Madhavi Kasturi <mkasturi>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.3CC: bkunal, ceph-eng-bugs, cephqe-warriors, mkasturi, sostapov, tserlin, vereddy, vimishra
Target Milestone: ---Keywords: FutureFeature
Target Release: 5.3z6Flags: tserlin: needinfo? (ivancich)
ivancich: needinfo? (mkasturi)
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.10-188.el8cp Doc Type: Enhancement
Doc Text:
Feature: Adds the ability for the rgw-restore-bucket-index tool to restore the bucket indices for versioned buckets (in addition to its existing ability working with un-versioned buckets). Reason: The tool should work as broadly as possible. Result: The tool now can support un-versioned buckets.
Story Points: ---
Clone Of: Environment:
Last Closed: 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:    

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.