All of lore.kernel.org
 help / color / mirror / Atom feed
From: Orit Wasserman <owasserm@redhat.com>
To: Mustafa Muhammad <mustafa1024m@gmail.com>,
	ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: Lots of radosgw-admin commands fail after upgrade
Date: Wed, 2 Nov 2016 10:39:55 +0100	[thread overview]
Message-ID: <CABo9giTbFUrW1uE4iO5c5=4S4sT9mtxoD+8gi1vemcLCf3RVew@mail.gmail.com> (raw)
In-Reply-To: <CAFehDbC6yBsbQCPVmwE+DCod-Xmbafp1MU_r1wYZ0xd_q3Dt3Q@mail.gmail.com>

Hi,
You have hit the master zone issue.
Here is a fix I prefer:
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2016-July/011157.html
It is very important notice to run the fix when the radosgw is down.

Good luck,
Orit

On Tue, Nov 1, 2016 at 10:07 PM, Mustafa Muhammad
<mustafa1024m@gmail.com> wrote:
> On Tue, Nov 1, 2016 at 5:04 PM, Orit Wasserman <owasserm@redhat.com> wrote:
>> Hi,
>> what version of jewel are you using?
>> can you try raodsgw-admin zone get --rgw-zone default and
>> radosgw-admin zonegroup get --rgw-zonegroup default?
>>
> Hello, I am using 10.2.3
> #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": [],
>     "metadata_heap": ".rgw.meta",
>     "realm_id": ""
> }
>
> # radosgw-admin zonegroup get --rgw-zonegroup default
> {
>     "id": "default",
>     "name": "default",
>     "api_name": "",
>     "is_master": "true",
>     "endpoints": [],
>     "hostnames": [],
>     "hostnames_s3website": [],
>     "master_zone": "",
>     "zones": [
>         {
>             "id": "default",
>             "name": "default",
>             "endpoints": [],
>             "log_meta": "false",
>             "log_data": "false",
>             "bucket_index_max_shards": 0,
>             "read_only": "false"
>         }
>     ],
>     "placement_targets": [
>         {
>             "name": "cinema-placement",
>             "tags": []
>         },
>         {
>             "name": "cinema-source-placement",
>             "tags": []
>         },
>         {
>             "name": "default-placement",
>             "tags": []
>         },
>         {
>             "name": "erasure-placement",
>             "tags": []
>         },
>         {
>             "name": "share-placement",
>             "tags": []
>         },
>         {
>             "name": "share2016-placement",
>             "tags": []
>         },
>         {
>             "name": "test-placement",
>             "tags": []
>         }
>     ],
>     "default_placement": "default-placement",
>     "realm_id": ""
> }
>
>
> Thanks
> Mustafa
>
>> Orit
>>
>> On Tue, Nov 1, 2016 at 2:13 PM, Mustafa Muhammad <mustafa1024m@gmail.com> wrote:
>>> Hello,
>>> I have production cluster configured with multiple placement pools according to:
>>>
>>> http://cephnotes.ksperis.com/blog/2014/11/28/placement-pools-on-rados-gw
>>>
>>> After upgrading to Jewel, most radosgw-admin are failing, probably
>>> because there is no realm
>>>
>>>
>>> # radosgw-admin realm list
>>> {
>>>     "default_info": "",
>>>     "realms": []
>>> }
>>>
>>>
>>> # radosgw-admin zone get
>>> unable to initialize zone: (2) No such file or directory
>>>
>>>
>>> # radosgw-admin regionmap get
>>> failed to read current period info: 2016-11-01 16:08:14.099948
>>> 7f21b55ee9c0  0 RGWPeriod::init failed to init realm  id  : (2) No
>>> such file or directory(2) No such file or directory
>>> {
>>>     "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 bucket stats
>>> 2016-11-01 16:07:55.860053 7f6e747f89c0  0 zonegroup default missing
>>> zone for master_zone=
>>> couldn't init storage provider
>>>
>>> I have previous region.conf.json and zone.conf.json, how can I make
>>> everything work again? Will creating new realm fix this?
>>>
>>> Regards
>>> Mustafa Muhammad
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2016-11-02  9:39 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-01 13:13 Lots of radosgw-admin commands fail after upgrade Mustafa Muhammad
2016-11-01 14:04 ` Orit Wasserman
     [not found]   ` <CAFehDbC6yBsbQCPVmwE+DCod-Xmbafp1MU_r1wYZ0xd_q3Dt3Q@mail.gmail.com>
2016-11-02  9:39     ` Orit Wasserman [this message]
     [not found]       ` <CAFehDbC1kRQV+rQbD_r-yFHD2ymWXCUR1go2nu6y7FtoWB_t7g@mail.gmail.com>
2016-11-02 12:36         ` Orit Wasserman
2016-11-07  9:05       ` Mustafa Muhammad
2016-11-08 11:21         ` Orit Wasserman
     [not found]           ` <CAFehDbDaDdMHTtxLqq8kjd5Xd9RePqDDCXtJm7_7UMCD7Q3LOg@mail.gmail.com>
     [not found]             ` <CABo9giTWVHYGdrqpmtYP8-iDY5tM+a4MrBczwha27=g-HzmRcw@mail.gmail.com>
2016-11-09  5:45               ` Mustafa Muhammad
2016-11-09 10:11                 ` Orit Wasserman
2017-01-21  8:24                   ` Mustafa Muhammad
2017-01-22  9:04                     ` Orit Wasserman
2017-01-22 10:00                       ` Mustafa Muhammad
2017-01-22 13:34                         ` Orit Wasserman
2017-01-23  7:40                           ` Mustafa Muhammad
2017-01-23  7:45                             ` Orit Wasserman
2017-01-23  8:52                               ` Mustafa Muhammad
2017-01-23  8:53                                 ` Orit Wasserman
2017-01-23  9:03                                   ` Mustafa Muhammad
2017-01-23 10:22                                     ` Orit Wasserman
2017-01-23 12:40                                       ` Mustafa Muhammad
2017-01-23 13:08                                         ` Orit Wasserman
2017-01-28 12:32                                           ` Mustafa Muhammad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABo9giTbFUrW1uE4iO5c5=4S4sT9mtxoD+8gi1vemcLCf3RVew@mail.gmail.com' \
    --to=owasserm@redhat.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=mustafa1024m@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.