[Openstack] [Nova][Glance] Nova imports flat images from base file despite ceph backend

melanie witt melwittt at gmail.com
Fri Oct 19 19:56:51 UTC 2018


On Fri, 12 Oct 2018 20:06:04 -0700, Remo Mattei wrote:
> I do not have it handy now but you can verify that the image is indeed raw or qcow2
> 
> As soon as I get home I will dig the command and pass it on. I have seen where images have extensions thinking it is raw and it is not.

You could try 'qemu-img info <image>' and get output like this, notice 
"file format":

$ qemu-img info test.vmdk
(VMDK) image open: flags=0x2 filename=test.vmdk
image: test.vmdk
file format: vmdk
virtual size: 20M (20971520 bytes)
disk size: 17M

[1] https://en.wikibooks.org/wiki/QEMU/Images#Getting_information

-melanie






More information about the Openstack mailing list