Ask Your Question
2

Can the VMDK image version be set?

asked 2013-06-06 14:51:01 -0500

sdmsmiller gravatar image

updated 2013-06-07 17:27:59 -0500

smaffulli gravatar image

I created a VMDK on my ESX system as VM Version 8. The document for Glance states that vmware_image_version is not used. When I launch an instance, I noticed that ESX shows the image version is VM Version 9. Then I eventually got an error "NovaException: The virtual disk is either corrupted or not a supported format." Is there a way to set or control what the image version is supposed to be launched?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-11-18 18:36:08 -0500

updated 2013-11-22 10:26:42 -0500

sgordon gravatar image

Starting at v0.12, Qemu-kvm has native support to VMware's disk images v6 (seems to be compatible with v7, used by VMware Server)

You will need to export as V7 or V6 then first to boot at the command line using KVM.

$ kvm -drive file=your_vmdk_filename_here.vmdk,boot=on

If that does not work look at the VMX config file and follow these instructions. http://www.linux-kvm.org/page/How_To_Migrate_From_Vmware_To_KVM

flat VMDK files should run fine I have version 7 running.

The other thing I would recommend is to convert it to QCOW2 Image, add the Cloud-Init drivers, Virt-IO drivers to make the Image cloud Aware for OpenStack. You have much more flexibility then.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-06-06 14:51:01 -0500

Seen: 1,321 times

Last updated: Nov 22 '13