All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mustafa Muhammad <mustafa1024m@gmail.com>
To: Orit Wasserman <owasserm@redhat.com>
Cc: ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: Lots of radosgw-admin commands fail after upgrade
Date: Mon, 23 Jan 2017 10:40:58 +0300	[thread overview]
Message-ID: <CAFehDbCfSvvPW7Sk0_4fM5nbKuATpDyd0A=uFi4Y_+ceL8Q6yg@mail.gmail.com> (raw)
In-Reply-To: <CABo9giQaYsahOM4jxcueT=DU_==KRwJBfdz2wPkT9GidN58_+g@mail.gmail.com>

On Sun, Jan 22, 2017 at 4:34 PM, Orit Wasserman <owasserm@redhat.com> wrote:
> On Sun, Jan 22, 2017 at 12:00 PM, Mustafa Muhammad
> <mustafa1024m@gmail.com> wrote:
>> On Sun, Jan 22, 2017 at 12:04 PM, Orit Wasserman <owasserm@redhat.com> wrote:
>>> On Sat, Jan 21, 2017 at 10:24 AM, Mustafa Muhammad
>>> <mustafa1024m@gmail.com> wrote:
>>>> Hello again :)
>>>>
>>>> It still doesn't work for me using 10.2.5:
>>>>
>>>> [root@monitor3 ~]# ceph -v
>>>> ceph version 10.2.5 (c461ee19ecbc0c5c330aca20f7392c9a00730367)
>>>> [root@monitor3 ~]# radosgw-admin period update --commit
>>>> 2017-01-21 11:06:20.659487 7f2ca18979c0  0 zonegroup default missing
>>>> zone for master_zone=
>>>> couldn't init storage provider
>>>>
>>>> I think I am hitting:
>>>> http://tracker.ceph.com/issues/17364
>>>>
>>>> So I created new RPMs with this patch:
>>>> https://github.com/ceph/ceph/pull/12315
>>>>
>>>> But now, it crashes when I try to update the period, I've attached the
>>>> output and the details of my zonegroup, I also tried the just released
>>>> Kraken, also crashes.
>>>>
>>>
>>> I am working on a fix.
>>> Will you be able to try it?
>>>
>
> https://github.com/ceph/ceph/pull/13054
>
> Good luck!

This *kind of* worked, it doesn't crash anymore, and zonegroup now
have master zone, but now I don't have my placement-targets anymore
I used:

radosgw-admin zone set --rgw-zone=default < new-default-zone.json
radosgw-admin zonegroup set --rgw-zonegroup=default < new-default-zg.json
radosgw-admin zonegroupmap set < new-zonegroupmap.json

radosgw-admin zonegroup default --rgw-zonegroup=default
radosgw-admin zone default --rgw-zone=default
radosgw-admin period update --commit

Is there something wrong I am doing? Can I update zonegroupmap
directly (like I did) or should I only set zone and zonegroup, tried
several things, still only getting:

                "placement_targets": [
                    {
                        "name": "default-placement",
                        "tags": []
                    }
                ]


Regards
Mustafa

>
>>
>> Yes, of course :)
>>
>> Thank you
>>
>> Mustafa
>>
>>> Orit
>>>> What do you think, what should I do?
>>>>
>>>> Thanks a lot in advance
>>>>
>>>> Regards
>>>> Mustafa Muhammad

  reply	other threads:[~2017-01-23  7:40 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
     [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 [this message]
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='CAFehDbCfSvvPW7Sk0_4fM5nbKuATpDyd0A=uFi4Y_+ceL8Q6yg@mail.gmail.com' \
    --to=mustafa1024m@gmail.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=owasserm@redhat.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.