Bug 2225589 - [rgw][rfe]: rgw-restore-bucket-index should be able to recover metadata for buckets in non-default realms 5.3z5
Summary: [rgw][rfe]: rgw-restore-bucket-index should be able to recover metadata for ...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 5.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 5.3z5
Assignee: J. Eric Ivancich
QA Contact: Madhavi Kasturi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-25 14:15 UTC by J. Eric Ivancich
Modified: 2023-08-11 11:12 UTC (History)
5 users (show)

Fixed In Version: ceph-16.2.10-201.el8cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-7072 0 None None None 2023-07-25 14:16:32 UTC

Description J. Eric Ivancich 2023-07-25 14:15:23 UTC
This bug was initially created as a copy of Bug #2183926

I am copying this bug because: It should go into 5.3z5 also.



Description of problem:

rgw-restore-bucket-index should be able to recover metadata for buckets in non-default realms. If running the index-recover tool for a bucket belonging to a non-default rgw-realm, the error observed is :

[root@dell-r640-003 ~]# /usr/bin/rgw-restore-bucket-index -b bucket-3 -p local-zone.rgw.buckets.data
ERROR: unable to read entry-point metadata for bucket "bucket-3".

Requesting an enhancement to add an option to specify the realm name in the tool.

Workaround: Promote the realm to a default realm for the tool to work.

Version-Release number of selected component (if applicable):
16.2.10-160.el8cp

How reproducible:
Always

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


Note You need to log in before you can comment on or make changes to this bug.