Skip to content
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

rbd: deprecate image format 1 #7841

Merged
merged 1 commit into from Mar 2, 2016
Merged

rbd: deprecate image format 1 #7841

merged 1 commit into from Mar 2, 2016

Conversation

dillaman
Copy link

The rbd cli will warn about the deprecation when attempting to create
image format 1 images. librbd will log an error message when opening
a format 1 RBD image.

Signed-off-by: Jason Dillaman dillaman@redhat.com

@@ -78,6 +78,9 @@ Context *OpenRequest<I>::handle_v1_detect_header(int *result) {
}
send_close_image(*result);
} else {
lderr(cct) << "RBD image format 1 is deprecated. "
<< "Please migrate this image to image format 2." << dendl;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe say "copy" instead of "migrate" so there's no confusion about how to do it (this was a common question when format 2 came out)

The rbd cli will warn about the deprecation when attempting to create
image format 1 images.  librbd will log an error message when opening
a format 1 RBD image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
@dillaman
Copy link
Author

Done

@dillaman dillaman added this to the jewel milestone Feb 29, 2016
@jdurgin
Copy link
Member

jdurgin commented Mar 1, 2016

lgtm

jdurgin added a commit that referenced this pull request Mar 2, 2016
rbd: deprecate image format 1

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
@jdurgin jdurgin merged commit 0c965e7 into ceph:master Mar 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants