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

Attachment: signature.asc
Description: PGP signature

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

Reply via email to