Bug 1384714

Summary: Ovirt-Web Admin account expired - Account valid from date is a set to a date later then actual date
Product: [oVirt] ovirt-engine Reporter: tmulani <etmulani>
Component: Frontend.WebAdminAssignee: Martin Perina <mperina>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.0.0CC: awels, bugs, etmulani
Target Milestone: ---Flags: mperina: needinfo? (etmulani)
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-24 11:04:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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