Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Bug 2178991
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh94 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
Bug 2178991
-
[rgw][doc]: Add doc on the usage of rgw-restore-bucket-index tool in the rhcs-6.0 guide.
Summary:
[rgw][doc]: Add doc on the usage of rgw-restore-bucket-index tool in the rhcs...
Keywords
:
Status
:
CLOSED CURRENTRELEASE
Alias:
None
Product:
Red Hat Ceph Storage
Classification:
Red Hat Storage
Component:
Documentation
Sub Component:
---
Administration Guide
Block Device Guide
Configurations Guide
DDF
Dashboard Guide
Default
File System Guide
Install Guide
Object Gateway Guide
Operations Guide
Release Notes
Troubleshooting Guide
Upgrade Guide
Version:
6.0
Hardware:
Unspecified
OS:
Unspecified
Priority:
unspecified
Severity:
urgent
Target Milestone:
---
Target Release
:
6.1
Assignee:
Akash Raj
QA Contact:
Vidushi Mishra
Docs Contact:
Ranjini M N
URL:
Whiteboard:
Depends On:
Blocks:
2126050
2183976
TreeView+
depends on
/
blocked
Reported:
2023-03-16 11:53 UTC by
Vidushi Mishra
Modified:
2023-06-21 06:59 UTC (
History
)
CC List:
6 users
(
show
)
akraj
aramteke
asriram
mkasturi
rmandyam
vereddy
Fixed In Version:
Doc Type:
If docs needed, set a value
Doc Text:
.Resharding a bucket removes the bucket's metadata Resharding a bucket removes the bucket's metadata if the bucket was created with `bucket_index_max_shards` as `0`. You can recover the affected buckets by restoring the bucket index. The recovery can be done in two ways: By executing `radosgw-admin object reindex --bucket _BUCKET_NAME_ --object _OBJECT_NAME_` command. By executing the script `rgw-restore-bucket-index [--proceed] _BUCKET_NAME_ [_DATA_POOL_NAME_]`. This script in turn invokes `radosgw-admin object reindex ...`. Post performing the above steps, ensure to perform either a `radosgw-admin bucket list` or `radosgw-admin radoslist` command on the bucket for the bucket stats to correctly reflect the number of objects in the bucket. [NOTE] ==== Prior to the execution of the script, perform 'microdnf install jq' inside the `cephadm` shell. The tool does not work for versioned buckets. ---- [root@argo031 ~]# time rgw-restore-bucket-index --proceed serp-bu-ver-1 default.rgw.buckets.data NOTICE: This tool is currently considered EXPERIMENTAL. `marker` is e871fb65-b87f-4c16-a7c3-064b66feb1c4.25076.5. `bucket_id` is e871fb65-b87f-4c16-a7c3-064b66feb1c4.25076.5. Error: this bucket appears to be versioned, and this tool cannot work with versioned buckets. ---- The tool's scope is limited to a single site only and not on a multi-site. If you execute the `rgw-restore-bucket-index` tool at site-1, it does not recover objects on site-2 and vice versa. On a multi-site, the recovery tool and the object reindex command should be executed at both sites for a bucket. ====
Clone Of:
Clones
:
2183976
(
view as bug list
)
Environment:
Last Closed:
2023-06-21 06:59:51 UTC
Embargoed:
Dependent Products:
Red Hat OpenShift Container Storage
Red Hat OpenShift Data Foundation
Red Hat OpenStack
Attachments
(Terms of Use)
Links
System
ID
Private
Priority
Status
Summary
Last Updated
Red Hat Issue Tracker
RHCEPH-6265
0
None
None
None
2023-03-16 11:56:56 UTC
Comment 6
Aditya Ramteke
2023-05-31 04:02:35 UTC
Removing needinfo
Note
You need to
log in
before you can comment on or make changes to this bug.