[one-users] allocate the Virtual Machine... failed [VirtualMachineAllocate] User couldn't be authenticated, aborting call.

Valentin Bud valentin at hackaserver.com
Fri Oct 12 05:53:16 PDT 2012


Hello Rajesh,

>From Java OCA example:

"// First of all, a Client object has to be created.
// Here the client will try to connect to OpenNebula using the default
// options: the auth. file will be assumed to be at $ONE_AUTH, and the
// endpoint will be set to the environment variable $ONE_XMLRPC."

What user are you running the code under?

Is $ONE_AUTH set for that user? Where does it points to? What does the
$ONE_AUTH file contain?
By default ONE_AUTH, if set, should point to $HOME/.one/one_auth and it
should contain user:password line, if you're using password authentication.

Oh and can you issue one* CLI commands with your user? If yes, the problem
lies elsewhere.

Cheers and Goodwill,
v

On Fri, Oct 12, 2012 at 10:42 AM, rajesh kannan <asrajeshkannan at gmail.com>wrote:

> I had problem while executing the given example java problem in opennebula
> website
>
> That program get compile but when i try to execute it show this kind of
> error
>
> allocate the Virtual Machine... failed [VirtualMachineAllocate] User
> couldn't be authenticated, aborting call.
>
> Pls help me guys to resolve this problem
>
> Regards
>
> A S Rajesh
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121012/670f5918/attachment-0002.htm>


More information about the Users mailing list