On Fri, Oct 7, 2016 at 12:24 PM, Andrei Mikhailovsky <and...@arhont.com> wrote:
> Hi Orit,
>
> The radosgw service has been configured about two years ago using the 
> documentation on the ceph.com website. No changes to configuration has been 
> done since. The service was working fine until the 10.2.3 update recently. I 
> have been updating ceph to include every major release and practically every 
> minor release (apart from maybe one or two about a year ago.
>
> I have followed the insructions in the following link 
> (https://www.mail-archive.com/ceph-users@lists.ceph.com/msg31764.html) and 
> that has solved the issue with radosgw not able to start at all.
>
> To answer your question, I now have the following from the commands that 
> you've listed. Please let me know if something is missing.
>
>
> # radosgw-admin realm get
> {
>     "id": "5b41b1b2-0f92-463d-b582-07552f83e66c",
>     "name": "default",
>     "current_period": "286475fa-625b-4fdb-97bf-dcec4b437960",
>     "epoch": 1
> }
>
>
>
> # radosgw-admin zonegroupmap get
> {
>     "zonegroups": [],
>     "master_zonegroup": "",
>     "bucket_quota": {
>         "enabled": false,
>         "max_size_kb": -1,
>         "max_objects": -1
>     },
>     "user_quota": {
>         "enabled": false,
>         "max_size_kb": -1,
>         "max_objects": -1
>     }
> }
>
>
>
> # radosgw-admin zonegroup get
> {
>     "id": "default",
>     "name": "default",
>     "api_name": "",
>     "is_master": "true",
>     "endpoints": [],
>     "hostnames": [],
>     "hostnames_s3website": [],
>     "master_zone": "",

You need to set the master zone to be default zone id (which is also
default becuase you upgraded from an older version)

try: radosgw-admin zone modify --master --rgw-zone default.

If that doesn't work there is a more complicated procedure that I hope
we can avoid.

>     "zones": [
>         {
>             "id": "default",
>             "name": "default",
>             "endpoints": [],
>             "log_meta": "false",
>             "log_data": "false",
>             "bucket_index_max_shards": 0,
>             "read_only": "false"
>         }
>     ],
>     "placement_targets": [
>         {
>             "name": "default-placement",
>             "tags": []
>         }
>     ],
>     "default_placement": "default-placement",
>     "realm_id": ""
> }
>
>
>
> # radosgw-admin zone get  --rgw-zone=default
> {
>     "id": "default",
>     "name": "default",
>     "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.buckets.index",
>                 "data_pool": ".rgw.buckets",
>                 "data_extra_pool": "",
>                 "index_type": 0
>             }
>         }
>     ],
>     "metadata_heap": ".rgw.meta",
>     "realm_id": ""
> }
>
>
>
>
>
> I did notice that I am missing the .usage pool as per     "usage_log_pool": 
> ".usage", setting. Should I create it with the same settings as the .users 
> pool?

no need , rgw creates it when it needs it

Orit
> Cheers
>
> Andrei
>
>
>
>
> ----- Original Message -----
>> From: "Orit Wasserman" <owass...@redhat.com>
>> To: "andrei" <and...@arhont.com>
>> Cc: "ceph-users" <ceph-users@lists.ceph.com>
>> Sent: Friday, 7 October, 2016 10:21:44
>> Subject: Re: [ceph-users] unable to start radosgw after upgrade from 10.2.2 
>> to 10.2.3
>
>> Hi,
>>
>> On Wed, Oct 5, 2016 at 11:23 PM, Andrei Mikhailovsky <and...@arhont.com> 
>> wrote:
>>> Hello everyone,
>>>
>>> I've just updated my ceph to version 10.2.3 from 10.2.2 and I am no longer
>>> able to start the radosgw service. When executing I get the following error:
>>>
>>> 2016-10-05 22:14:10.735883 7f1852d26a00  0 ceph version 10.2.3
>>> (ecc23778eb545d8dd55e2e4735b53cc93f92e65b), process radosgw, pid 2711
>>> 2016-10-05 22:14:10.765648 7f1852d26a00  0 pidfile_write: ignore empty
>>> --pid-file
>>> 2016-10-05 22:14:11.287772 7f1852d26a00  0 zonegroup default missing zone
>>> for master_zone=
>>
>> This means you are missing a master zone , you can get here only if
>> you configured a realm.
>> Is that the case?
>>
>> Can you provide:
>> radosgw-admin realm get
>> radosgw-admin zonegroupmap get
>> radosgw-admin zonegroup get
>> radosgw-admin zone get  -rgw-zone=default
>>
>> Orit
>>
>>> 2016-10-05 22:14:11.294141 7f1852d26a00 -1 Couldn't init storage provider
>>> (RADOS)
>>>
>>>
>>>
>>> I had no issues starting rados on 10.2.2 and all versions prior to that.
>>>
>>> I am running ceph 10.2.3 on Ubuntu 16.04 LTS servers.
>>>
>>> Could someone please help me with fixing the problem?
>>>
>>> Thanks
>>>
>>> Andrei
>>>
>>> _______________________________________________
>>> 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