Bug #42560
closedERROR reshard bucket deleted
0%
Description
I have 2 clusters with multisite configure.
I created and deleted buckets from the master site. The action is worked normally.
When the radosgw service which was configured the endpoint to sync was stoped. Then I restart the radosgw service.
I got the sync status in the secondary zone:
metadata sync syncing full sync: 0/64 shards incremental sync: 64/64 shards metadata is behind on 4 shards behind shards: [9,12,41,45] oldest incremental change not applied: 2019-10-30 14:36:05.0.197745s data sync source: dea9cddd-4b47-47a3-b1ca-09cd66d31ad6 (hanoi) syncing full sync: 0/128 shards incremental sync: 128/128 shards data is caught up with source
I run the command to force sync:
radosgw-admin data sync init --source-zone=<zone master> radosgw-admin data sync run --source-zone=<zone master>
The output log:
2019-10-30 15:36:17.947 7f39869326c0 0 RGW-SYNC:data:sync:shard[65]:entry[bucket-4:dea9cddd-4b47-47a3-b1ca-09cd66d31ad6.21289.5]: triggering sync of bucket/shard bucket-2:dea9cddd-4b47-47a3-b1ca-09cd66d31ad6.34514.3
trying delete bi:
radosgw-admin bi purge --bucket-id="dea9cddd-4b47-47a3-b1ca-09cd66d31ad6.34514.3" --bucket=bucket-2 could not get bucket info for bucket=bucket-2 ERROR: could not init current bucket info for bucket_name=bucket-2: (2) No such file or directory
Updated by Casey Bodley over 4 years ago
- Is duplicate of Bug #20802: rgw multisite: clean up deleted bucket instance and index objects added
Updated by duc pham over 4 years ago
I saw the issue is resolved, the commit https://github.com/ceph/ceph/pull/10460/files.
I use the version 14.2.4. In 14.2.4 don't have the commit.
Updated by Nathan Cutler over 4 years ago
duc pham wrote:
I saw the issue is resolved, the commit https://github.com/ceph/ceph/pull/10460/files.
I use the version 14.2.4. In 14.2.4 don't have the commit.
PR#10460 was merged via merge commit 1985345c9ab4632e280abbe94b240de5892b715d before the mimic release, so 14.2.4 definitely has it:
$ git checkout nautilus Already on 'nautilus' Your branch is up to date with 'ceph/nautilus'. $ git describe 1985345c9ab4632e280abbe94b240de5892b715d v13.0.0-773-g1985345c9a
Updated by Nathan Cutler over 4 years ago
@duc pham - please note that Casey marked this as a duplicate of #20802 which is in status "Verified"