Bug 1384714 - Ovirt-Web Admin account expired - Account valid from date is a set to a date later then actual date [NEEDINFO]
Summary: Ovirt-Web Admin account expired - Account valid from date is a set to a date ...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.0.0
Hardware: x86_64
OS: Linux
unspecified
high vote
Target Milestone: ---
: ---
Assignee: Martin Perina
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-14 00:44 UTC by tmulani
Modified: 2016-10-24 11:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-24 11:04:29 UTC
oVirt Team: Infra
mperina: needinfo? (etmulani)
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description tmulani 2016-10-14 00:44:01 UTC
Description of problem: With fresh installation of ovirt 4.0, Ovirt-Web Admin account expired automatically after first logon. Account valid from date is a set to a date later then actual date of that day causing the admin account login failure.Even though the system had correct date and timezone. Used ovirt-aaa-jdbc-tool to edit the account valid date from but the correct date is not getting applied.


Version-Release number of selected component (if applicable): 4.0


How reproducible:- Not tried yet
Steps to Reproduce:- Not tried yet


Actual results:- Admin user account valid from date set invalid
Expected results: Admin user account valid from date should be earlier than current date

Additional info:- Check below ovirt-aaa-jdbc-tool query --what=user output

-- User admin(a6a9b9c6-aaee-4490-ae92-695cffb81170) --
Namespace: *
Name: admin
ID: a6a9b9c6-aaee-4490-ae92-695cffb81170
Display Name:
Email:
First Name: admin
Last Name:
Department:
Title:
Description:
Account Disabled: false
Account Unlocked At: 2016-10-14 00:59:53Z
Account Valid From: 2016-10-14 00:00:35Z
Account Valid To: 2216-10-14 00:00:35Z
Account Without Password: false
Last successful Login At: 2016-10-14 00:09:43Z
Last unsuccessful Login At: 2016-10-13 23:59:53Z
Password Valid To: 2216-08-27 00:00:45Z
[root@ovirt ~]# date
Thu Oct 13 17:30:04 PDT 2016
[root@ovirt ~]#

Comment 2 Martin Perina 2016-10-17 11:21:00 UTC
Admin user account is properly valid from 2016-10-14 00:00:35Z (Z means UTC time), which is 2016-10-13 17:00:35 PDT.

What is you exact issue? You are not able to login with admin@internal after installation?

Comment 3 Martin Perina 2016-10-24 11:04:29 UTC
Closing as INSUFFICIENT_DATA, feel free to reopen and provide fresh information about your issue if needed


Note You need to log in before you can comment on or make changes to this bug.