<div dir="ltr">Hi,<div class="gmail_extra"><br><br><div class="gmail_quote">On 10 September 2013 13:43, Wojciech Giel <span dir="ltr"><<a href="mailto:wojciech.giel@cimr.cam.ac.uk" target="_blank">wojciech.giel@cimr.cam.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hello,<div class="im"><br>
<br>
On 09/09/13 11:17, Daniel Molina wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi,<div><div class="h5"><br>
<br>
<br>
On 5 September 2013 18:04, Wojciech Giel <<a href="mailto:wojciech.giel@cimr.cam.ac.uk" target="_blank">wojciech.giel@cimr.cam.ac.uk</a> <mailto:<a href="mailto:wojciech.giel@cimr.cam.ac.uk" target="_blank">wojciech.giel@cimr.<u></u>cam.ac.uk</a>>> wrote:<br>
<br>
Hello,<br>
I have installed and configured open nebula 4.2 in centos 6 from<br>
opennebula repository. command line tools look like working fine<br>
but I can't get sunstone working.<br>
I have a user in .one/sunstone_auth. I'm using lighttpd as a proxy<br>
server. I get sunstone login page but doesn't accept password:<br>
"OpenNebula is not running or there was a server exception. Please<br>
check the server logs." I have default authentication method<br>
":auth: sunstone".<br>
<br>
What might be the problem. In logs I can see only:<br>
<br>
cat sunstone.log<br>
------------------------------<u></u>--------<br>
Server configuration<br>
------------------------------<u></u>--------<br>
{:debug_level=>3,<br>
:port=>9869,<br>
:one_xmlrpc=>"<a href="http://localhost:2633/RPC2" target="_blank">http://<u></u>localhost:2633/RPC2</a>",<br>
:oneflow_server=>"<a href="http://localhost:2474/" target="_blank">http://<u></u>localhost:2474/</a>",<br>
:memcache_namespace=>"<u></u>opennebula.sunstone",<br>
:sessions=>"memory",<br>
:lang=>"en_US",<br>
:auth=>"sunstone",<br>
:vnc_proxy_cert=>nil,<br>
:memcache_host=>"localhost",<br>
:marketplace_url=>"<a href="http://marketplace.c12g.com/appliance" target="_blank">http://<u></u>marketplace.c12g.com/appliance</a><u></u>",<br>
:tmpdir=>"/var/tmp",<br>
:core_auth=>"cipher",<br>
:memcache_port=>11211,<br>
:routes=>["oneflow"],<br>
:vnc_proxy_port=>29876,<br>
:vnc_proxy_key=>nil,<br>
:vnc_proxy_support_wss=>false,<br>
:host=>"127.0.0.1"}<br>
------------------------------<u></u>--------<br>
<br>
Thu Sep 05 16:46:25 2013 [I]: Updating user pool cache.<br>
Thu Sep 05 16:46:25 2013 [E]: [UserPoolInfo] User couldn't be<br>
authenticated, aborting call.<br>
Thu Sep 05 16:46:25 2013 [I]: 192.168.195.101 - - [05/Sep/2013<br>
16:46:25] "POST /login HTTP/1.0" 500 - 0.0064<br>
<br>
cat oned.log<br>
.....<br>
Thu Sep 5 16:53:10 2013 [InM][I]: Monitoring datastore default (1)<br>
Thu Sep 5 16:53:10 2013 [InM][I]: Monitoring datastore files (2)<br>
Thu Sep 5 16:53:10 2013 [ImM][I]: Datastore default (1)<br>
successfully monitored.<br>
Thu Sep 5 16:53:10 2013 [ImM][I]: Datastore files (2)<br>
successfully monitored.<br>
Thu Sep 5 16:53:15 2013 [ReM][D]: Req:4608 UID:- UserPoolInfo invoked<br>
Thu Sep 5 16:53:15 2013 [ReM][E]: Req:4608 UID:- UserPoolInfo<br>
result FAILURE [UserPoolInfo] User couldn't be authenticated,<br>
aborting call.<br>
.....<br>
<br>
<br>
The sunstone server is trying to retrieve the user pool and it fails. The server uses the ''/var/lib/one/.one/sunstone_<u></u>auth" to authenticate using the server_adrmin user.<br>
* Did you change the server_admin password?<br>
</div></div></blockquote>
I have changed .one/sunstone_auth password.</blockquote><div><br></div><div>If you changed the password in the file, you have to change it also in opennebula using the oneuser command.</div><div><a href="http://opennebula.org/documentation:rel4.2:cloud_auth#configure">http://opennebula.org/documentation:rel4.2:cloud_auth#configure</a><br>
</div><div><br></div><div>Cheers</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
* Does the ''/var/lib/one/.one/sunstone_<u></u>auth" file exists? Is it available for the user who is running the sunstone server?<br>
<br>
</blockquote></div>
yes. file exists is owned by oneadmin user.<br>
cheers<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">
Hope this helps<br>
<br>
<br>
thanks<br>
Wojciech<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br></div>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a> <mailto:<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.<u></u>opennebula.org</a>><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
<br>
<br>
<br>
<br>
-- <br>
Join us at OpenNebulaConf2013 <<a href="http://opennebulaconf.com/" target="_blank">http://opennebulaconf.com/</a>> in Berlin, 24-26 September, 2013<div class="im"><br>
--<br>
Daniel Molina<br>
Project Engineer<br>
OpenNebula - The Open Source Solution for Data Center Virtualization<br>
</div><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> <<a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a>> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> <mailto:<a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a><u></u>> | @OpenNebula<span class=""><font color="#888888"><br>
</font></span></blockquote><span class=""><font color="#888888">
<br>
-- <br>
Wojciech Giel<br>
University of Cambridge<br>
JDRF/WT Diabetes and Inflammation Laboratory<br>
Cambridge Institute for Medical Research<br>
Wellcome Trust/MRC Building<br>
Addenbrooke's Hospital, Cambridge, CB2 0XY<br>
Tel: 44 (0) 1223 763228</font></span><div class=""><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Join us at <a href="http://opennebulaconf.com/" target="_blank">OpenNebulaConf2013</a> in Berlin, 24-26 September, 2013<br></div>
<div>--</div>Daniel Molina<br>Project Engineer<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula</div>
</div></div>