[one-users] Authentication problem. Opennebula 3.0 on debian squeeze

Alberto Molina Coballes alb.molina at gmail.com
Thu Nov 10 11:59:08 PST 2011


Hi,

Installing opennebula 3.0 on debian squeeze using [1], I've found a
authentication problem with oneadmin.

The installation process creates oneadmin properly, generates the pair
ssh keys and oned is launched by oneadmin.

In order to verify installation:

oneadmin at mut:~$ onevm list
ONE_AUTH file not present

This is OK, oneadmin password is not defined in ~/.one/one_auth

oneadmin at mut:~$ mkdir ~/.one
oneadmin at mut:~$ echo "oneadmin:password" > ~/.one/one_auth
oneadmin at mut:~$ chmod 600 ~/.one/one_auth
oneadmin at mut:~$ one stop
oneadmin at mut:~$ one start

oneadmin at mut:~$ onevm list
[VirtualMachinePoolInfo] User couldn't be authenticated, aborting call.

What's the problem?

I've found the SHA1 hash password for oneadmin in one.db doesn't match
with the password defined in ~/.one/one_auth. If hash password is
modified to proper value or one.db is deleted, after stop/start one
authentication becomes operative.

Making a new clean installation, /var/lib/one/one.db exists and oneadmin
user is defined with a hashed password before oneadmin password was set
in /var/lib/one/.one/one_auth. Is this correct or is a bug?

Thanks

[1]
http://dev.opennebula.org/packages/opennebula-3.0.0/Debian-6.0.2/opennebula_3.0.0-1_amd64.deb





More information about the Users mailing list