On Thu, Jan 29, 2015 at 3:27 PM, Mark Kirkwood
<mark.kirkw...@catalyst.net.nz> wrote:
> On 30/01/15 11:08, Yehuda Sadeh wrote:
>>
>> How does your regionmap look like? Is it updated correctly on all zones?
>>
>
> Regionmap listed below - checking it on all 4 zones produces exactly the
> same output (md5sum is same):
>
> {
>     "regions": [
>         {
>             "key": "eu",
>             "val": {
>                 "name": "eu",
>                 "api_name": "eu",
>                 "is_master": "false",
>                 "endpoints": [
>                     "http:\/\/ceph4:80\/",
>                     "http:\/\/ceph3:80\/"
>                 ],
>                 "master_zone": "eu-east",
>                 "zones": [
>                     {
>                         "name": "eu-east",
>                         "endpoints": [
>                             "http:\/\/ceph4:80\/"
>                         ],
>                         "log_meta": "true",
>                         "log_data": "true",
>                         "bucket_index_max_shards": 0
>                     },
>                     {
>                         "name": "eu-west",
>                         "endpoints": [
>                             "http:\/\/ceph3:80\/"
>                         ],
>                         "log_meta": "true",
>                         "log_data": "true",
>                         "bucket_index_max_shards": 0
>                     }
>                 ],
>                 "placement_targets": [
>                     {
>                         "name": "default-placement",
>                         "tags": []
>                     }
>                 ],
>                 "default_placement": "default-placement"
>             }
>         },
>         {
>             "key": "us",
>             "val": {
>                 "name": "us",
>                 "api_name": "us",
>                 "is_master": "true",
>                 "endpoints": [
>                     "http:\/\/ceph2:80\/",
>                     "http:\/\/ceph1:80\/"

Note that you have ceph1:80 specified as an endpoint to the region.
This is then used for the bucket creation. This one should only
include the master endpoint.

Yehuda

>                 ],
>                 "master_zone": "us-east",
>                 "zones": [
>                     {
>                         "name": "us-east",
>                         "endpoints": [
>                             "http:\/\/ceph2:80\/"
>                         ],
>                         "log_meta": "true",
>                         "log_data": "true",
>                         "bucket_index_max_shards": 0
>                     },
>                     {
>                         "name": "us-west",
>                         "endpoints": [
>                             "http:\/\/ceph1:80\/"
>                         ],
>                         "log_meta": "true",
>                         "log_data": "true",
>                         "bucket_index_max_shards": 0
>                     }
>                 ],
>                 "placement_targets": [
>                     {
>                         "name": "default-placement",
>                         "tags": []
>                     }
>                 ],
>                 "default_placement": "default-placement"
>             }
>         }
>     ],
>     "master_region": "us",
>     "bucket_quota": {
>         "enabled": false,
>         "max_size_kb": -1,
>         "max_objects": -1
>     },
>     "user_quota": {
>         "enabled": false,
>         "max_size_kb": -1,
>         "max_objects": -1
>     }
> }
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to