Hi Boris,

Pls see attachments for "radosgw-admin period get" output.
Thanks

On Thu, Feb 12, 2026 at 6:03 PM Boris <[email protected]> wrote:

> Hi Alexander,
>
> 1. I think you can skip the "--region", because that RGW daemon is usually
> attached to a zone.
>
> 2. I just tested it with our multisite setup (latest squid) and I always
> get a "301 (Moved Permanently)", when I use a bucket from another
> zonegroup. I did not manage to get "404 (NoSuchKey)" with any constellation
> I tested.
>
> Can you post a "radosgw-admin period get" from both hosts?
>
> Am Do., 12. Feb. 2026 um 15:29 Uhr schrieb Alexander NA via ceph-users <
> [email protected]>:
>
>> Hello everyone.
>> I'm trying to set up one realm ("r1"), two zone groups ("zg1" - master,
>> "zg2"), and one zone in each zone group ("z1" - master and "z2",
>> respectively). The first zone group and its zone are masters.
>> Endpoint "zg1" - 10.1.1.1
>> Endpoint "zg2" - 10.1.1.2
>> "zg1" has bucket "buc1"
>> "zg2" has bucket "buc2"
>>
>> If I copy the file like this:
>> s3cmd put test_file s3://buc1 --region=zg2 --host=10.1.1.2
>> I get the correct error code (as per the documentation):
>> "ERROR: S3 error: 301 (Moved Permanently)"
>>
>> BUT, if I copy it like this:
>> s3cmd put test_file s3://buc2 --region=zg1 --host=10.1.1.1
>> I get this code:
>> ERROR: S3 error: 404 (NoSuchKey)
>>
>> Can you point me to something that might be wrong?
>> Thanks
>> _______________________________________________
>> ceph-users mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
>>
>
>
> --
> Die Selbsthilfegruppe "UTF-8-Probleme" trifft sich diesmal abweichend im
> groüen Saal.
>
# radosgw-admin period get
{
    "id": "20bb2cce-9fc1-441d-90b1-22ea41495380",
    "epoch": 6,
    "predecessor_uuid": "e98f9808-dddc-49bb-b847-ee9241b98430",
    "sync_status": [],
    "period_map": {
        "id": "20bb2cce-9fc1-441d-90b1-22ea41495380",
        "zonegroups": [
            {
                "id": "d3b050e6-fb97-49ad-89a6-6dcd9bd7aa4b",
                "name": "zg2",
                "api_name": "zg2",
                "is_master": false,
                "endpoints": [
                    "http://10.1.1.2:8080";
                ],
                "hostnames": [],
                "hostnames_s3website": [],
                "master_zone": "52961adc-ae3c-495b-9d08-56fa0a2c3859",
                "zones": [
                    {
                        "id": "52961adc-ae3c-495b-9d08-56fa0a2c3859",
                        "name": "z2",
                        "endpoints": [
                            "http://10.1.1.2:8080";
                        ],
                        "log_meta": false,
                        "log_data": false,
                        "bucket_index_max_shards": 11,
                        "read_only": false,
                        "tier_type": "",
                        "sync_from_all": true,
                        "sync_from": [],
                        "redirect_zone": "",
                        "supported_features": [
                            "compress-encrypted",
                            "notification_v2",
                            "resharding"
                        ]
                    }
                ],
                "placement_targets": [
                    {
                        "name": "default-placement",
                        "tags": [],
                        "storage_classes": [
                            "STANDARD"
                        ]
                    }
                ],
                "default_placement": "default-placement",
                "realm_id": "1ec39352-5a3b-4c9e-9fe7-9d45ed75aa81",
                "sync_policy": {
                    "groups": []
                },
                "enabled_features": [
                    "notification_v2",
                    "resharding"
                ]
            },
            {
                "id": "f5c3cfc1-d819-40c0-b2ef-9ba787dc48f2",
                "name": "zg1",
                "api_name": "zg1",
                "is_master": true,
                "endpoints": [
                    "http://10.1.1.1:8080";
                ],
                "hostnames": [],
                "hostnames_s3website": [],
                "master_zone": "267dc099-da12-4393-8bfc-5edbd5e8a5e5",
                "zones": [
                    {
                        "id": "267dc099-da12-4393-8bfc-5edbd5e8a5e5",
                        "name": "z1",
                        "endpoints": [
                            "http://10.1.1.1:8080";
                        ],
                        "log_meta": false,
                        "log_data": false,
                        "bucket_index_max_shards": 11,
                        "read_only": false,
                        "tier_type": "",
                        "sync_from_all": true,
                        "sync_from": [],
                        "redirect_zone": "",
                        "supported_features": [
                            "compress-encrypted",
                            "notification_v2",
                            "resharding"
                        ]
                    }
                ],
                "placement_targets": [
                    {
                        "name": "default-placement",
                        "tags": [],
                        "storage_classes": [
                            "STANDARD"
                        ]
                    }
                ],
                "default_placement": "default-placement",
                "realm_id": "1ec39352-5a3b-4c9e-9fe7-9d45ed75aa81",
                "sync_policy": {
                    "groups": []
                },
                "enabled_features": [
                    "notification_v2",
                    "resharding"
                ]
            }
        ],
        "short_zone_ids": [
            {
                "key": "267dc099-da12-4393-8bfc-5edbd5e8a5e5",
                "val": 3391389735
            },
            {
                "key": "52961adc-ae3c-495b-9d08-56fa0a2c3859",
                "val": 445566066
            }
        ]
    },
    "master_zonegroup": "f5c3cfc1-d819-40c0-b2ef-9ba787dc48f2",
    "master_zone": "267dc099-da12-4393-8bfc-5edbd5e8a5e5",
    "period_config": {
        "bucket_quota": {
            "enabled": false,
            "check_on_raw": false,
            "max_size": -1,
            "max_size_kb": 0,
            "max_objects": -1
        },
        "user_quota": {
            "enabled": false,
            "check_on_raw": false,
            "max_size": -1,
            "max_size_kb": 0,
            "max_objects": -1
        },
        "user_ratelimit": {
            "max_read_ops": 0,
            "max_write_ops": 0,
            "max_read_bytes": 0,
            "max_write_bytes": 0,
            "enabled": false
        },
        "bucket_ratelimit": {
            "max_read_ops": 0,
            "max_write_ops": 0,
            "max_read_bytes": 0,
            "max_write_bytes": 0,
            "enabled": false
        },
        "anonymous_ratelimit": {
            "max_read_ops": 0,
            "max_write_ops": 0,
            "max_read_bytes": 0,
            "max_write_bytes": 0,
            "enabled": false
        }
    },
    "realm_id": "1ec39352-5a3b-4c9e-9fe7-9d45ed75aa81",
    "realm_epoch": 2
}
# radosgw-admin period get
{
    "id": "20bb2cce-9fc1-441d-90b1-22ea41495380",
    "epoch": 6,
    "predecessor_uuid": "e98f9808-dddc-49bb-b847-ee9241b98430",
    "sync_status": [],
    "period_map": {
        "id": "20bb2cce-9fc1-441d-90b1-22ea41495380",
        "zonegroups": [
            {
                "id": "d3b050e6-fb97-49ad-89a6-6dcd9bd7aa4b",
                "name": "zg2",
                "api_name": "zg2",
                "is_master": false,
                "endpoints": [
                    "http://10.1.1.2:8080";
                ],
                "hostnames": [],
                "hostnames_s3website": [],
                "master_zone": "52961adc-ae3c-495b-9d08-56fa0a2c3859",
                "zones": [
                    {
                        "id": "52961adc-ae3c-495b-9d08-56fa0a2c3859",
                        "name": "z2",
                        "endpoints": [
                            "http://10.1.1.2:8080";
                        ],
                        "log_meta": false,
                        "log_data": false,
                        "bucket_index_max_shards": 11,
                        "read_only": false,
                        "tier_type": "",
                        "sync_from_all": true,
                        "sync_from": [],
                        "redirect_zone": "",
                        "supported_features": [
                            "compress-encrypted",
                            "notification_v2",
                            "resharding"
                        ]
                    }
                ],
                "placement_targets": [
                    {
                        "name": "default-placement",
                        "tags": [],
                        "storage_classes": [
                            "STANDARD"
                        ]
                    }
                ],
                "default_placement": "default-placement",
                "realm_id": "1ec39352-5a3b-4c9e-9fe7-9d45ed75aa81",
                "sync_policy": {
                    "groups": []
                },
                "enabled_features": [
                    "notification_v2",
                    "resharding"
                ]
            },
            {
                "id": "f5c3cfc1-d819-40c0-b2ef-9ba787dc48f2",
                "name": "zg1",
                "api_name": "zg1",
                "is_master": true,
                "endpoints": [
                    "http://10.1.1.1:8080";
                ],
                "hostnames": [],
                "hostnames_s3website": [],
                "master_zone": "267dc099-da12-4393-8bfc-5edbd5e8a5e5",
                "zones": [
                    {
                        "id": "267dc099-da12-4393-8bfc-5edbd5e8a5e5",
                        "name": "z1",
                        "endpoints": [
                            "http://10.1.1.1:8080";
                        ],
                        "log_meta": false,
                        "log_data": false,
                        "bucket_index_max_shards": 11,
                        "read_only": false,
                        "tier_type": "",
                        "sync_from_all": true,
                        "sync_from": [],
                        "redirect_zone": "",
                        "supported_features": [
                            "compress-encrypted",
                            "notification_v2",
                            "resharding"
                        ]
                    }
                ],
                "placement_targets": [
                    {
                        "name": "default-placement",
                        "tags": [],
                        "storage_classes": [
                            "STANDARD"
                        ]
                    }
                ],
                "default_placement": "default-placement",
                "realm_id": "1ec39352-5a3b-4c9e-9fe7-9d45ed75aa81",
                "sync_policy": {
                    "groups": []
                },
                "enabled_features": [
                    "notification_v2",
                    "resharding"
                ]
            }
        ],
        "short_zone_ids": [
            {
                "key": "267dc099-da12-4393-8bfc-5edbd5e8a5e5",
                "val": 3391389735
            },
            {
                "key": "52961adc-ae3c-495b-9d08-56fa0a2c3859",
                "val": 445566066
            }
        ]
    },
    "master_zonegroup": "f5c3cfc1-d819-40c0-b2ef-9ba787dc48f2",
    "master_zone": "267dc099-da12-4393-8bfc-5edbd5e8a5e5",
    "period_config": {
        "bucket_quota": {
            "enabled": false,
            "check_on_raw": false,
            "max_size": -1,
            "max_size_kb": 0,
            "max_objects": -1
        },
        "user_quota": {
            "enabled": false,
            "check_on_raw": false,
            "max_size": -1,
            "max_size_kb": 0,
            "max_objects": -1
        },
        "user_ratelimit": {
            "max_read_ops": 0,
            "max_write_ops": 0,
            "max_read_bytes": 0,
            "max_write_bytes": 0,
            "enabled": false
        },
        "bucket_ratelimit": {
            "max_read_ops": 0,
            "max_write_ops": 0,
            "max_read_bytes": 0,
            "max_write_bytes": 0,
            "enabled": false
        },
        "anonymous_ratelimit": {
            "max_read_ops": 0,
            "max_write_ops": 0,
            "max_read_bytes": 0,
            "max_write_bytes": 0,
            "enabled": false
        }
    },
    "realm_id": "1ec39352-5a3b-4c9e-9fe7-9d45ed75aa81",
    "realm_epoch": 2
}
_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to