Radosgw multisite configuration with S3 API?

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

 




In Pacific (16.2.7) can the radosgw multisite configuration policies be manipulated with the AWS S3 APIs such as GetBucketReplication, PutBucketReplication?

I have multisite replication working on a per-bucket basis that was set up using the radosgw-admin (sync group *** commands).  Can these policies be accessed in any way using the actual S3 REST API?

The documentation (https://docs.ceph.com/en/pacific/radosgw/s3/) seems to indicate that the "Bucket Replication" API is partially supported (across zones only).  When I use the "GetBucketReplication" API on a bucket that is configured with a multisite sync group and pipe, it does not return any policy data.

If I use the raw S3 API, I see the following result when I use the boto3.get_bucket_replication(bucket='bucket-1'):

{

    "ResponseMetadata": {

        "RequestId": "tx00000cdf1db80cb3fda06-006268085f-247a6fc4-keeper-1",

        "HostId": "",

        "HTTPStatusCode": 200,

        "HTTPHeaders": {

            "x-amz-request-id": "tx00000cdf1db80cb3fda06-006268085f-247a6fc4-keeper-1",

            "content-type": "application/xml",

            "content-length": "152",

            "date": "Tue, 26 Apr 2022 14:57:35 GMT",

            "connection": "Keep-Alive"

        },

        "RetryAttempts": 0

    },

    "ReplicationConfiguration": {

        "Role": ""

    }

}




thanks,
   Wyllys Ingersoll


_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux