[one-users] Sunstone problem
Daniel Molina
dmolina at opennebula.org
Mon Sep 9 03:17:05 PDT 2013
Hi,
On 5 September 2013 18:04, Wojciech Giel <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?
* Does the ''/var/lib/one/.one/sunstone_auth" file exists? Is it available
for the user who is running the sunstone server?
Hope this helps
> thanks
> Wojciech
>
> ______________________________**_________________
> 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/20130909/45648a15/attachment-0002.htm>
More information about the Users
mailing list