[Openstack] Volume from image question

John Griffith john.griffith at solidfire.com
Mon Oct 12 13:23:35 UTC 2015


On Mon, Oct 12, 2015 at 3:27 AM, Cory Hawkless <Cory at hawkless.id.au> wrote:

> Hi all,
>
>
>
> When creating a volume from an image(Using Horizon), why does the Cinder
> server need to do what appears to be a conversion of the image before it
> can create the volume?
>
> All of my images in Glance are uploaded in RAW format, images and volumes
> are stored in Ceph.
>
>
>
> The reason I know the images are being processed on my glance server is
> because it runs out of disk space when trying to make volumes from large
> images and the process fails. I can see the temporary file in
> /var/lib/cinder/conversion
>
>
>
> Is it not possible to have glance simply copy the image form the images
> store into the volumes store? I am going to regularly be creating new
> Windows Server instances, so it would take quite some time for a 20gb image
> to be processed by Cinder before it can be uploaded into Ceph.
>
>
>
> Regards,
>
> Cory
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
​Hey Cory,​

​If I remember correctly, it was due to concerns around security issues.
It's using the intermediate/tmp file to perform image checks prior to
blindly laying down on the volume.  The maybe good news is that at least it
doesn't need to do a conversion of the file.

Thanks,
John​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20151012/6a6eaa1f/attachment.html>


More information about the Openstack mailing list