I have a problem with Sunstone authentication. When an user try authenticate in Sunstone, occurs this error:
OpenNebula is not running or there was a server exception. Please check the server logs
In oned.log have:
Wed May 8 03:01:58 2019 [Z0][ReM][D]: Req:4560 UID:0 one.user.info invoked , -1
Wed May 8 03:01:58 2019 [Z0][ReM][D]: Req:4560 UID:0 one.user.info result SUCCESS, “0<GID…”
Wed May 8 03:01:58 2019 [Z0][ReM][D]: Req:2112 UID:-1 one.user.info invoked , -1
Wed May 8 03:01:58 2019 [Z0][ReM][E]: Req:2112 UID:- one.user.info result FAILURE
[one.user.info] User couldn’t be authenticated, aborting call.
I’ve already checked it the credential of serveradmin user in files stored in /var/lib/one/.one/ and comparated with database information:
# oneuser show 1 USER 1 INFORMATION ID : 1 NAME : serveradmin GROUP : oneadmin PASSWORD : xxxxd5b02cb1c3b9d39a2dad7aab5b7f733exxxx AUTH_DRIVER : core ENABLED : Yes # cat /var/lib/one/.one/sunstone_auth serveradmin:<sanitized_pass> # echo -n "<sanitized_pass>" | sha1sum xxxxd5b02cb1c3b9d39a2dad7aab5b7f733exxxx
It was working perfectly, and I suspect that the problem may have occurred after an “oneuser chauth” command.
In command line, one* commands working perfectly.
I’ve already tried restore user_pool table and restart opennebula and opennebula-sunstone services, but the problem persist.
I using Opennebula 5.6.2. Can anyone help-me please??