Bug #57804
openEnabling sync on bucket not working
0%
Description
Hello,
I'm having a problem when trying to enable sync on one of our buckets (multi-site) from master zone.
Here's part of the log from the RGW :
debug 2022-10-10T06:29:47.033+0000 7fce3d144700 0 RGW-SYNC:data:sync:shard87:entry:bucket_sync_sources[target=:[]):source_bucket=:[]):source_zone=<zone_2>]:bucket[<bucket>:<bucket_id>:34227<-<bucket>:<bucket_id>:34227]: bucket sync disabled
This command (from master zone) :
radosgw-admin bucket sync enable --bucket=<our_bucket>
does not seem to work after a few minutes running. Bucket still not enabled.
This command (from master zone) :
radosgw-admin bucket sync status --bucket=<our_bucket>
returns :
_ realm <realm id> (<realm>)
zonegroup <zonegroup id> (<zonegroup>)
zone <zone id> (<zone>)
bucket :<bucket>[<bucket id>])
source zone <zone 2> (<zone 2>)
source bucket <bucket>:<bucket id>
full sync: 0/60000 shards
incremental sync: 0/60000 shards
bucket is behind on 60000 shards_
This command :
radosgw-admin bucket sync init --bucket=<our_bucket> --source-zone=<zone_2>
returns :
2022-10-10T06:45:19.654+0000 7f49137fe700 0 ERROR: curl error: Failure when receiving data from the peer, maybe network unstable
2022-10-10T06:45:19.658+0000 7f49f64723c0 0 data sync: ERROR: failed to fetch bucket index status
And does not start initialisation of the bucket.
Would you help us in starting enabling and starting sync on this bucket?
Thanks by advance for your help.