Project

General

Profile

Bug #43188

Dynamic resharding not working for empty zonegroup in period

Added by Or Friedmann about 1 month ago. Updated 7 days ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
-
Target version:
% Done:

0%

Source:
Support
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Crash signature:

Description

Sometimes when cluster has been upgraded from jewel, the period's zonegroup could be empty, so no dynamic resharding with message: resharding is disabled

History

#1 Updated by Casey Bodley about 1 month ago

can you share some steps to reproduce this broken period configuration?

#2 Updated by Casey Bodley about 1 month ago

  • Status changed from New to Fix Under Review

#3 Updated by Or Friedmann 7 days ago

Hi Casey,

Way to procedure:
1) Install cluster with Jewel 10.2.2 (with running RGW and at least one bucket and one object)
2) Upgrade to Luminous 12.2.12 (probably will produce even with a lower version)
3) radosgw-admin period list (will return empty list), radosgw-admin realm list (will return empty list)
4) dynamic resharding will not work

I have checked it again, the main problem there is that after upgrading from Jewel to Luminous the realm is empty without any zonegroup inside, the period is empty too.
It means that the check for exactly one zonegroup will fail and will cause dynamic resharding not working.

Also available in: Atom PDF