Re: adding placement pool to radosgw

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

 



On Thu, Feb 20, 2014 at 2:18 PM, Michael Nelson <mn+ceph-users@xxxxxxxx> wrote:
> I am trying to add a placement pool to radosgw (based on
> http://comments.gmane.org/gmane.comp.file-systems.ceph.user/4992), but
> radosgw keeps complaining in the log that it can't find the placement rule
> when I create a bucket using s3cmd:
>
> s3cmd --bucket-location=:two-placement mb s3://foo
>
> Is there anything else I need to configure? I am running Ceph 0.72.2 on
> CentOS 6.5.
>
> Radosgw error:
>
> 2014-02-20 13:48:27.826323 7f80a17bb700  1 ====== starting new request
> req=0x1766870 =====
> 2014-02-20 13:48:27.832479 7f80a17bb700  0 could not find placement rule
> two-placement within region
> 2014-02-20 13:48:27.832740 7f80a17bb700  1 ====== req done req=0x1766870
> http_status=400 ======
>
> Region config:
>
> { "name": "default",
>   "api_name": "",
>   "is_master": "true",
>   "endpoints": [],
>   "master_zone": "",
>   "zones": [
>         { "name": "default",
>           "endpoints": [],
>           "log_meta": "false",
>           "log_data": "false"}],
>   "placement_targets": [
>         { "name": "default-placement",
>           "tags": [] },
>         { "name": "two-placement",
>           "tags": []}],
>   "default_placement": "default-placement"}
>
> Zone config:
>
> { "domain_root": ".rgw",
>   "control_pool": ".rgw.control",
>   "gc_pool": ".rgw.gc",
>   "log_pool": ".log",
>   "intent_log_pool": ".intent-log",
>   "usage_log_pool": ".usage",
>   "user_keys_pool": ".users",
>   "user_email_pool": ".users.email",
>   "user_swift_pool": ".users.swift",
>   "user_uid_pool": ".users.uid",
>   "system_key": { "access_key": "",
>       "secret_key": ""},
>   "placement_pools": [
>         { "key": "default-placement",
>           "val": { "index_pool": ".rgw.buckets2.index",
>               "data_pool": ".rgw.buckets"}},
>         { "key": "two-placement",
>           "val": { "index_pool": ".rgw.buckets2.index",
>               "data_pool": ".rgw.buckets"}},
>                           ]}
>

Did you run 'radosgw-admin regionmap update' after? Also note that all
the region/zone config changes require a gateway restart.

Yehuda
_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux