Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 182126

vmdk image (converted from qcow2 or raw image ) can not be boot up on vcenter.

$
0
0

Hello,

 

I am using both Openstack with vSphere. I am stuck in the image problem till now.

 

I have some qcow2 and raw format image in Openstack, I try to convert these images to vmdk use command (here I use lsilogic adapter):

 

for raw : qemu-img convert -f raw -O vmdk -o adapter_type=lsilogic centos70.dsk centos70.vmdk

for qcow2 : qemu-img convert -f qcow2 -O vmdk -o adapter_type=lsilogic  centos70.dsk centos70.vmdk

 

Then I register these vmdk image with Openstack glance like this way (I indicated glance service with IsiLogic adapter):

 

openstack image create --disk-format vmdk --container-format bare --property vmware_adaptertype="lsiLogic" --property vmware_disktype="sparse" test-image < centos70.vmdk

 

Then I try to use these image to start up vm in vcenter:

 

 

openstack server create --image test-image --flavor 1 --network 4217efe4-f2e4-4e68-8419-52117384016c test-vm

 

Finally I check the vm on Vceneter, I found the vm is hang on forever like below:

 

QQ20180307-0.jpg

I suspect the image does not have some drivers, I refer to this doc: http://pubs.vmware.com/esx254/admin/wwhelp/wwhimpl/common/html/wwhelp.htm?context=admin&file=esx25admin_vms.4.12.html  to check the vm which is boot from the same raw (qcow2) image on another KVM hypervisor. I can found the driver.

 

I do not know what is wrong, while the vm is booting. anyone met the same problem before, how do you solve the problem, please help, thanks in advance.


Viewing all articles
Browse latest Browse all 182126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>