[Openstack] Volume from image question

2015-10-12 Thread Cory Hawkless
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 i

Re: [Openstack] Volume from image question

2015-10-12 Thread Avishay Traeger
The flow for all images for this process is to download from Glance to a temporary file, and then write to volume. This is not necessary for raw images, but that optimization has not been done. I did leave a comment about that in the code though 2.5 years ago, but never implemented it - you can g

Re: [Openstack] Volume from image question

2015-10-12 Thread John Griffith
On Mon, Oct 12, 2015 at 3:27 AM, Cory Hawkless 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 f

Re: [Openstack] Volume from image question

2015-10-12 Thread Cory Hawkless
PM To: Cory Hawkless Cc: openstack@lists.openstack.org Subject: Re: [Openstack] Volume from image question The flow for all images for this process is to download from Glance to a temporary file, and then write to volume. This is not necessary for raw images, but that optimization has not been

Re: [Openstack] Volume from image question

2015-10-12 Thread John Griffith
ges twice? > > > > Regards, > > Cory > > > > *From:* Avishay Traeger [mailto:avis...@stratoscale.com] > *Sent:* Monday, 12 October 2015 9:55 PM > *To:* Cory Hawkless > *Cc:* openstack@lists.openstack.org > *Subject:* Re: [Openstack] Volume from image question &g

Re: [Openstack] Volume from image question

2015-10-12 Thread Avishay Traeger
> > ​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. > > Thank

Re: [Openstack] Volume from image question

2015-10-13 Thread Josh Durgin
twice? Regards, Cory *From:*Avishay Traeger [mailto:avis...@stratoscale.com] *Sent:* Monday, 12 October 2015 9:55 PM *To:* Cory Hawkless *Cc:* openstack@lists.openstack.org *Subject:* Re: [Openstack] Volume from image question The flow for all images for this process is to download from Glance to

Re: [Openstack] Volume from image question

2015-10-14 Thread Cory Hawkless
eger Cc: openstack@lists.openstack.org Subject: Re: [Openstack] Volume from image question On 10/12/2015 06:46 PM, Cory Hawkless wrote: > In my setup I have one Ceph cluster but 2 different pools, one for > images which is on SATA disks and one for volumes which is on faster > SAS disks. > > Given