[Ovirt-devel] Error starting a virtual machine

Benjamin Kingsolver bkingsolver at ltgc.com
Thu Aug 27 14:54:25 UTC 2009


Joey Boggs wrote:
> Benjamin Kingsolver wrote:
>> I've been playing with ovirt built from source. When I try to start 
>> my first VM, I get this error in taskomatic.log:
>>
>> INFO Wed Aug 26 14:33:28 -0600 2009 (12750) starting task_start_vm
>> INFO Wed Aug 26 14:33:29 -0600 2009 (12750) VM will be started on 
>> node node94.ovirt.priv
>> DEBUG Wed Aug 26 14:33:29 -0600 2009 (12750) Connecting volumes:
>> DEBUG Wed Aug 26 14:33:29 -0600 2009 (12750) XML Domain definition: 
>> <domain 
>> type='kvm'><name>test2</name><uuid>04b5678b-10dc-155e-b7b3-b5e078466b6f</uuid><memory>524288</memory><currentMemory></currentMemory><vcpu>2</vcpu><os><type>hvm</type><boot 
>> dev='network'/></os><clock 
>> offset='utc'/><on_poweroff>destroy</on_poweroff><on_reboot>restart</on_reboot><on_crash>destroy</on_crash><devices><emulator>/usr/bin/qemu-kvm</emulator><interface 
>> type='bridge'><mac address='00:16:3e:1f:b6:eb'/><source 
>> bridge='breth0'/></interface><input bus='ps2' type='mouse'/><graphics 
>> type='vnc' port='-1' listen='0.0.0.0'/><serial type='pty'><target 
>> port='0'/></serial></devices><features><acpi/><apic/></features></domain> 
>>
>> ERROR Wed Aug 26 14:33:29 -0600 2009 (12750) Task action processing 
>> failed: RuntimeError: Error defining virtual machine: Error: Error 
>> creating domain using xml description (virDomainDefineXML). Subsystem 
>> unknown: internal error no supported architecture for os type 'hvm' 
>> in NodeWrap.cpp:ManagementMethod:414
>> ERROR Wed Aug 26 14:33:29 -0600 2009 (12750) 
>> /usr/share/ovirt-server/task-omatic/taskomatic.rb:395:in 
>> `task_start_vm'/usr/share/ovirt-server/task-omatic/taskomatic.rb:904:in 
>> `mainloop'/usr/share/ovirt-server/task-omatic/taskomatic.rb:890:in 
>> `each'/usr/share/ovirt-server/task-omatic/taskomatic.rb:890:in 
>> `mainloop'/usr/share/ovirt-server/task-omatic/taskomatic.rb:856:in 
>> `loop'/usr/share/ovirt-server/task-omatic/taskomatic.rb:856:in 
>> `mainloop'/usr/share/ovirt-server/task-omatic/taskomatic.rb:957
>> INFO Wed Aug 26 14:33:29 -0600 2009 (12750) done
>>
>> Any advice on how to start troubleshooting this?
>>
>> _______________________________________________
>> Ovirt-devel mailing list
>> Ovirt-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/ovirt-devel
>
> Guessing it looks like the machine doesnt support hardware 
> virtualization or has it disabled.   Can you get the contents of 
> /proc/cpuinfo, for at least one of the cpus. Also any specs on the 
> machine will help. 

HP ProLiant DL380 G5. My test server has 2 GB of RAM, and two dual-core 
Intel 3.00 GHz processors.

You are exactly right about the problem. My server has hardware 
virtualization support, but apparently it is disabled by default in the 
BIOS by HP. As soon as I read your comment, I checked the BIOS and found 
the problem. I have an OS installing in my first VM now.

Thanks for pointing me in the right direction!




More information about the ovirt-devel mailing list