Bug 1780934 - radosgw are not committing dynamic resharding
Summary: radosgw are not committing dynamic resharding
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 3.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z5
: 3.3
Assignee: Or Friedmann
QA Contact: Tejas
URL:
Whiteboard:
Depends On:
Blocks: 1817069
TreeView+ depends on / blocked
 
Reported: 2019-12-08 14:18 UTC by Avi Avraham
Modified: 2023-10-06 18:52 UTC (History)
8 users (show)

Fixed In Version: RHEL: ceph-12.2.12-103.el7cp Ubuntu: ceph_12.2.12-98redhat1xenial
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1817069 (view as bug list)
Environment:
Last Closed: 2020-06-10 15:44:17 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 43188 0 None None None 2020-03-26 11:24:01 UTC
Red Hat Product Errata RHBA-2020:2488 0 None None None 2020-06-10 15:44:38 UTC

Description Avi Avraham 2019-12-08 14:18:06 UTC
Description of problem:
There is a bucket that contains 2 Million objects, dynamic resharding is enabled, obj threshold for resharding is not defined (so it is 100K).
The error when running radosgw-admin reshard add --bucket=check_dynamic --num-shards=2:
ERROR: failed to list reshard log entries, oid=reshard.0000000000
ERROR: failed to list reshard log entries, oid=reshard.0000000001
ERROR: failed to list reshard log entries, oid=reshard.0000000002
...
ERROR: failed to list reshard log entries, oid=reshard.0000000015 

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

How reproducible:


Steps to Reproduce:
radosgw-admin reshard list --bucket=check_dynamic --num-shards=4 --debug-rgw=20 --rgw-zone=default

Actual results:
Command failed with the following error:
Add Resharding is disabled

Expected results:
dynamic resharding will successfully run.

Additional info:
The problem, as indicated by Or Fridman from the consulting team, seems to have been that we did not have a default realm set (`radosgw-admin realm list` showed an empty list under `realms`).
After modifying the zonegroup to the right realm id and then update period, after those dynamic resharding start to work.

Comment 1 Avi Avraham 2019-12-08 14:20:26 UTC
A suggested fix was added to upstream by Or Fridman 
https://github.com/ceph/ceph/pull/31977

Comment 14 errata-xmlrpc 2020-06-10 15:44:17 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, 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/RHBA-2020:2488


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