Bug #36077
openrgw: master is on a different period
0%
Description
Hello,
I am trying to configure object store replication between two clusters "us-east-1" and "us-east-2" and i am getting this error
"master is on a different period: master_period=35db7b3e-0554-46c3-9c12-bd1233998b66 local_period=318f6d70-6a9e-474d-8073-41a9ee9d645e".
Currently when i create objects in cluster us-east-1 they are replicated to us-east-2 but not in the other direction, meaning from us-east-2 cluster to us-east-1, and that should also be happening when replication is working.
Here are some details on replication:
"""""
[root@ceph-rgw004 ~]# radosgw-admin sync status -c /etc/ceph/ceph_ewr_prod.conf
realm 8f7fd3fd-f72d-411d-b06b-7b4b579f5f2f (prod)
zonegroup 60a2cb75-6978-46a3-b830-061c8be9dc75 (prod)
zone ffce148e-3b24-462d-98bf-8c212de31de5 (us-east-1)
metadata sync syncing
full sync: 0/64 shards
master is on a different period: master_period=35db7b3e-0554-46c3-9c12-bd1233998b66 local_period=318f6d70-6a9e-474d-8073-41a9ee9d645e
incremental sync: 64/64 shards
metadata is caught up with master
data sync source: 7fe96e52-d6f7-4ad6-b66e-ecbbbffbc18e (us-east-2)
syncing
full sync: 0/128 shards
incremental sync: 128/128 shards
data is caught up with source
[root@ceph-rgw004 ~]# radosgw-admin zonegroup get -c /etc/ceph/ceph_ewr_prod.conf
{
"id": "60a2cb75-6978-46a3-b830-061c8be9dc75",
"name": "prod",
"api_name": "",
"is_master": "true",
"endpoints": [
"http://10.122.64.50"
],
"hostnames": [],
"hostnames_s3website": [],
"master_zone": "7fe96e52-d6f7-4ad6-b66e-ecbbbffbc18e",
"zones": [
{
"id": "7fe96e52-d6f7-4ad6-b66e-ecbbbffbc18e",
"name": "us-east-2",
"endpoints": [
"http://10.122.64.50"
],
"log_meta": "true",
"log_data": "true",
"bucket_index_max_shards": 0,
"read_only": "false",
"tier_type": "",
"sync_from_all": "true",
"sync_from": []
},
{
"id": "ffce148e-3b24-462d-98bf-8c212de31de5",
"name": "us-east-1",
"endpoints": [
"http://10.194.0.102"
],
"log_meta": "false",
"log_data": "true",
"bucket_index_max_shards": 0,
"read_only": "false",
"tier_type": "",
"sync_from_all": "true",
"sync_from": []
}
],
"placement_targets": [
{
"name": "default-placement",
"tags": []
}
],
"default_placement": "default-placement",
"realm_id": "8f7fd3fd-f72d-411d-b06b-7b4b579f5f2f"
}
"""
ANY IDEAS HOW I COULD FIX THIS? THANKS.
Files