Glance image create - Windows template from vmdk disk
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.
Hello! What size did you image had? I am wondering about any limitations, because my 40G image is stuck at "Spawning" for hours.