[one-users] error create VM KVM

Javier Fontan jfontan at opennebula.org
Mon Nov 21 07:16:16 PST 2011


This error sounds like the modules for kvm are not loaded as it was
stated before. Most probably the mod probe command failed because your
cpu does not support virtualization extensions or is disabled in the
bios.

Check with lsmod and virsh capabilities that you really have the
modules loaded and hvm is supported:

http://blog.loftninjas.org/2009/05/04/libvirt-unknown-os-type-hvm/

On Wed, Nov 16, 2011 at 10:18 PM, Dian Djaelani <djaelani at maxindo.net.id> wrote:
> Hi thanks for attention,
> but i try check log on /var/log/libvirt/qemu/ in cluster2 that not found log
>
> Humberto N. Castejon Martinez wrote:
>>
>> Hi,
>>
>> I have also experienced this problem, my if I am not wrong it can be due
>> to several reasons. In your case I think the following error message can
>> have the clue:
>>
>> [VMM][I]: error: unknown OS type hvm
>>
>> Have you properly defined the OS attribute of the image you are trying to
>> deploy?
>> Also, check /var/log/libvirt/qemu/one-9.log in cluster2 for more info
>> about the problem.
>>
>> Cheers,
>> Humberto
>>
>> ------------------------------
>>
>> Message: 4
>> Date: Wed, 16 Nov 2011 02:54:01 +0700
>> From: Dian Djaelani <djaelani at maxindo.net.id
>> <mailto:djaelani at maxindo.net.id>>
>> To: users at lists.opennebula.org <mailto:users at lists.opennebula.org>
>> Subject: [one-users] error create VM KVM
>> Message-ID: <4EC2C359.1040800 at maxindo.net.id
>> <mailto:4EC2C359.1040800 at maxindo.net.id>>
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>>
>> anyone can help me ?? i`m try to build opennebula but error when create
>> virtual machine with KVM hypervisor
>>
>> Wed Nov 16 02:29:57 2011 [DiM][I]: New VM state is ACTIVE.
>> Wed Nov 16 02:29:57 2011 [LCM][I]: New VM state is PROLOG.
>> Wed Nov 16 02:29:57 2011 [VM][I]: Virtual Machine has no context
>> Wed Nov 16 02:30:57 2011 [TM][D]: tm_clone.sh:
>> frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf
>> cluster2:/var/lib/one//9/images/disk.0
>> Wed Nov 16 02:30:57 2011 [TM][D]: tm_clone.sh: DST:
>> /var/lib/one//9/images/disk.0
>> Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Creating directory
>> /var/lib/one//9/images
>> Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "ssh cluster2
>> mkdir -p /var/lib/one//9/images".
>> Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Cloning
>> frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf
>> Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "scp
>> frontend:/var/lib/one/images/f29c4332b31b94eeed731f0dbd7cebbf
>> cluster2:/var/lib/one//9/images/disk.0".
>> Wed Nov 16 02:30:57 2011 [TM][I]: tm_clone.sh: Executed "ssh cluster2
>> chmod a+rw /var/lib/one//9/images/disk.0".
>> Wed Nov 16 02:30:57 2011 [TM][I]: ExitCode: 0
>> Wed Nov 16 02:30:57 2011 [LCM][I]: New VM state is BOOT
>> Wed Nov 16 02:30:57 2011 [VMM][I]: Generating deployment file:
>> /var/lib/one/9/deployment.0
>> Wed Nov 16 02:31:07 2011 [VMM][I]: Command execution fail: 'if [ -x
>> "/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy
>> /var/lib/one//9/images/deployment.0 cluster2 9 cluster2;
>> else                              exit 42; fi'
>> Wed Nov 16 02:31:07 2011 [VMM][I]: error: Failed to create domain from
>> /var/lib/one//9/images/deployment.0
>> Wed Nov 16 02:31:07 2011 [VMM][I]: error: unknown OS type hvm
>> Wed Nov 16 02:31:07 2011 [VMM][E]: Could not create domain from
>> /var/lib/one//9/images/deployment.0
>> Wed Nov 16 02:31:07 2011 [VMM][I]: ExitCode: 255
>> Wed Nov 16 02:31:07 2011 [VMM][E]: Error deploying virtual machine:
>> Could not create domain from /var/lib/one//9/images/deployment.0
>> Wed Nov 16 02:31:08 2011 [DiM][I]: New VM state is FAILED
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfontan at opennebula.org | @OpenNebula



More information about the Users mailing list