[one-users] Hook for VM becoming UNKNOWN state

Ruben S. Montero rubensm at dacya.ucm.es
Fri Sep 3 14:24:52 PDT 2010


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



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

More information about the Users mailing list