Hi Ceph Users, I need your to fix sync issue in multisite setup. I have 2 cluster in different datacenter that we want to use for bidirectional data replication. By followed the documentation
http://docs.ceph.com/docs/master/radosgw/multisite/ I have setup the gateway on each site but when I am checking the sync status its getting failed as below:
Admin node at master : [cephuser@vlno-ceph01 cluster]$ radosgw-admin data sync status ERROR: source zone not specified [cephuser@vlno-ceph01 cluster]$ radosgw-admin realm list { "default_info": "1102c891-d81c-480e-9487-c9f874287d13", "realms": [ "georep", "geodata" ] } [cephuser@vlno-ceph01 cluster]$ radosgw-admin zonegroup list read_default_id : 0 { "default_info": "74ad391b-fbca-4c05-b9e7-c90fd4851223", "zonegroups": [ "noida" ] } [cephuser@vlno-ceph01 cluster]$ radosgw-admin zone list { "default_info": "71931e0e-1be6-449f-af34-edb4166c4e4a", "zones": [ "noida1" ] } [cephuser@vlno-ceph01 cluster]$ [cephuser@vlno-ceph01 cluster]$ cat ceph.conf [global] fsid = d52e50a4-ed2e-44cc-aa08-9309bc539a55 mon_initial_members = vlno-ceph01 mon_host = 172.23.16.67 auth_cluster_required = cephx auth_service_required = cephx auth_client_required = cephx # Your network address public network = 172.23.16.0/24 osd pool default size = 2 rgw_override_bucket_index_max_shards = 100 debug ms = 1 debug rgw = 20 [cephuser@vlno-ceph01 cluster]$ On Master Gateway : [cephuser@zabbix-server ~]$ cat /etc/ceph/ceph.conf [global] fsid = d52e50a4-ed2e-44cc-aa08-9309bc539a55 mon_initial_members = vlno-ceph01 mon_host = 172.23.16.67 auth_cluster_required = cephx auth_service_required = cephx auth_client_required = cephx # Your network address public network = 172.23.16.0/24 osd pool default size = 2 rgw_override_bucket_index_max_shards = 100 debug ms = 1 debug rgw = 20 [client.rgw.zabbix-server] host = zabbix-server rgw frontends = "civetweb port=7480" rgw_zone=noida1 [cephuser@zabbix-server ~]$ On Secondary site admin node. [cephuser@vlsj-kverma1 cluster]$ radosgw-admin realm list { "default_info": "1102c891-d81c-480e-9487-c9f874287d13", "realms": [ "georep" ] } [cephuser@vlsj-kverma1 cluster]$ radosgw-admin zonegroup list read_default_id : 0 { "default_info": "74ad391b-fbca-4c05-b9e7-c90fd4851223", "zonegroups": [ "noida", "default" ] } [cephuser@vlsj-kverma1 cluster]$ radosgw-admin zone list { "default_info": "45c690a8-f39c-4b1d-9faf-e0e991ceaaac", "zones": [ "san-jose" ] } [cephuser@vlsj-kverma1 cluster]$ [cephuser@vlsj-kverma1 cluster]$ cat ceph.conf [global] fsid = c626be3a-4536-48b9-8db8-470437052313 mon_initial_members = vlsj-kverma1 mon_host = 172.18.84.131 auth_cluster_required = cephx auth_service_required = cephx auth_client_required = cephx # Your network address public network = 172.18.84.0/24 osd pool default size = 2 rgw_override_bucket_index_max_shards = 100 debug ms = 1 debug rgw = 20 [cephuser@vlsj-kverma1 cluster]$ [cephuser@vlsj-kverma1 cluster]$ radosgw-admin data sync status 2019-01-28 10:33:12.163298 7f11c24c79c0 1 Cannot find zone id=45c690a8-f39c-4b1d-9faf-e0e991ceaaac (name=san-jose), switching to local zonegroup configuration ERROR: source zone not specified [cephuser@vlsj-kverma1 cluster]$ On Secondary site Gateway host: [cephuser@zabbix-client ceph]$ cat /etc/ceph/ceph.conf [global] fsid = c626be3a-4536-48b9-8db8-470437052313 mon_initial_members = vlsj-kverma1 mon_host = 172.18.84.131 auth_cluster_required = cephx auth_service_required = cephx auth_client_required = cephx # Your network address public network = 172.18.84.0/24 osd pool default size = 2 rgw_override_bucket_index_max_shards = 100 debug ms = 1 debug rgw = 20 [client.rgw.zabbix-client] host = zabbix-client rgw frontends = "civetweb port=7480" rgw_zone=san-jose [cephuser@zabbix-client ceph]$ Appreciate any help in the setup. /Krishna |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com