[one-users] Sunstone problem
Wojciech Giel
wojciech.giel at cimr.cam.ac.uk
Tue Sep 10 04:43:34 PDT 2013
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>> 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",
> :oneflow_server=>"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",
> :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.
> * 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>
> 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
More information about the Users
mailing list