<div dir="ltr">Hi,<div><br></div><div>I can't think of any way to do that, but you could add something to the template dynamically, like: FAIL=YES and get your results from there?</div><div><br></div><div>regards,<br>Jaime</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 12, 2013 at 5:29 PM, Simon Boulet <span dir="ltr"><<a href="mailto:simon@nostalgeek.com" target="_blank">simon@nostalgeek.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>My cloud is configured with VM_SUBMIT_ON_HOLD=yes. When a VM is instantiated, a VM CREATE hooks kicks in, does various last minute checks, sometime adds attributes to the VM, and move the VM to PENDING state for the scheduled to deploy. </div>


<div><br></div><div>I'd like to have my CREATE HOOK to change a VM state to FAILED if it decides something is wrong with the VM template being instantiated.</div><div><br></div><div>Is this possible?</div><span class="HOEnZb"><font color="#888888">
<div><br></div><div>Simon</div></font></span></div>
<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></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Join us at <a href="http://opennebulaconf.com/" style="color:rgb(17,85,204)" target="_blank">OpenNebulaConf2013</a> in Berlin, <span><span>24-26 September, 2013</span></span><br>

--<div>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a></div>

</div>
</div>