Ask Your Question


asked 2015-08-22 13:21:21 -0500

Dayma gravatar image

Hello all. I am in the process of POC'ing the Cisco OpenStack solution. I am new to this so forgive me.

I have multiple guest disk files. VHDX and VMDK. It looks like Glance(?) is supposed to support them as direct imports for images but I can never get it to work. Upon further reading it seems that the only way to get these to work is to convert the disk files to RAW via qemu-img. Is this correct?

Also, how would I handle VM's with multiple VMDK disk files?

This seems, so far, a significant effort to move an enterprise guest into OpenStack.

Thanks for eveyone's help!!!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-08-24 12:33:11 -0500

alexpilotti gravatar image

It depends on your target hypervisor:

Hyper-V supports VHD and VHDX images, VMWare supports VMDK, KVM supports QCow2, RAW, etc.

You can easily convert among image formats with qemu-img, see for example:

if you have multiple hypervisor types in your openstack deployment, just add a hypervisor_type property to your image, e.g.:

glance image-create --property hypervisor_type=hyperv --name "Windows Server 2012 R2 Std" --container-format bare --disk-format vhd --file image.vhdx
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-08-22 13:21:21 -0500

Seen: 228 times

Last updated: Aug 24 '15