[one-users] Sunstone "Error initializing authentication system"
Valentin Bud
valentin.bud at gmail.com
Mon Nov 19 05:58:49 PST 2012
Hello World,
I have updated today from 3.6 to 3.8.1 from source on a Debian Squeeze
machine. I didn't need nor want Sunstone until now. So I have followed
the Sunstone documentation [1] to install and configure it.
As `oneadmin` user when I try to start Sunstone I get the following the
logs:
```
/var/log/one/sunstone.log
--------------------------------------
Server configuration
--------------------------------------
{:vnc_proxy_support_wss=>false,
:vnc_proxy_cert=>nil,
:one_xmlrpc=>"http://localhost:2633/RPC2",
:marketplace_url=>"https://marketplace.c12g.com/appliance",
:vnc_proxy_key=>nil,
:debug_level=>3,
:vnc_proxy_path=>"/usr/share/one/websockify/websocketproxy.py",
:core_auth=>"cipher",
:host=>"127.0.0.1",
:lang=>"en_US",
:vnc_proxy_port=>29876,
:auth=>"sunstone",
:port=>9869,
:tmpdir=>"/var/tmp"}
Mon Nov 19 14:41:21 2012 [E]: Error initializing authentication system
Mon Nov 19 14:41:21 2012 [E]: No such file or directory - /var/lib/one/.one/sunstone_auth
```
Indeed the file in missing.
```
oneadmin at frontend:~$ ls -al /var/lib/one/.one/sunstone_auth
ls: cannot access /var/lib/one/.one/sunstone_auth: No such file or
directory
```
It was missing even before I have updated to 3.8.1. I have created the
file with the following contents:
```
/var/lib/one/.one/sunstone_auth
serveradmin:af84cc76ff2f6bbede661a62f4932d739f0e1fb0
```
The password part is the hashed serveradmin's key as shown by `oneuser
show`.
```
$ oneuser show serveradmin | grep PASS
PASSWORD : af84cc76ff2f6bbede661a62f4932d739f0e1fb0
```
Trying to start the server again I receive the same error a little bit
different:
```
...
Mon Nov 19 14:53:53 2012 [E]: Error initializing authentication system
Mon Nov 19 14:53:53 2012 [E]: [UserPoolInfo] User couldn't be
authenticated, aborting call.
```
I didn't know if $HOME/.one/sunstone_auth should list the hashed
password or the clear text one, so I've given it one more try and set up
the password in clear text. Same output as the one above.
If it matters here goes the content of $HOME/.one directory:
```
oneadmin at frontend:~/.one$ ls -1 $HOME/.one
one_auth
sunstone_auth
```
[1]: http://opennebula.org/documentation:rel3.8:sunstone
Any hints? Thank you.
v
More information about the Users
mailing list