[one-users] Test Adapter for OpenNebula ?
Daniel Molina Aranda
danmolin at pdi.ucm.es
Tue Apr 27 06:57:24 PDT 2010
Hi Mehdi,
You have to change the permissions for $ONE_LOCATION+
"/lib/mads/one_vmm_dummy.rb", allowing the execution of this file.
Regards.
On 27 April 2010 14:55, Mehdi Sheikhalishahi <mehdi.alishahi at gmail.com>wrote:
> Thanks Ruben, this feature is very interesting in OpenNebula.
> I've installed it and tried to test it, when I submit a VM, VM cannot
> be executed. The following are commands and logs.
>
> oneadmin at one:~/working> onevm list
> ID USER NAME STAT CPU MEM HOSTNAME TIME
> 2 oneadmin vm-examp fail 0 0 dummyHost5 00 00:00:16
>
> oneadmin at one:~/var/2> cat vm.log
> Tue Apr 27 14:46:52 2010 [DiM][I]: New VM state is ACTIVE.
> Tue Apr 27 14:46:52 2010 [LCM][I]: New VM state is PROLOG.
> Tue Apr 27 14:46:52 2010 [VM][I]: Virtual Machine has no context
> Tue Apr 27 14:46:53 2010 [LCM][I]: New VM state is BOOT
> Tue Apr 27 14:46:53 2010 [VMM][E]: deploy_action, error getting driver
> vmm_dummy
> Tue Apr 27 14:46:54 2010 [DiM][I]: New VM state is FAILED
> Tue Apr 27 14:46:54 2010 [TM][W]: Ignored: TRANSFER SUCCESS 2 -
>
> ---And log files
> Tue Apr 27 14:44:23 2010 [ONE][I]: OpenNebula Configuration
> File
> Tue Apr 27 14:44:23 2010 [ONE][I]:
> ----------------------------------------------
> Tue Apr 27 14:44:23 2010 [ONE][I]:
> --------------------------------------------
> DEBUG_LEVEL=3
> HM_MAD=EXECUTABLE=one_hm
> HOST_MONITORING_INTERVAL=5
> IM_MAD=EXECUTABLE=one_im_dummy,NAME=im_dummy
> MAC_PREFIX=00:03
> MANAGER_TIMER=30
> NETWORK_SIZE=254
> PORT=2633
>
> TM_MAD=ARGUMENTS=tm_dummy/tm_dummy.conf,EXECUTABLE=one_tm,NAME=tm_dummy
> VM_DIR=/srv/cloud/one/var/
> VM_MAD=EXECUTABLE=one_vmm_dummy,NAME=vmm_dummy,TYPE=xml
> VM_POLLING_INTERVAL=60
>
> Tue Apr 27 14:44:25 2010 [VMM][I]: Loading Virtual Machine Manager drivers.
> Tue Apr 27 14:44:25 2010 [VMM][I]: Loading driver: vmm_dummy (XML)
> Tue Apr 27 14:44:25 2010 [MAD][E]: MAD did not answer INIT command
>
> Regards,
> Mehdi
>
> On Tue, Apr 27, 2010 at 11:59 AM, Ruben S. Montero <rubensm at dacya.ucm.es>
> wrote:
> > Hi,
> >
> > The URL for the dummy backend:
> >
> > http://dev.opennebula.org/projects/onesim/wiki
> >
> > Cheers
> >
> > Ruben
> >
> > On Tue, Apr 27, 2010 at 9:25 AM, Mehdi Sheikhalishahi
> > <mehdi.alishahi at gmail.com> wrote:
> >> Hi All,
> >>
> >> I'd like to work with OpenNebula in dummy mode (simulated). Would you
> >> please let me know about the status of this and how can I start to
> >> work with it?
> >>
> >> Regards,
> >> Mehdi
> >>
> >> On Fri, Oct 2, 2009 at 8:01 AM, Gary Mazz <garymazzaferro at gmail.com>
> wrote:
> >>> Hi Ruben,
> >>>
> >>> Thansk this works well. It will give me a leg up before I hook into the
> >>> cluster.
> >>>
> >>> cheers, -g
> >>>
> >>> Ruben S. Montero wrote:
> >>>>
> >>>> Morning Gary,
> >>>>
> >>>> Check http://dev.opennebula.org/projects/onesim/wiki/Wiki and give it
> >>>> a try. Let us know
> >>>> if it is good for your purposes.
> >>>>
> >>>> Cheers!
> >>>>
> >>>> Ruben
> >>>>
> >>>> On Tue, Sep 29, 2009 at 11:25 AM, Gary Mazz <garymazzaferro at gmail.com
> >
> >>>> wrote:
> >>>>
> >>>>>
> >>>>> Hi,
> >>>>>
> >>>>> I think this would work for the initial development, I think the
> >>>>> simulated
> >>>>> time, especially for provisioning and startup is important. It allows
> my
> >>>>> work out the "remote aspects" of the http protocol. A settable in a
> conf
> >>>>> file would be great.
> >>>>>
> >>>>> Its 3:30 am by me, need some sleep... :-)
> >>>>>
> >>>>> -gary
> >>>>>
> >>>>> Borja Sotomayor wrote:
> >>>>>
> >>>>>>
> >>>>>> Hi,
> >>>>>>
> >>>>>>
> >>>>>>>
> >>>>>>> Well in fact this may be quite straight forward if we assume that
> all
> >>>>>>> operations always succeed and we do not need to model the behavior
> of
> >>>>>>> the hosts. Gary, let me know if this would work for your demo.
> Borja,
> >>>>>>> we can use this as a very simple development backend.
> >>>>>>>
> >>>>>>
> >>>>>> To be more specific, I think this 'test adapter' would have to
> provide
> >>>>>> the
> >>>>>> following features:
> >>>>>>
> >>>>>> - Allow specification of a number of physical hosts with specific
> >>>>>> capacities using a configuration file.
> >>>>>>
> >>>>>> - Internally keep track of what VMs are running and respond to
> >>>>>> monitoring
> >>>>>> command with predictable values. For simplicity, a simple starting
> point
> >>>>>> could be to make all VMs say that they are using 0% of their
> allocated
> >>>>>> CPU
> >>>>>> or 100% of their allocated CPU (maybe in the future allowing for
> more
> >>>>>> complex models, to replicate real workloads).
> >>>>>>
> >>>>>> - Allow execution of all OpenNebula operations. For simplicity, as
> Ruben
> >>>>>> points out, a simple starting point is to assume that all operations
> >>>>>> complete successfully and instantly. In the future, it would be nice
> to
> >>>>>> also
> >>>>>> configure delays (most importantly, suspension/resumption shouldn't
> be
> >>>>>> done
> >>>>>> instantaneously; the test driver should try to replicate that
> there's a
> >>>>>> delay while the VM suspends/resumes, and that is should remain in
> the
> >>>>>> "suspending" state for some time before transitioning to
> "suspended")
> >>>>>> and
> >>>>>> even failures (e.g., I want to add error handling code in Haizea,
> but
> >>>>>> doing
> >>>>>> this with a real testbed is messy, since it involves somehow
> provoking
> >>>>>> the
> >>>>>> VMs to fail).
> >>>>>>
> >>>>>> - As a starting point, this test adapter should operate in "real
> time".
> >>>>>> For simulations, it would be nice to have "simulated time" (so we
> can
> >>>>>> fast-forward through a lot of requests) but since the core and the
> >>>>>> scheduler
> >>>>>> are separate processes, it would involve coordinating this simulated
> >>>>>> time
> >>>>>> between the two components. This is doable, but we would to think
> about
> >>>>>> what's the best way of doing this.
> >>>>>>
> >>>>>>
> >>>>>> Gary: Would the above meet your requirements?
> >>>>>>
> >>>>>>
> >>>>>> Cheers!
> >>>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> 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
> >>
> >
> >
> >
> > --
> > Dr. Ruben Santiago Montero
> > Associate Professor (Profesor Titular), Complutense University of Madrid
> >
> > URL: http://dsa-research.org/doku.php?id=people:ruben
> > Weblog: http://blog.dsa-research.org/?author=7
> >
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Daniel Molina, Cloud Technology Engineer/Researcher
DSA Research Group: web http://dsa-research.org and blog
http://blog.dsa-research.org
OpenNebula Open Source Toolkit for Cloud Computing:
http://www.OpenNebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100427/8752dad5/attachment-0001.htm>
More information about the Users
mailing list