Hi Tino,<br><br>About this I obtain that the computers show me all the dates. But now I have more problems with ec2 api. When i use the command econe-run-instances image parameter then always show me the next message <br>
econe-run-instances: undefined method `elements' for nil:NilClass<br><br>I succed once that econe-run-instances then the vm fail because the log says:<br><br>error: Failed to create domain from /srv/cloud/one/var/29/images/deployment.0<br>
Thu Feb 11 15:39:43 2010 [VMM][I]: error: internal error unable to start guest: qemu: could not open disk image /srv/cloud/one/var/29/images/disk.0<br><br>But if i poweron this image with onevm create the vm runs ok.<br><br>
Do you know what's the problem??<br><br>Thank you very much,<br><br>Regards,<br>SErgio<br><div class="gmail_quote">2010/2/11 Tino Vazquez <span dir="ltr"><<a href="mailto:tinova@fdi.ucm.es">tinova@fdi.ucm.es</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Sergio,<br>
<br>
It seems like the memory is probably what is preventing the VM to be<br>
deployed onto the host.<br>
<br>
Let's see what is the output of the kvm probe. Please take the ruby<br>
program found in $ONE_LOCATION/lib/im_probes/kvm.rb to the remote<br>
node, execute it and send us the output.<br>
<br>
Cheers,<br>
<br>
-T<br>
<br>
--<br>
Constantino Vázquez, Grid & Virtualization Technology<br>
Engineer/Researcher: <a href="http://www.dsa-research.org/tinova" target="_blank">http://www.dsa-research.org/tinova</a><br>
DSA Research Group: <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a><br>
Globus GridWay Metascheduler: <a href="http://www.GridWay.org" target="_blank">http://www.GridWay.org</a><br>
OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
<br>
<br>
<br>
On Mon, Feb 1, 2010 at 8:14 PM, sergio garcia escriche<br>
<div><div></div><div class="h5"><<a href="mailto:sergei.garcia@gmail.com">sergei.garcia@gmail.com</a>> wrote:<br>
><br>
><br>
> ---------- Forwarded message ----------<br>
> From: sergio garcia escriche <<a href="mailto:sergei.garcia@gmail.com">sergei.garcia@gmail.com</a>><br>
> Date: 2010/2/1<br>
> Subject: Re: [one-users] Problem with Onehost and KVM<br>
> To: Jack Jill <<a href="mailto:jacknjill111@gmail.com">jacknjill111@gmail.com</a>><br>
><br>
><br>
> Hi Jack,<br>
> This is the content of oned.log<br>
><br>
> Mon Feb 1 20:03:20 2010 [InM][I]: Monitoring host cluster03 (5)<br>
> Mon Feb 1 20:03:24 2010 [InM][D]: Host 5 successfully monitored.<br>
> Mon Feb 1 20:04:50 2010 [InM][I]: Monitoring host cluster03 (5)<br>
> Mon Feb 1 20:04:54 2010 [InM][D]: Host 5 successfully monitored.<br>
> Mon Feb 1 20:06:19 2010 [InM][I]: Monitoring host cluster03 (5)<br>
> Mon Feb 1 20:06:24 2010 [InM][D]: Host 5 successfully monitored.<br>
> Mon Feb 1 20:07:49 2010 [InM][I]: Monitoring host cluster03 (5)<br>
> Mon Feb 1 20:07:54 2010 [InM][D]: Host 5 successfully monitored.<br>
> Mon Feb 1 20:09:19 2010 [InM][I]: Monitoring host cluster03 (5)<br>
> Mon Feb 1 20:09:24 2010 [InM][D]: Host 5 successfully monitored.<br>
> Mon Feb 1 20:10:50 2010 [InM][I]: Monitoring host cluster03 (5)<br>
> Mon Feb 1 20:10:54 2010 [InM][D]: Host 5 successfully monitored.<br>
> Mon Feb 1 20:12:16 2010 [VMM][I]: --Mark--<br>
> Mon Feb 1 20:12:20 2010 [InM][I]: Monitoring host cluster03 (5)<br>
> Mon Feb 1 20:12:24 2010 [InM][D]: Host 5 successfully monitored.<br>
><br>
> Thanks,<br>
> Sergio<br>
><br>
> 2010/2/1 Jack Jill <<a href="mailto:jacknjill111@gmail.com">jacknjill111@gmail.com</a>><br>
>><br>
>> Can you check and post the contents of oned.log. Perhaps the information<br>
>> driver (im_kvm) did not get loaded.<br>
>><br>
>> Thanks,<br>
>> RS<br>
>><br>
>> On Mon, Feb 1, 2010 at 11:48 AM, sergio garcia escriche<br>
>> <<a href="mailto:sergei.garcia@gmail.com">sergei.garcia@gmail.com</a>> wrote:<br>
>>><br>
>>> Hi another time,<br>
>>><br>
>>> I try to install kvm with opennebula because i find it's easy than xen,<br>
>>> but when i try to add onehost list show this:<br>
>>> $ onehost show cluster03<br>
>>> HOST 5<br>
>>> INFORMATION<br>
>>> ID : 5<br>
>>> NAME : cluster03<br>
>>> STATE : MONITORING<br>
>>> IM_MAD : im_kvm<br>
>>> VM_MAD : vmm_kvm<br>
>>> TM_MAD : tm_nfs<br>
>>><br>
>>> HOST<br>
>>> SHARES<br>
>>> MAX MEM : 0<br>
>>> USED MEM (REAL) : 131768<br>
>>> USED MEM (ALLOCATED) : 0<br>
>>> MAX CPU : 400<br>
>>> USED CPU (REAL) : 0<br>
>>> USED CPU (ALLOCATED) : 0<br>
>>> RUNNING VMS : 0<br>
>>><br>
>>> MONITORING<br>
>>> INFORMATION<br>
>>> ARCH=i686<br>
>>> CPUSPEED=<br>
>>> FREECPU=400.0<br>
>>> FREEMEMORY=4071168<br>
>>> HOSTNAME=cluster03<br>
>>> HYPERVISOR=kvm<br>
>>> MODELNAME=Intel(R) Xeon(R) CPU E5405 @ 2.00GHz<br>
>>> NETRX=<br>
>>> NETTX=<br>
>>> TOTALCPU=400<br>
>>> TOTALMEMORY=<br>
>>> USEDCPU=0.0<br>
>>> USEDMEMORY=131768<br>
>>><br>
>>> Don't show the total memory and when i try to execute a VM with this<br>
>>> template:<br>
>>> #---------------------------------------<br>
>>> # VM definition example<br>
>>> #---------------------------------------<br>
>>><br>
>>> NAME = winxp<br>
>>><br>
>>> CPU = 0.50<br>
>>> MEMORY = 512<br>
>>><br>
>>> # --- kernel & boot device ---<br>
>>><br>
>>> #OS = [ boot = "cdrom" ]<br>
>>> OS = [ boot = "hd" ]<br>
>>><br>
>>> FEATURES = [ acpi = "no" ]<br>
>>><br>
>>> # --- 1 disks ---<br>
>>><br>
>>> DISK = [<br>
>>> source = "/srv/cloud/one/win.img",<br>
>>> target = "hda",<br>
>>> clone = "yes" ]<br>
>>><br>
>>> #DISK = [<br>
>>> # source = "/home/ruben/Virtual/iso/windows/OS/WindowsXP_SP3.iso",<br>
>>> # type = "cdrom",<br>
>>> # target = "hdb",<br>
>>> # clone = "no" ]<br>
>>><br>
>>> # --- 1 NIC ---<br>
>>><br>
>>> NIC = [ network="Public"]<br>
>>><br>
>>> # --- VNC server ---<br>
>>><br>
>>> GRAPHICS = [ type = "vnc", listen = "127.0.0.1", port = "5902",<br>
>>> keymap="es"]<br>
>>><br>
>>> I wait about 1 hour and the state is pend. Can you help me please?<br>
>>><br>
>>> Thank you very much<br>
>>> Sergio<br>
>>><br>
>>> _______________________________________________<br>
>>> Users mailing list<br>
>>> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
>>> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
>>><br>
>><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
><br>
</div></div></blockquote></div><br>