Re: [one-users] Can't loginto sunstone after upgrade to 4.8

2014-09-02 Thread Daniel Molina
Hi,

On 29 August 2014 12:29, Daniel Dehennin daniel.dehen...@baby-gnu.org
wrote:

 # Make serveradmin using core auth to change the password
 oneadmin@nebula:~$ oneuser chauth serveradmin core -r serveradmin.pwd

 # Switch back to server_cipher
 oneadmin@nebula:~$ oneuser chauth serveradmin server_cipher


You can just use this command to change the password
 oneadmin@nebula:~$ oneuser passwd serveradmin -r serveradmin.pwd --sha1

Cheers

-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Can't loginto sunstone after upgrade to 4.8

2014-09-02 Thread Daniel Dehennin
Daniel Molina dmol...@opennebula.org writes:


[...]

 You can just use this command to change the password
  oneadmin@nebula:~$ oneuser passwd serveradmin -r serveradmin.pwd --sha1

Ok, I did not understand why it was not working without the --sha1.

Thanks.

-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF


signature.asc
Description: PGP signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Can't loginto sunstone after upgrade to 4.8

2014-08-29 Thread Ale
Hello all,

After upgrade opennebula from 4.6 to 4.8 through deb, i follow the steps on
the upgrade guide.

oned.log report bad decript http://pastebin.com/KfVYpeSL

Probably i've made some mistake, any suggestion?

Thanks
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Can't loginto sunstone after upgrade to 4.8

2014-08-29 Thread Daniel Dehennin
Ale ale...@gmail.com writes:

 Hello all,

 After upgrade opennebula from 4.6 to 4.8 through deb, i follow the steps on
 the upgrade guide.

 oned.log report bad decript http://pastebin.com/KfVYpeSL

 Probably i've made some mistake, any suggestion?

This means that the /var/lib/one/.one/sunstone_auth does not match the
password in the database.

Does the CLIs work for oneadmin user?

oneadmin@nebula:~$ onehost list

I personally reset the serveradmin password with the following:

# Generate a random password
oneadmin@nebula:~$ pwgen -s 42 1  serveradmin.pwd

# Make serveradmin using core auth to change the password
oneadmin@nebula:~$ oneuser chauth serveradmin core -r serveradmin.pwd

# Switch back to server_cipher
oneadmin@nebula:~$ oneuser chauth serveradmin server_cipher

# Store new password
oneadmin@nebula:~$ for f in sunstone ec2 occi oneflow onegate; do \
echo serveradmin:$(cat serveradmin.pwd)  ~/.one/${f}_auth ; \
done

Then you can restart Sunstone.

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF


signature.asc
Description: PGP signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org