RBD backend only supports booting from images in raw format. A volume
that was cloned from an image in any other format is not bootable. The
RBD driver will consider non-raw images to be uncloneable to trigger
automatic conversion to raw format.
Includes conversion of the corresponding unit test to use mock (instead
of mox) and expanded comments and error messages based on change #58893
by Edward Hope-Morley.
Reviewed: https:/ /review. openstack. org/58870 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=e066158b523 5a3879fe90fa3bd 813fc3363c01f5
Committed: https:/
Submitter: Jenkins
Branch: master
commit e066158b5235a38 79fe90fa3bd813f c3363c01f5
Author: Dmitry Borodaenko <email address hidden>
Date: Wed Nov 27 14:33:00 2013 -0800
Do not clone non-raw images in rbd backend
RBD backend only supports booting from images in raw format. A volume
that was cloned from an image in any other format is not bootable. The
RBD driver will consider non-raw images to be uncloneable to trigger
automatic conversion to raw format.
Includes conversion of the corresponding unit test to use mock (instead
of mox) and expanded comments and error messages based on change #58893
by Edward Hope-Morley.
Change-Id: I5725d2f7576bc1 b3e9b874ba944ad 17d33a6e2cb
Closes-Bug: #1246219
Closes-Bug: #1247998