[one-users] Sunstone problem

Daniel Molina dmolina at opennebula.org
Tue Sep 24 01:35:30 PDT 2013


Hi,


On 10 September 2013 13:43, Wojciech Giel <wojciech.giel at cimr.cam.ac.uk>wrote:

> Hello,
>
>
> On 09/09/13 11:17, Daniel Molina wrote:
>
>> Hi,
>>
>>
>>
>> On 5 September 2013 18:04, Wojciech Giel <wojciech.giel at cimr.cam.ac.uk<mailto:
>> wojciech.giel at cimr.**cam.ac.uk <wojciech.giel at cimr.cam.ac.uk>>> wrote:
>>
>>     Hello,
>>     I have installed and configured open nebula 4.2 in centos 6 from
>>     opennebula repository. command line tools look like working fine
>>     but I can't get sunstone working.
>>     I have a user in .one/sunstone_auth. I'm using lighttpd as a proxy
>>     server. I get sunstone login page but doesn't accept password:
>>     "OpenNebula is not running or there was a server exception. Please
>>     check the server logs." I have default authentication method
>>     ":auth: sunstone".
>>
>>     What might be the problem. In logs I can see only:
>>
>>     cat sunstone.log
>>     ------------------------------**--------
>>              Server configuration
>>     ------------------------------**--------
>>     {:debug_level=>3,
>>      :port=>9869,
>>      :one_xmlrpc=>"http://**localhost:2633/RPC2<http://localhost:2633/RPC2>
>> ",
>>      :oneflow_server=>"http://**localhost:2474/ <http://localhost:2474/>
>> ",
>>      :memcache_namespace=>"**opennebula.sunstone",
>>      :sessions=>"memory",
>>      :lang=>"en_US",
>>      :auth=>"sunstone",
>>      :vnc_proxy_cert=>nil,
>>      :memcache_host=>"localhost",
>>      :marketplace_url=>"http://**marketplace.c12g.com/appliance<http://marketplace.c12g.com/appliance>
>> **",
>>      :tmpdir=>"/var/tmp",
>>      :core_auth=>"cipher",
>>      :memcache_port=>11211,
>>      :routes=>["oneflow"],
>>      :vnc_proxy_port=>29876,
>>      :vnc_proxy_key=>nil,
>>      :vnc_proxy_support_wss=>false,
>>      :host=>"127.0.0.1"}
>>     ------------------------------**--------
>>
>>     Thu Sep 05 16:46:25 2013 [I]: Updating user pool cache.
>>     Thu Sep 05 16:46:25 2013 [E]: [UserPoolInfo] User couldn't be
>>     authenticated, aborting call.
>>     Thu Sep 05 16:46:25 2013 [I]: 192.168.195.101 - - [05/Sep/2013
>>     16:46:25] "POST /login HTTP/1.0" 500 - 0.0064
>>
>>     cat oned.log
>>     .....
>>     Thu Sep  5 16:53:10 2013 [InM][I]: Monitoring datastore default (1)
>>     Thu Sep  5 16:53:10 2013 [InM][I]: Monitoring datastore files (2)
>>     Thu Sep  5 16:53:10 2013 [ImM][I]: Datastore default (1)
>>     successfully monitored.
>>     Thu Sep  5 16:53:10 2013 [ImM][I]: Datastore files (2)
>>     successfully monitored.
>>     Thu Sep  5 16:53:15 2013 [ReM][D]: Req:4608 UID:- UserPoolInfo invoked
>>     Thu Sep  5 16:53:15 2013 [ReM][E]: Req:4608 UID:- UserPoolInfo
>>     result FAILURE [UserPoolInfo] User couldn't be authenticated,
>>     aborting call.
>>     .....
>>
>>
>> The sunstone server is trying to retrieve the user pool and it fails. The
>> server uses the ''/var/lib/one/.one/sunstone_**auth" to authenticate
>> using the server_adrmin user.
>> * Did you change the server_admin password?
>>
> I have changed .one/sunstone_auth password.


If you changed the password in the file, you have to change it also in
opennebula using the oneuser command.
http://opennebula.org/documentation:rel4.2:cloud_auth#configure

Cheers


>
>  * Does the ''/var/lib/one/.one/sunstone_**auth" file exists? Is it
>> available for the user who is running the sunstone server?
>>
>>  yes. file exists is owned by oneadmin user.
> cheers
>
>  Hope this helps
>>
>>
>>     thanks
>>     Wojciech
>>
>>     ______________________________**_________________
>>     Users mailing list
>>     Users at lists.opennebula.org <mailto:Users at lists.**opennebula.org<Users at lists.opennebula.org>
>> >
>>     http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>>
>>
>>
>>
>> --
>> Join us at OpenNebulaConf2013 <http://opennebulaconf.com/> in Berlin,
>> 24-26 September, 2013
>>
>> --
>> Daniel Molina
>> Project Engineer
>> OpenNebula - The Open Source Solution for Data Center Virtualization
>> www.OpenNebula.org <http://www.OpenNebula.org> | dmolina at opennebula.org<mailto:
>> dmolina at opennebula.org**> | @OpenNebula
>>
>
> --
> Wojciech Giel
> University of Cambridge
> JDRF/WT Diabetes and Inflammation Laboratory
> Cambridge Institute for Medical Research
> Wellcome Trust/MRC Building
> Addenbrooke's Hospital, Cambridge, CB2 0XY
> Tel: 44 (0) 1223 763228
>
>
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>



-- 
Join us at OpenNebulaConf2013 <http://opennebulaconf.com/> in Berlin, 24-26
September, 2013
--
Daniel Molina
Project Engineer
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130924/b4df31f6/attachment-0002.htm>


More information about the Users mailing list