<div dir="ltr">Hi Boris,<div><br></div><div>The return code in that case is ACTION, see [1] for more details.</div><div><br></div><div>Cheers,</div><div>Carlos</div><div><br></div><div>[1] <a href="https://github.com/OpenNebula/one/blob/one-4.6/src/rm/RequestManagerVirtualMachine.cc#L2145">https://github.com/OpenNebula/one/blob/one-4.6/src/rm/RequestManagerVirtualMachine.cc#L2145</a><br>
</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">--<br><div>Carlos Martín, MSc<br>Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br><div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div></div></div>
<br><br><div class="gmail_quote">On Thu, Jul 10, 2014 at 11:03 AM, Boris Parak <span dir="ltr"><<a href="mailto:256254@mail.muni.cz" target="_blank">256254@mail.muni.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello everyone,<br>
<br>
does anyone know which of the following codes/statuses is returned by<br>
XML-RPC when attaching a network interface to a running VM fails<br>
because there is no lease available in the given pool?<br>
<br>
(I guess we can rule out the first one)<br>
<br>
0x0000 SUCCESS Success response.<br>
0x0100 AUTHENTICATION User could not be authenticated.<br>
0x0200 AUTHORIZATION User is not authorized to perform the<br>
requested action.<br>
0x0400 NO_EXISTS The requested resource delhost not exist.<br>
0x0800 ACTION<br>
0x1000 XML_RPC_API<br>
0x2000 INTERNAL<br>
<br>
Thank you!<br>
<br>
Cheers, Boris<br>
_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@lists.opennebula.org">Dev@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/dev-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/dev-opennebula.org</a><br>
</blockquote></div><br></div>