Hi, Does anyone ever create VMWare image using "qemu-img convert" from a QCOW2 image? I did some test according to the following guide but the VM creation always failed.
I tried to logon to the console of the VM and found the console is reporting the VM was boot from PXE and no operating systems. ============================== = Using the qemu-img utility, disk images in several formats (such as, qcow2) can be converted to the VMDK format. For example, the following command can be used to convert a qcow2 Ubuntu Precise cloud image<http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img> : $ qemu-img convert -f qcow2 ~/Downloads/precise-server-cloudimg-amd64-disk1.img \ -O vmdk precise-server-cloudimg-amd64-disk1.vmdk VMDK disks converted through qemu-img are always monolithic sparse VMDK disks with an IDE adapter type. Using the previous example of the Precise Ubuntu image after the qemu-img conversion, the command to upload the VMDK disk should be something like: $ glance image-create --name precise-cloud --is-public=True \ --container-format=bare --disk-format=vmdk \ --property vmware_disktype="sparse" \ --property vmware_adaptertype="ide" < \ precise-server-cloudimg-amd64-disk1.vmdk =============================== -- Thanks, Jay
_______________________________________________ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
