image conversion in Liberty

asked 2016-10-16 04:17:59 -0500

Bipin gravatar image

updated 2016-10-16 04:18:45 -0500

In an production setup i have noticed that, while image being copied into image cache, the file is converted to a RAW format. The Actual image is QCOW2. The following is the setup.

Mirantis Openstack Liberty, Backed by NetAPP. boot-from-image-create-volume is the boot scenario. I believe its Cinder job to doing the conversion. Question is why this conversion to RAW format, is there a specific reason for this ?

Regards

edit retag flag offensive close merge delete

Comments

Once I read somewhere that this happens because the raw image can be transformed faster than QCOW2 images and also they are a better fit for hypervisors

fifi gravatar imagefifi ( 2016-10-16 11:44:07 -0500 )edit

OK, Thanks. But I couldnt find a document for this.

Bipin gravatar imageBipin ( 2016-10-18 04:18:52 -0500 )edit

Do I understand you right - you boot from an image that you then attach to the instance as a volume? My guess is that Cinder volumes can't be in qcow2 format, as not all hypervisors may be be able to attach a qcow2 file to a VM.

Bernd Bausch gravatar imageBernd Bausch ( 2016-10-20 19:46:41 -0500 )edit

Perhaps it's specific to the Netapp driver, as indicated in this forum post: http://community.netapp.com/t5/OpenSt....

Bernd Bausch gravatar imageBernd Bausch ( 2016-10-20 19:49:57 -0500 )edit