<div dir="ltr">BTW,<div><br></div><div>If the source image is based on compression or thin provision type (like VDI, QCOW2, VMDK, etc.)</div><div>It will take a long time to create no matter boot on image or volume. </div><div>Nova will convert the image based on these type first during creation. Because Ceph RBD doesn't support.</div><div>Make sure all the images you upload is based on RBD format (or RAW format in other word), unless the virtual size of image is small.</div><div><div><div><br></div><div>.</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Tony Liu <<a href="mailto:tonyliu0592@hotmail.com">tonyliu0592@hotmail.com</a>> 於 2021年4月1日 週四 上午10:18寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thank you Eddie! It makes sense. Creating a snapshot is much faster<br>
than copying image to a volume.<br>
<br>
Tony<br>
________________________________________<br>
From: Eddie Yen <<a href="mailto:missile0407@gmail.com" target="_blank">missile0407@gmail.com</a>><br>
Sent: March 31, 2021 05:59 PM<br>
To: Tony Liu<br>
Cc: <a href="mailto:openstack-discuss@lists.openstack.org" target="_blank">openstack-discuss@lists.openstack.org</a><br>
Subject: Re: launch VM on volume vs. image<br>
<br>
Hi Tony,<br>
<br>
In Ceph layer, IME, launching VM on image is creating a snapshot from source image in Nova ephemeral pool.<br>
If you check the RBD image created in Nova ephemeral pool, all images have their own parents from glance images.<br>
<br>
For launching VM on volume, it will "copy" the image to volume pool first, resize to specified disk size, then connect and boot.<br>
Because it's not create a snapshot from image, so it will take much longer.<br>
<br>
Eddie.<br>
<br>
Tony Liu <<a href="mailto:tonyliu0592@hotmail.com" target="_blank">tonyliu0592@hotmail.com</a><mailto:<a href="mailto:tonyliu0592@hotmail.com" target="_blank">tonyliu0592@hotmail.com</a>>> 於 2021年4月1日 週四 上午8:09寫道:<br>
Hi,<br>
<br>
With Ceph as the backend storage, launching a VM on volume takes much<br>
longer than launching on image. Why is that?<br>
Could anyone elaborate the high level workflow for those two cases?<br>
<br>
<br>
Thanks!<br>
Tony<br>
<br>
</blockquote></div>