Re: Configuring Ceph RadosGW with SLA based rados pools

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

 





----- Le 4 Nov 16, à 21:17, Andrey Ptashnik <APtashnik@xxxxxxxxx> a écrit :
Hello Ceph team!

I’m trying to create different pools in Ceph in order to have different tiers (some are fast, small and expensive and others are plain big and cheap), so certain users will be tied to one pool or another.

 - I created two additional pools.

.rgw.factor-2.buckets.data

.rgw.factor-3.buckets.data

.rgw.factor-2.buckets.index

.rgw.factor-3.buckets.index


 - Edited region config file to include new placement target


    "placement_targets": [

        {

            "name": "default-placement",

            "tags": []

        },

        {

            "name": "factor-2",

            "tags": []

        },

        {

            "name": "factor-3",

            "tags": []

        }


 - Edited zone config file to tie placement targets with new pools:

        {

            "key": "factor-2",

            "val": {

                "index_pool": ".rgw.factor-2.buckets.index",

                "data_pool": ".rgw.factor-2.buckets.data",

                "data_extra_pool": ""

            }

        },

        {

            "key": "factor-3",

            "val": {

                "index_pool": ".rgw.factor-3.buckets.index",

                "data_pool": ".rgw.factor-3.buckets.data",

                "data_extra_pool": ""

            }

        }


 - Changed "default_placement": "factor-3” in one of the user configurations.


Listing and viewing new pool/bucket contents using that modified user account is not problem at all. However when I’m trying to upload files to new pools or create a bucket using this modified user account I’m receiving an error "400 Bad Request”. Tools I’m using are S3cmd and rclone – both give me the same error.

I’m trying to find root cause first square out any premision issues I may have. How can I make sure that users will have full access rights to new pools?

Hi,
Have you :
1. Update region map with command : radosgw-admin regionmap update 
2. Restart rados Gateway

Stephane.


=== === ===

P.S.: Procedure that I follow is described in document "Configuring Ceph RadosGW with SLA based rados pools” ->  https://access.redhat.com/solutions/1532743 and his is exactly what I need. 

Regards,

Andrey Ptashnik 


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[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