On Tue, Apr 26, 2016 at 6:50 AM, Abhishek Lekshmanan <abhis...@suse.com> wrote:
>
> Ansgar Jazdzewski writes:
>
>> Hi,
>>
>> After plaing with the setup i got some output that looks wrong
>>
>> # radosgw-admin zone get
>>
>>     "placement_pools": [
>>         {
>>             "key": "default-placement",
>>             "val": {
>>                 "index_pool": ".eu-qa.rgw.buckets.inde",
>>                 "data_pool": ".eu-qa.rgw.buckets.dat",
>>                 "data_extra_pool": ".eu-qa.rgw.buckets.non-e",
>>                 "index_type": 0
>>             }
>>         }
>>     ],
>>
>> i think it sould be
>>
>> index_pool = .eu-qa.rgw.buckets.index.
>> data_pool = .eu-qa.rgw.buckets
>> data_extra_pool = .eu-qa.rgw.buckets.extra
>>
>> how can i fix it?
>
> Not sure how it reached this state, but given a zone get json, you can

There's an issue now when doing radosgw-admin zone set, and the pool
names start with a period (http://tracker.ceph.com/issues/15597). The
pool name is getting truncated by one character. We will have this
fixed for the next point release, but the workaround now would be to
add an extra character in each pool name before running the zone set
command.

Yehuda

> edit this and set it back using zone set for eg
> # radosgw-admin zone get > zone.json # now edit this file
> # radosgw-admin zone set --rgw-zone="eu-qa" < zone.json
>>
>> Thanks
>> Ansgar
>>
>> 2016-04-26 13:07 GMT+02:00 Ansgar Jazdzewski <a.jazdzew...@googlemail.com>:
>>> Hi all,
>>>
>>> i got an answer, that pointed me to:
>>> https://github.com/ceph/ceph/blob/master/doc/radosgw/multisite.rst
>>>
>>> 2016-04-25 16:02 GMT+02:00 Karol Mroz <km...@suse.com>:
>>>> On Mon, Apr 25, 2016 at 02:23:28PM +0200, Ansgar Jazdzewski wrote:
>>>>> Hi,
>>>>>
>>>>> we test Jewel in our  QA environment (from Infernalis to Hammer) the
>>>>> upgrade went fine but the Radosgw did not start.
>>>>>
>>>>> the error appears also with radosgw-admin
>>>>>
>>>>> # radosgw-admin user info --uid="images" --rgw-region=eu --rgw-zone=eu-qa
>>>>> 2016-04-25 12:13:33.425481 7fc757fad900  0 error in read_id for id  :
>>>>> (2) No such file or directory
>>>>> 2016-04-25 12:13:33.425494 7fc757fad900  0 failed reading zonegroup
>>>>> info: ret -2 (2) No such file or directory
>>>>> couldn't init storage provider
>>>>>
>>>>> do i have to change some settings, also for upgrade of the radosgw?
>>>>
>>>> Hi,
>>>>
>>>> Testing a recent master build (with only default region and zone),
>>>> I'm able to successfully run the command you specified:
>>>>
>>>> % ./radosgw-admin user info --uid="testid" --rgw-region=default 
>>>> --rgw-zone=default
>>>> ...
>>>> {
>>>>     "user_id": "testid",
>>>>     "display_name": "M. Tester",
>>>> ...
>>>> }
>>>>
>>>> Are you certain the region and zone you specified exist?
>>>>
>>>> What do the following report:
>>>>
>>>> radosgw-admin zone list
>>>> radosgw-admin region list
>>>>
>>>> --
>>>> Regards,
>>>> Karol
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users@lists.ceph.com
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
> --
> Abhishek Lekshmanan
> SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 
> 21284 (AG Nürnberg)
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to