Hello,

I have a question about ceph multisite theory.
How to create buckets in non-master zonegroup?

I'm trying to create crate a test enviroment with 2 regions.

I've crated deployment which looks like this
REALM
        region-1 (master zonegroup)
                region-1-zone-a (master zone)
                region-1-zone-b
        region-2
                region-2-zone-a (master zone)


The goal would be to have 2 regions, each with separate data and 2 active-active zones in each. Just after creating region-2-zone-a I've decided to create a bucket there in region-2 and upload something. But I cannot create a bucket in new region.

Rgw allows you to create buckets only on master zone.
If I try to use s3cmd to create bucket on region-1-zone-b endpoint I get error 503. (as expected)

Trying to list region-1 bucket on region-2 zone gives me 301 (moved permanently) so region-2 has metadata and working authentication.

But I cannot figure out how to make a bucket in region-2.
s3cmd .s3cfg-region-2 mb s3://bucket gives me error 503 like if I were trying to create a bucket on non-master zone.

Creating bucket on region-1 endpoint with s3cmd flags specifying LocationConstraint region-2 creates bucket in region-1 I see in region-1-zone-a logs that rgw sees region-2 in LocationConstraint argument but creates bucket in region-1

I'm working on ceph 19.2.2

Best regards
Adam Prycki

Attachment: smime.p7s
Description: Kryptograficzna sygnatura S/MIME

_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to