Hello, Looks fine on the first cluster:
cluster1# radosgw-admin period get { "id": "6ea09956-60a7-48df-980c-2b5bbf71b565", "epoch": 2, "predecessor_uuid": "80026abd-49f4-436e-844f-f8743685dac5", "sync_status": [ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ], "period_map": { "id": "6ea09956-60a7-48df-980c-2b5bbf71b565", "zonegroups": [ { "id": "rgw1-gva", "name": "rgw1-gva", "api_name": "", "is_master": "true", "endpoints": [], "hostnames": [], "hostnames_s3website": [], "master_zone": "rgw1-gva-master", "zones": [ { "id": "rgw1-gva-master", "name": "rgw1-gva-master", "endpoints": [ "http:\/\/rgw1:80\/" ], "log_meta": "true", "log_data": "true", "bucket_index_max_shards": 0, "read_only": "false" } ], "placement_targets": [ { "name": "default-placement", "tags": [] } ], "default_placement": "default-placement", "realm_id": "b23771d0-6005-41da-8ee0-aec03db510d7" } ], "short_zone_ids": [ { "key": "rgw1-gva-master", "val": 1414621010 } ] }, "master_zonegroup": "rgw1-gva", "master_zone": "rgw1-gva-master", "period_config": { "bucket_quota": { "enabled": false, "max_size_kb": -1, "max_objects": -1 }, "user_quota": { "enabled": false, "max_size_kb": -1, "max_objects": -1 } }, "realm_id": "b23771d0-6005-41da-8ee0-aec03db510d7", "realm_name": "gold", "realm_epoch": 2 } And, from the second cluster I get this: cluster2 # radosgw-admin realm pull --url=http://rgw1:80 --access-key=access --secret=secret 2016-08-22 08:48:42.682785 7fc5d3fe29c0 0 error read_lastest_epoch .rgw.root:periods.381464e1-4326-4b6b-9191-35940c4f645f.latest_epoch { "id": "98a7b356-83fd-4d42-b895-b58d45fa4233", "name": "", "current_period": "381464e1-4326-4b6b-9191-35940c4f645f", "epoch": 1 } Kind regards, Ben Morrice ______________________________________________________________________ Ben Morrice | e: ben.morr...@epfl.ch | t: +41-21-693-9670 EPFL ENT CBS BBP Biotech Campus Chemin des Mines 9 1202 Geneva Switzerland On 19/08/16 08:46, Shilpa Manjarabad Jagannath wrote: > > ----- Original Message ----- >> From: "Ben Morrice" <ben.morr...@epfl.ch> >> To: ceph-users@lists.ceph.com >> Sent: Thursday, August 18, 2016 8:59:30 PM >> Subject: [ceph-users] RGW multisite - second cluster woes >> >> Hello, >> >> I am trying to configure a second cluster into an existing Jewel RGW >> installation. >> >> I do not get the expected output when I perform a 'radosgw-admin realm >> pull'. My realm on the first cluster is called 'gold', however when >> doing a realm pull it doesn't reflect the 'gold' name or id and I get an >> error related to latest_epoch (?). >> >> The documentation seems straight forward, so i'm not quite sure what i'm >> missing here? >> >> Please see below for the full output. >> >> # radosgw-admin realm pull --url=http://cluster1:80 --access-key=access >> --secret=secret >> >> 2016-08-18 17:20:09.585261 7fb939d879c0 0 error read_lastest_epoch >> .rgw.root:periods.8c64a4dd-ccd8-4975-b63b-324fbb24aab6.latest_epoch >> { >> "id": "98a7b356-83fd-4d42-b895-b58d45fa4233", >> "name": "", >> "current_period": "8c64a4dd-ccd8-4975-b63b-324fbb24aab6", >> "epoch": 1 >> } >> > The realm name is empty here. Could you share the output of "radosgw-admin > period get" from the first cluster? > > >> # radosgw-admin period pull --url=http://cluster1:80 --access-key=access >> secret=secret >> 2016-08-18 17:21:33.277719 7f5dbc7849c0 0 error read_lastest_epoch >> .rgw.root:periods..latest_epoch >> { >> "id": "", >> "epoch": 0, >> "predecessor_uuid": "", >> "sync_status": [], >> "period_map": { >> "id": "", >> "zonegroups": [], >> "short_zone_ids": [] >> }, >> "master_zonegroup": "", >> "master_zone": "", >> "period_config": { >> "bucket_quota": { >> "enabled": false, >> "max_size_kb": -1, >> "max_objects": -1 >> }, >> "user_quota": { >> "enabled": false, >> "max_size_kb": -1, >> "max_objects": -1 >> } >> }, >> "realm_id": "", >> "realm_name": "", >> "realm_epoch": 0 >> } >> >> # radosgw-admin realm default --rgw-realm=gold >> failed to init realm: (2) No such file or directory2016-08-18 >> 17:21:46.220181 7f720defa9c0 0 error in read_id for id : (2) No such >> file or directory >> >> # radosgw-admin zonegroup default --rgw-zonegroup=us >> failed to init zonegroup: (2) No such file or directory >> 2016-08-18 17:22:10.348984 7f9b2da699c0 0 error in read_id for id : >> (2) No such file or directory >> >> >> -- >> Kind regards, >> >> Ben Morrice >> >> ______________________________________________________________________ >> Ben Morrice | e: ben.morr...@epfl.ch | t: +41-21-693-9670 >> EPFL ENT CBS BBP >> Biotech Campus >> Chemin des Mines 9 >> 1202 Geneva >> Switzerland >> >> _______________________________________________ >> ceph-users mailing list >> ceph-users@lists.ceph.com >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com