understanding multisite radosgw syncing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I wanted to set up a multisite radosgw environment where only bucketnames
and userinfo should get synced.

Basically I don't want that user data is synced but buckets and userids are
still uniqe inside the zonegroup.

For this I've gone though this howto (
https://docs.ceph.com/en/latest/radosgw/multisite/) and have set the my
zonegroup config to this:

                "zones": [
                    {
                        "id": "07cdb1c7-8c8e-4a23-ab1e-fcfb88982f38",
                        "name": "eu-central-2",
                        "endpoints": [
                            "https://gw2/";
                        ],
                        "log_meta": "false",
                        "log_data": "false",
                        "bucket_index_max_shards": 11,
                        "read_only": "false",
                        "tier_type": "",
                        "sync_from_all": "true",
                        "sync_from": [],
                        "redirect_zone": ""
                    },
                    {
                        "id": "ff7a8b0c-07e6-463a-861b-78f0adeba8ad",
                        "name": "eu-central-1",
                        "endpoints": [
                            "https://gw1/";
                        ],
                        "log_meta": "true",
                        "log_data": "false",
                        "bucket_index_max_shards": 0,
                        "read_only": "false",
                        "tier_type": "",
                        "sync_from_all": "true",
                        "sync_from": [],
                        "redirect_zone": ""
                    }

but the sync status on both systems looks like it wants to replicate data:
gw2
          realm 5d6f2ea4-b84a-459b-bce2-bccac338b3ef (world)
      zonegroup da651dc1-2663-4e1b-af2e-ac4454f24c9d (eu)
           zone 07cdb1c7-8c8e-4a23-ab1e-fcfb88982f38 (eu-central-2)
  metadata sync preparing for full sync
                full sync: 64/64 shards
                full sync: 0 entries to sync
                failed to fetch master sync status: (5) Input/output error
2021-07-27T11:24:06.772+0000 7f4638c23b40  0 data sync zone:ff7a8b0c ERROR:
failed to fetch datalog info
      data sync source: ff7a8b0c-07e6-463a-861b-78f0adeba8ad (eu-central-1)
                        init
                        full sync: 128/128 shards
                        full sync: 0 buckets to sync
                        incremental sync: 0/128 shards

gw1
          realm 5d6f2ea4-b84a-459b-bce2-bccac338b3ef (world)
      zonegroup da651dc1-2663-4e1b-af2e-ac4454f24c9d (eu)
           zone ff7a8b0c-07e6-463a-861b-78f0adeba8ad (eu-central-1)
  metadata sync no sync (zone is master)
2021-07-27 11:24:24.645 7fe30fc07840  0 data sync zone:07cdb1c7 ERROR:
failed to fetch datalog info
      data sync source: 07cdb1c7-8c8e-4a23-ab1e-fcfb88982f38 (eu-central-2)
                        failed to retrieve sync info: (13) Permission denied


The gw2 is not set up yet, so the sync from gw1 will not happen (and I am
still figuring out why gw2 can not pull from gw1, but this is something I
worry later).

Do I need to change the zonegroup config to not have the data synced?

Cheers
 Boris
-- 
Die Selbsthilfegruppe "UTF-8-Probleme" trifft sich diesmal abweichend im
groüen Saal.
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux