Ask Your Question

Glance image create - Windows template from vmdk disk

asked 2014-04-17 08:05:46 -0500

I have a perfectly working Windows 2008 server VM in my ESXi host (derived from an OVF template and then modified). It perfectly works in my ESXi environment.

I want now upload that disk to glance, in order to start new VMs from Openstack (using the same ESXi host, hooked up by Openstack). I correctly uploaded the VM-flat.vmdk disk to glance with this command:

glance image-create --name=InFSE --disk-format=vmdk --container-format=bare --is-public=true --property vmware_disktype="preallocated" --property vmware_adaptertype="lsiLogicsas" --property hypervisor_type="vmware" < VM-flat.vmdk

When I start a new VM the procedure of copying the disk file to vmware_base folder in ESXi host correctly works, the VM correctly spawn but, when it starts, Windows says that "a recent hardware or software change" impedes windows to start correctly.

I also tried to change the adaptertype (with no change in resulting behavior):

glance image-update --property vmware_adaptertype="lsiLogic" InFSE

Any tips will be appreciated.

edit retag flag offensive close merge delete


Hello! What size did you image had? I am wondering about any limitations, because my 40G image is stuck at "Spawning" for hours.

AlexShumilov gravatar imageAlexShumilov ( 2014-08-14 04:29:59 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-04-17 09:10:37 -0500

Seems that you have to add another property to the image (at least for Vindows 2008 Server images) to let it work properly:

glance image-update --property vmware_ostype=windows7Server64Guest InFSE

This works for me!

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

1 follower


Asked: 2014-04-17 08:05:46 -0500

Seen: 2,096 times

Last updated: Apr 17 '14