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