[ovirt-users] admin user locked?

Gianluca Cecchi gianluca.cecchi at gmail.com
Sat Jan 21 18:17:09 UTC 2017


On Sat, Jan 21, 2017 at 7:10 PM, Gianluca Cecchi <gianluca.cecchi at gmail.com>
wrote:

> Hello,
> yesterday I installed a 4.0.6 ovirt engine on a CentOS 7.3 server and I
> was then able to connect.
> Today I try to login, I mispelled some times the password and then I get
> this in web admin portal
>
> Cannot Login. User Account is Disabled or Locked, Please contact your
> system administrator.
>

So Ok, I found it

Even after restart of engine nothing changed
Tried the command without the "--password-valid-to" switch but nothing
changed
So I used the "show" option

[root at ovmgr1 ~]# ovirt-aaa-jdbc-tool user show admin
-- User admin(b3f8e191-2085-4b34-84d0-b8c7e2884618) --
Namespace: *
Name: admin
ID: b3f8e191-2085-4b34-84d0-b8c7e2884618
Display Name:
Email:
First Name: admin
Last Name:
Department:
Title:
Description:
Account Disabled: false
Account Locked: true
Account Unlocked At: 2017-01-21 19:12:21Z
Account Valid From: 2017-01-20 16:17:22Z
Account Valid To: 2217-01-20 16:17:22Z
Account Without Password: false
Last successful Login At: 2017-01-20 16:22:19Z
Last unsuccessful Login At: 2017-01-21 18:12:21Z
Password Valid To: 2018-12-31 23:59:59Z

and then the unlock one
[root at ovmgr1 ~]# ovirt-aaa-jdbc-tool user unlock admin
updating user admin...
user updated successfully
[root at ovmgr1 ~]#

And now I'm able to connect...

Sorry for the noise... ;-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170121/b5a7cc68/attachment.html>


More information about the Users mailing list