Authentication user problem after upgrade 5.12 -> 6.0.2 upgrade

Hello, i was done upgrade from 5.12 to 6.0.2 according official documentation. After that I can’t login into sunstone. When i’m trying login i get
''OpenNebula is not running or there was a server exception. Please check the server logs."
at oned.log i see:

Wed Jul 14 12:08:22 2021 [Z0][ReM][D]: Req:6160 UID:2 IP:127.0.0.1 one.user.info invoked , -1, false
Wed Jul 14 12:08:22 2021 [Z0][ReM][D]: Req:6160 UID:2 one.user.info result SUCCESS, “2<GID…”
Wed Jul 14 12:08:22 2021 [Z0][AuM][I]: Command execution failed (exit code: 255): /var/lib/one/remotes/auth/server_cipher/authenticate
Wed Jul 14 12:08:22 2021 [Z0][AuM][E]: key must be 32 bytes
Wed Jul 14 12:08:22 2021 [Z0][AuM][D]: _authenticate: key must be 32 bytes
Wed Jul 14 12:08:22 2021 [Z0][Lis][I]: Stopping
Wed Jul 14 12:08:22 2021 [Z0][AuM][E]: Auth Error: key must be 32 bytes
Wed Jul 14 12:08:22 2021 [Z0][ReM][D]: Req:7744 UID:-1 IP:127.0.0.1 one.user.info invoked , -1, false
Wed Jul 14 12:08:22 2021 [Z0][ReM][E]: Req:7744 UID:- one.user.info result FAILURE [one.user.info] User couldn’t be authenticated, aborting call.

It’s applies to all users, also new, create after upgrade. I’m trying to search at internet but i not see that anyone have similar problem. Could you help me? :slight_smile:

edit:

OK, i resolved that. By mistake in auth file /var/lib/one/.one was serveradmin:<sha256_of_password> instead of serveradmin:password.

After that when i click “log in” i got loading circle…

OK, i resolve it by onezone serversync from one host where it’s working.
Maybe someone help it. Please close topic.

1 Like

hello please i have been unable to install the opennebula front-end on Ubuntu 20.04 LTS for two weeks. My system is in dual boot