<br>Thank you. That's useful information. I will keep watching this ticket.<div><br></div><div>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.</div>
<div><br></div><div>Shi<br><div class="gmail_quote">On Fri, Sep 3, 2010 at 3:24 PM, Ruben S. Montero <span dir="ltr"><<a href="mailto:rubensm@dacya.ucm.es">rubensm@dacya.ucm.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
The other thing we may want to look at is to detect that the VM is<br>
stopped in libvirt and move the VM to shutdown->epilog->done. There is<br>
a ticket for this <a href="http://dev.opennebula.org/issues/335" target="_blank">http://dev.opennebula.org/issues/335</a><br>
<br>
Cheers<br>
<br>
Ruben<br>
<div><div></div><div class="h5"><br>
On Fri, Sep 3, 2010 at 8:13 PM, Shi Jin <<a href="mailto:jinzishuai@yahoo.com">jinzishuai@yahoo.com</a>> wrote:<br>
> Hi, there,<br>
><br>
> 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?<br>
><br>
> Thanks a lot.<br>
><br>
> --<br>
> Shi Jin, PhD<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>
<br>
<br>
</div></div><font color="#888888">--<br>
Dr. Ruben Santiago Montero<br>
Associate Professor (Profesor Titular), Complutense University of Madrid<br>
<br>
URL: <a href="http://dsa-research.org/doku.php?id=people:ruben" target="_blank">http://dsa-research.org/doku.php?id=people:ruben</a><br>
Weblog: <a href="http://blog.dsa-research.org/?author=7" target="_blank">http://blog.dsa-research.org/?author=7</a><br>
</font><div><div></div><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Shi Jin, Ph.D.<br><br>
</div>