[one-users] Hook for VM becoming UNKNOWN state

Shi Jin jinzishuai at gmail.com
Fri Sep 3 15:14:44 PDT 2010


Thank you. That's useful information. I will keep watching this ticket.

In the same time, could you please point me to the code where a quick hacky
script can be inserted after OpenNebula detects UNKNOWN. Thanks.

Shi
On Fri, Sep 3, 2010 at 3:24 PM, Ruben S. Montero <rubensm at dacya.ucm.es>wrote:

> Hi,
>
> The other thing we may want to look at is to detect that the VM is
> stopped in libvirt and move the VM to shutdown->epilog->done. There is
> a ticket for this http://dev.opennebula.org/issues/335
>
> Cheers
>
> Ruben
>
> On Fri, Sep 3, 2010 at 8:13 PM, Shi Jin <jinzishuai at yahoo.com> wrote:
> > Hi, there,
> >
> > I would like to have a hook to run a script when the user shuts down the
> VM from inside the OS. When that happens, the VMState=ACTIVE and
> LCM_STATE=UNKNOWN. Is it possible to add this to the hook system of
> OpenNebula? Otherwise, which code should I look for to add some custom code
> after it gets into UNKNOWN?
> >
> > Thanks a lot.
> >
> > --
> > Shi Jin, PhD
> >
> >
> >
> > _______________________________________________
> > 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
>



-- 
Shi Jin, Ph.D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100903/7f268df3/attachment-0003.htm>


More information about the Users mailing list