Project

General

Profile

Actions

Bug #23651

open

Dynamic bucket indexing, resharding and tenants still seems to be broken

Added by Mark Schouten about 6 years ago. Updated about 5 years ago.

Status:
In Progress
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
Yes
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I've had issues with this before, which is described in https://tracker.ceph.com/issues/22046. But the issues remain (and grow) after upgrading to 12.2.4.

With dynamic resharding enabled, the cluster will start resharding a bucket. This results in a entry in the resharding queue. It seems this queue is executed daily. I am monitoring the number of objects in the pool, and that seems to increase with about 1.5k objects, each time resharding is started (but never finished).

`radosgw-admin reshard status --uid='DB0220$elasticsearch' --tenant=DB0220 --bucket=backups` gives me an (larger than my scrollbuffer) array with the following:

    {
        "reshard_status": 0,
        "new_bucket_instance_id": "",
        "num_shards": -1
    },

I would like to cancel the resharding, but that doesn't work:

root@osdnode03:~# radosgw-admin reshard cancel --uid='DB0220$elasticsearch' --tenant=DB0220 --bucket=backups 
Error in getting bucket backups: (2) No such file or directory
2018-04-11 17:00:43.099372 7fce19021cc0 -1 ERROR: failed to get entry from reshard log, oid=reshard.0000000010 tenant= bucket=backups

I THINK that has to do with https://github.com/oritwas/ceph/blob/0a2142e83b58fa8e238bcb748d1cb97bdba674c5/src/rgw/rgw_admin.cc#L5755

So I have a lot of objects in my index pool that do not make sense, a lot resharding entries I cannot cancel, and almost no access possible to the bucket that needed the resharding. I could use some help :)


Files

graph.png (27.2 KB) graph.png Growing object-count in default.rgw.buckets.index Mark Schouten, 05/07/2018 12:39 PM
Actions

Also available in: Atom PDF