[one-dev] [Question] XML-RPC return code on one.vm.attachnic failure

Carlos Martín Sánchez cmartin at opennebula.org
Thu Jul 10 09:27:19 PDT 2014


Hi Boris,

The return code in that case is ACTION, see [1] for more details.

Cheers,
Carlos

[1]
https://github.com/OpenNebula/one/blob/one-4.6/src/rm/RequestManagerVirtualMachine.cc#L2145

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula
<http://twitter.com/opennebula> <cmartin at opennebula.org>


On Thu, Jul 10, 2014 at 11:03 AM, Boris Parak <256254 at mail.muni.cz> wrote:

> Hello everyone,
>
> does anyone know which of the following codes/statuses is returned by
> XML-RPC when attaching a network interface to a running VM fails
> because there is no lease available in the given pool?
>
> (I guess we can rule out the first one)
>
> 0x0000    SUCCESS              Success response.
> 0x0100    AUTHENTICATION   User could not be authenticated.
> 0x0200    AUTHORIZATION     User is not authorized to perform the
> requested action.
> 0x0400    NO_EXISTS             The requested resource delhost not exist.
> 0x0800    ACTION
> 0x1000    XML_RPC_API
> 0x2000    INTERNAL
>
> Thank you!
>
> Cheers, Boris
> _______________________________________________
> Dev mailing list
> Dev at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/dev-opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/dev-opennebula.org/attachments/20140710/a45fa2fa/attachment.htm>


More information about the Dev mailing list