Re: RadosGW not start after upgrade to Jewel

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

 



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
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.jazdzewski@xxxxxxxxxxxxxx>:
>> 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 <kmroz@xxxxxxxx>:
>>> 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@xxxxxxxxxxxxxx
> 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@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