[one-users] Failed during boot

Jason Heiss jheiss at aput.net
Wed Aug 11 17:36:15 PDT 2010


Have you rebooted or forced the appropriate kernel modules to load via modprobe since installing kvm/kmod-kvm?  You'll need kvm and kvm_intel or kvm-amd loaded.  That should happen automatically on reboot after installing kmod-kvm.  If you want to avoid a reboot you can manually load them with modprobe.

Jason

On Aug 10, 2010, at 7:14 PM, Phuwadon (Aun) Danrahan wrote:

> Hello Jaime,
> 
> I'm running the testing box with 
> 
> - CentOS 5.5 64 bit
> - kvm-83-164.el5_5.15
> - kmod-kvm-83-164.el5_5.15
> - kvm-qemu-img-83-164.el5_5.15
> - libvirt-python-0.6.3-33.el5_5.1
> - libvirt-0.6.3-33.el5_5.1
> - libvirt-0.6.3-33.el5_5.1
> - one-1.4.0-1
> 
> Brs,
> 
> On 10/8/2553 23:02, Jaime Melis wrote:
>> 
>> Hello,
>> 
>> Also, that error might also be produced by an out-dated version of KVM. What version of KVM and libvirt are you running and under what OS?
>> 
>> cheers,
>> Jaime
>> 
>> 
>> On Tue, Aug 10, 2010 at 5:24 PM, Jaime Melis <j.melis at fdi.ucm.es> wrote:
>> Hello,
>> 
>> KVM supports both para-virtualization and full-virtualization. In libvirt (used by OpenNebula for KVM), the type of virtualization is specified in the domain file, under the "type" element. If <type>hvm</type> (hardware virtual machine) then it requires full-virtualization. Take a look at: http://libvirt.org/formatdomain.html#elementsOSBIOS
>> 
>> I'm guessing the problem you're having is that either your hardware does not support hardware virtualization or, as suggested by Ricky Melgares, it's not enabled in the BIOS.
>> 
>> To check for harware virtualization support take a look at:
>> http://www.linux-kvm.org/page/FAQ#Preparing_to_use_KVM
>> 
>> cheers,
>> Jaime
>> 
>> On Tue, Aug 10, 2010 at 1:52 PM, Chris Sarginson <Chris.Sarginson at ukfast.co.uk> wrote:
>> Is hvm not for Xen deployments, rather than KVM?
>> 
>>  
>> From: users-bounces at lists.opennebula.org [mailto:users-bounces at lists.opennebula.org] On Behalf Of Diego Perez Fabado
>> Sent: 10 August 2010 08:51
>> To: Phuwadon (Aun) Danrahan
>> 
>> 
>> Cc: users at lists.opennebula.org
>> Subject: Re: [one-users] Failed during boot
>>  
>> Hello I'm also having a similar problem with kvm, any help would be very appreciated 
>> 
>>  
>> Tue Aug 10 10:40:43 2010 [VMM][I]: Generating deployment file: /opt/opennebula/var/89/deployment.0
>> 
>> Tue Aug 10 10:40:43 2010 [VMM][I]: Command execution fail: 'mkdir -p /opt/opennebula/var/89/images && cat > /opt/opennebula/var/89/images/deployment.0 && virsh --connect qemu:///system create /opt/opennebula/var/89/images/deployment.0'
>> 
>> Tue Aug 10 10:40:43 2010 [VMM][I]: STDERR follows.
>> 
>> Tue Aug 10 10:40:43 2010 [VMM][I]: error: Failed to create domain from /opt/opennebula/var/89/images/deployment.0
>> 
>> Tue Aug 10 10:40:43 2010 [VMM][I]: error: internal error no supported architecture for os type 'hvm'
>> 
>> Tue Aug 10 10:40:43 2010 [VMM][I]: ExitCode: 1
>> 
>> Tue Aug 10 10:40:43 2010 [VMM][E]: Error deploying virtual machine
>> 
>>  
>> Thank you very much!!!
>> 
>>  
>>  
>> 2010/8/10 Phuwadon (Aun) Danrahan <phuwadon at tarad.com>
>> 
>> Note: i manually create the .img file by using command "qemu-img create -f qcow2 /opt/image/myimage.img 14G" . I'm very new to OpenNebula.
>> 
>> 
>> 
>> 
>> Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 Command execution fail: 'mkdir -p /srv/cloud/one/var//21/images && cat > /srv/cloud/one/var//21/images/deployment.0 && virsh --connect qemu:///system create /srv/cloud/one/var//21/images/deployment.0'
>> 
>> Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 STDERR follows.
>> 
>> Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 error: Failed to create domain from /srv/cloud/one/var//21/images/deployment.0
>> 
>> Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 error: internal error Domain one-21 didn't show up
>> 
>> 
>> 
>> Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21
>> 
>> Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 ExitCode: 1
>> 
>> Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: DEPLOY FAILURE 21 -
>> 
>> Tue Aug 10 11:54:19 2010 [TM][D]: Message received: LOG - 21 tm_delete.sh: Deleting /srv/cloud/one/var//21/images
>> 
>> Tue Aug 10 11:54:19 2010 [TM][D]: Message received: LOG - 21 tm_delete.sh: Executed "ssh devvm1 rm -rf /srv/cloud/one/var//21/images".
>> 
>> Tue Aug 10 11:54:19 2010 [TM][D]: Message received: TRANSFER SUCCESS 21 -
>> 
>> 
>> On 10/8/2553 12:07, Ricky Melgares wrote:
>> 
>> Can you please list the next couple of lines that follow the STDERR line.
>> 
>> 
>> 
>> On Aug 10, 2010, at 1:02 AM, Phuwadon (Aun) Danrahan wrote:
>> 
>>  
>> 
>> Hello,
>> 
>> I'm testing my first OpenNebular cloud and got an error that need your support. Anyone, know howto fix this error.
>> 
>> 
>> Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 Command execution fail: 'mkdir -p /srv/cloud/one/var//21/images&&  cat>  /srv/cloud/one/var//21/images/deployment.0&&  virsh --connect qemu:///system create /srv/cloud/one/var//21/images/deployment.0'
>> 
>> Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 STDERR follows.
>> 
>> 
>> This error occurred after i ran "onevm create myvhost". I did not see the file /srv/cloud/one/var//21/images/deployment.0 but i could see /srv/cloud/one/var//21/deployment.0
>>    
>> 
>>   
>>  
>> _______________________________________________
>> 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
>> 
>> 
>> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100811/7dc135e7/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2205 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100811/7dc135e7/attachment-0003.bin>


More information about the Users mailing list