Hi,<br><br>I tried to reinstalled opennebula using oneadmin user, I made the compilation from sources using scons.<br><br>After that I did the following commands as oneadmin user:<br><br>export RUBYLIB=/usr/lib/one/ruby/ <br>
export ONE_LOCATION=/etc/one<br>export ONE_XMLRPC="<a href="http://localhost:2633/RPC2">http://localhost:2633/RPC2</a>"<br> export PATH="/etc/one/bin:"$PATH<br><br> oneauth login oneadmin<br>export ONE_AUTH=/home/oneadmin/.one/one_ssh<br>
<br>
one start<br> oned and scheduler started<br><br>onehost list<br> Error: [HostPoolInfo] User couldn't be authenticated, aborting call.<br><br>no files were existing before (sqlite db, conf, etc..), so no changes have been done one "ssh_one" file after the first start of "one" daemon.<br>
<br>in my sqlite db, I have the following:<br><br>sqlite> select * from user_pool;<br>0|oneadmin|23b2a94066e351bd18aa0d97db3d4a7b0cb98adb|1<br><br><br>I don't have any references to check if this information is correct.<br>
<br>I tried to increase the log level in oned.conf but no usefull informations appear there...<br><br><br>Cheers,<br><br>Chris.<br><br><br><br><div class="gmail_quote">2011/2/21 Idafen Santana Pérez <span dir="ltr"><<a href="mailto:idafensp@gmail.com">idafensp@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I was having almost the same problem and I solved it by reinstalling<br>
opennebula with the right sqlite support and compiling it (I used<br>
scons to install it from source) as oneadmin user.<br>
<br>
You should check your oneadmin user information at your sqlite db (or mysql).<br>
<br>
Hope it helps.<br>
<br>
Regards<br>
<font color="#888888">Idafen<br>
</font><div><div></div><div class="h5"><br>
On Mon, Feb 21, 2011 at 12:02 PM, Tino Vazquez <<a href="mailto:tinova@opennebula.org">tinova@opennebula.org</a>> wrote:<br>
> Hi,<br>
><br>
> The file pointed by ONE_AUTH when oned is first started sets the<br>
> username and password for the ID=0 account (the oneadmin account). If<br>
> this files changes, or the env variable shifts to point to another<br>
> file, you will get the could not authenticate error message.<br>
><br>
> Regards,<br>
><br>
> -Tino<br>
><br>
> --<br>
> Constantino Vázquez Blanco, MSc<br>
> OpenNebula Major Contributor / Cloud Researcher<br>
> <a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | @tinova79<br>
><br>
><br>
><br>
> On Mon, Feb 21, 2011 at 7:52 AM, christophe bonnaud <<a href="mailto:takyon77@gmail.com">takyon77@gmail.com</a>> wrote:<br>
>> Hi Richard,<br>
>><br>
>> Thanks a lot for your answer.<br>
>><br>
>> I checked but on my system all process for opennebula are owned by the<br>
>> oneadmin user.<br>
>> I did a reinstallation of the server to have a self-contained installation<br>
>> so now all opennebula's files are owned by oneadmin user.<br>
>> Unfortunately the problem reappeared...<br>
>><br>
>> I don't really know how to solve this problem. I did some research but it<br>
>> seems that this problem is not really common and I couldn't find any usefull<br>
>> informations.<br>
>><br>
>> Can I ask you which ruby/opennebula version you are using? I am not sure<br>
>> it's rely to the problem but I have to consider all possibilities.<br>
>><br>
>> Cheers,<br>
>><br>
>> Chris.<br>
>><br>
>><br>
>> On Fri, Feb 18, 2011 at 5:17 PM, Whiffen, Richard<br>
>> <<a href="mailto:Richard_Whiffen@cable.comcast.com">Richard_Whiffen@cable.comcast.com</a>> wrote:<br>
>>><br>
>>> Christophe,<br>
>>><br>
>>> I'm new to OpenNebula, so I'm not sure if this will help or not. When I<br>
>>> was getting started I had the same problems. For some reason when I would<br>
>>> do a 'sudo su - oneadmin' it would still use my (root) .ssh settings and<br>
>>> not the oneadmin user. Worse, some processes would be started with UID<br>
>>> root rather than oneadmin. I had to kill the schedule process as root, it<br>
>>> wouldn't quit on it's own, and chown the log files to oneadmin again.<br>
>>> After that, the ssh authentication issues went away.<br>
>>><br>
>>> Rich<br>
>>><br>
>>> --<br>
>>> Rich Whiffen<br>
>>> <a href="mailto:richard_whiffen@cable.comcast.com">richard_whiffen@cable.comcast.com</a><br>
>>> AIM: richwhiffen<br>
>>> Yahoo: richwhiffen<br>
>>> Phone: 202-449-1312<br>
>>><br>
>>><br>
>>><br>
>>> ><br>
>>> >Message: 4<br>
>>> >Date: Thu, 17 Feb 2011 08:42:58 -0800<br>
>>> >From: christophe bonnaud <<a href="mailto:takyon77@gmail.com">takyon77@gmail.com</a>><br>
>>> >To: <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
>>> >Subject: [one-users] User couldn't be authenticated, aborting call.<br>
>>> >Message-ID:<br>
>>> > <AANLkTikVG6yB=<a href="mailto:9Vi7Lv_gMpApHVFnbqTWswWZmrnU5d8@mail.gmail.com">9Vi7Lv_gMpApHVFnbqTWswWZmrnU5d8@mail.gmail.com</a>><br>
>>> >Content-Type: text/plain; charset="iso-8859-1"<br>
>>> ><br>
>>> >Hi,<br>
>>> ><br>
>>> >I have just installed opennebula ver 2.0.1-1.<br>
>>> >I have created a ssh key for oneadmin user, run the command:<br>
>>> ><br>
>>> > oneauth login oneadmin<br>
>>> ><br>
>>> >and exported the variable:<br>
>>> ><br>
>>> > export ONE_AUTH="/home/oneadmin/.one/one_ssh"<br>
>>> ><br>
>>> >I have correctly start oned using the command (as oneadmin user):<br>
>>> ><br>
>>> > one start<br>
>>> ><br>
>>> >But now all commands I am trying fail with an error:<br>
>>> ><br>
>>> > User couldn't be authenticated, aborting call.<br>
>>> ><br>
>>> >Did I miss something? is there an other step to do to allow oneadmin to<br>
>>> >issue some commands?<br>
>>> ><br>
>>> >Cheers,<br>
>>> ><br>
>>> >Christophe bonnaud.<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>
>> ------------------------------------------------------<br>
>> Bonnaud Christophe<br>
>> GSDC<br>
>> Korea Institute of Science and Technology Information<br>
>> Fax. +82-42-869-0789<br>
>> Tel. +82-42-869-0660<br>
>> Mobile +82-10-4664-3193<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>
> 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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>------------------------------------------------------<br>Bonnaud Christophe<br>GSDC<br>Korea Institute of Science and Technology Information<br>Fax. +82-42-869-0789<br>
Tel. +82-42-869-0660<br>Mobile +82-10-4664-3193<br>