I have built an openstack(icehouse) platform with three virtual machines; controller, compute and network nodes. I aim to use qemu instead of kvm for virtualization. So I have inserted the following lines into /etc/nova/nova.conf in compute node:
[default]
compute_driver=libvirt.LibvirtDriver
[libvirt]
virt_type=qemu
But if an instance is tried to be created, it immediately gets into error state:
Error: internal error: no supported architecture for os type 'hvm'
After some research, I have found the golden information:
Qemu hypervisor only supports RAW, QCOW2, VMDK virtual disk formats.
Mine is VDI. I have converted the disk image into VMDK format.
qemu-img convert input.vdi -O vmdk output.vmdk
After running compute-vm on vmdk image, I become able to create an instance without any error.
Comments
Post a Comment