Re: radosgw hammer -> jewel upgrade (default zone & region config)

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

 



I for one am terrified of upgrading due to these messages (and indications that the problem still may not be resolved even in 10.2.1) - holding off until a clean upgrade is possible without running any hacky scripts.

-Ben

On Mon, May 23, 2016 at 2:23 AM, nick <nick@xxxxxxx> wrote:
Hi,
we ran into the same rgw problem when updating from infernalis to jewel
(version 10.2.1). Now I would like to run the script from Yehuda, but I am a
bit scared by


>I can create and get new buckets and objects but I've "lost" all my
> old buckets.

As I understood so far we do not need the trailing underscores from the script
when upgrading directly to 10.2.1. Is this correct?

I guess the trailing underscore gets created in that script line (filter_json
function):
"""
echo \"$key\": \"${val}_\", >> $out_file
"""

Should I remove the 'underscore' there?

Thanks for any help :-)

Cheers
Nick

On Friday, May 20, 2016 01:28:07 PM Jonathan D. Proulx wrote:
> On Fri, May 20, 2016 at 09:21:58AM -0700, Yehuda Sadeh-Weinraub wrote:
> :On Fri, May 20, 2016 at 9:03 AM, Jonathan D. Proulx <jon@xxxxxxxxxxxxx>
wrote:
> :> Hi All,
> :>
> :> I saw the previous thread on this related to
> :> http://tracker.ceph.com/issues/15597
> :>
> :> and Yehuda's fix script
> :> https://raw.githubusercontent.com/yehudasa/ceph/wip-fix-default-zone/src/
> :> fix-zone
> :>
> :> Running this seems to have landed me in a weird state.
> :>
> :> I can create and get new buckets and objects but I've "lost" all my
> :> old buckets.  I'm fairly confident the "lost" data is in the
> :> .rgw.buckets pool but my current zone is set to use .rgw.buckets_
>
> <snip>
>
> :> Should I just adjust the zone to use the pools without trailing
> :> slashes?  I'm a bit lost.  the last I could see from running the
> :
> :Yes. The trailing slashes were needed when upgrading for 10.2.0, as
> :there was another bug, and I needed to add these to compensate for it.
> :I should update the script now to reflect that fix. You should just
> :update the json and set the zone appropriately.
> :
> :Yehuda
>
> That did the trick (though obviously we both meant trailing
> underscores '_')
>
> Thanks,
> -Jon
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

--
Sebastian Nickel
Nine Internet Solutions AG, Albisriederstr. 243a, CH-8047 Zuerich
Tel +41 44 637 40 00 | Support +41 44 637 40 40 | www.nine.ch

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux