New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rgw: add recovery procedure for upgrade to older version of jewel #11827
Conversation
d412c18
to
c4e82bb
Compare
@@ -0,0 +1,37 @@ | |||
============= | |||
RGW upgrade procedure to older version of jewel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from older versions to Jewel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah.. now I understand.. maybe: upgrading to Jewel versions 10.2.0, 10.2.1, 10.2.2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So is this the doc. for upgrading to jewel versions upto 10.2.4? Is this applicable for 10.2.4 as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue was fixed in 10.2.4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so for upgrading to 10.2.4 you don't need the workaround
|
||
Upgrade of :term:`Ceph Object Gateway` to older versions of jewel (up to 10.2.3) caused issues. This document describes the needed recovery procedure. | ||
|
||
Mixed version of :term:`Ceph Object Gateway` is supported only from 10.2.4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't really say we support it, could be misunderstood.
|
||
Run the following commands::: | ||
|
||
$ radosgw-admin zonnegroup get --rgw-zonegroup=default | sed 's/"id":.*/"id": "default",/g' | sed 's/"master_zone.*/"master_zone":"default",/g' > default-zg.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zonegroup get
@@ -0,0 +1,37 @@ | |||
============= | |||
RGW upgrade procedure to older version of jewel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So is this the doc. for upgrading to jewel versions upto 10.2.4? Is this applicable for 10.2.4 as well?
|
||
$ radosgw-admin zonegroup default --rgw-zonegroup=default | ||
|
||
$ radosgw-adminzone default --rgw-zone=default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
radosgw-admin zone
c4e82bb
to
90bcc35
Compare
|
||
$ radosgw-admin zonegroup default --rgw-zonegroup=default | ||
|
||
$ radosgw-admin zone default --rgw-zone=default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit the zonegroup set
and zone set
commands will accept the --default
flag, so you could avoid these last two steps
and am i correct that a radosgw-admin period update --commit
isn't needed here because radosgw will fall back to the local zone/zonegroup objects?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correct.
A side note the period update --commit actually fails here http://tracker.ceph.com/issues/17364.
I looking at it at the moment
90bcc35
to
59ec984
Compare
Fixes: http://tracker.ceph.com/issues/17820 Signed-off-by: Orit Wasserman <owasserm@redhat.com>
59ec984
to
6d8f7bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
jenkins test this please |
Fixes: http://tracker.ceph.com/issues/17820
Signed-off-by: Orit Wasserman owasserm@redhat.com