Clone Cinder-Backed Image (Ussuri)
Hi, I have made a cinder-backed image where my cinder is RBD-backed. The backing topology of that image is as follows. glance -> cinder -> RBD. Is it possible to clone that image like RBD-backed images? I think the following bluprint is related but I don't know if it has been implemented yet, at least on Ussuri. https://blueprints.launchpad.net/cinder/+spec/clone-image-in-glance-cinder-b... Best regards,
Hi, By observation, it seems that if I create a volume from a cinder-backed image where the new volume host is the same with the cinder host of the cinder-backed image, the clone is working. Otherwise, the process is fallback to default. Best regards, On Mon, Nov 16, 2020 at 1:28 AM Lazuardi Nasution <mrxlazuardin@gmail.com> wrote:
Hi,
I have made a cinder-backed image where my cinder is RBD-backed. The backing topology of that image is as follows.
glance -> cinder -> RBD.
Is it possible to clone that image like RBD-backed images? I think the following bluprint is related but I don't know if it has been implemented yet, at least on Ussuri.
https://blueprints.launchpad.net/cinder/+spec/clone-image-in-glance-cinder-b...
Best regards,
Hi Lazuardi, There have been a lot of changes recently in the glance cinder store, the most prominent being support of multiple cinder stores[1] (although that isn't related to your question, still good to know about). If i understand your question correctly, you would like an optimized "create volume from image" operation if the image is volume backed? If yes then we support that as given in the blueprint you mentioned. Also your observation is correct, this is one issue i also noticed while testing out this path and mentioned in the review here[2] (which is a patch to support glance cinder multiple stores functionality) [1] https://specs.openstack.org/openstack/cinder-specs/specs/ussuri/support-glan... [2] https://review.opendev.org/#/c/755654/7 Thanks and regards Rajat Dhasmana On Mon, Nov 16, 2020 at 12:17 AM Lazuardi Nasution <mrxlazuardin@gmail.com> wrote:
Hi,
By observation, it seems that if I create a volume from a cinder-backed image where the new volume host is the same with the cinder host of the cinder-backed image, the clone is working. Otherwise, the process is fallback to default.
Best regards,
On Mon, Nov 16, 2020 at 1:28 AM Lazuardi Nasution <mrxlazuardin@gmail.com> wrote:
Hi,
I have made a cinder-backed image where my cinder is RBD-backed. The backing topology of that image is as follows.
glance -> cinder -> RBD.
Is it possible to clone that image like RBD-backed images? I think the following bluprint is related but I don't know if it has been implemented yet, at least on Ussuri.
https://blueprints.launchpad.net/cinder/+spec/clone-image-in-glance-cinder-b...
Best regards,
participants (2)
-
Lazuardi Nasution
-
Rajat Dhasmana