Bug 953614 - Automatic logout does not always happen as per UserSessionTimeOutInterval value
Summary: Automatic logout does not always happen as per UserSessionTimeOutInterval value
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 3.3.0
Assignee: Ravi Nori
QA Contact: Jiri Belka
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-18 16:23 UTC by Anitha Udgiri
Modified: 2018-12-04 15:17 UTC (History)
11 users (show)

Fixed In Version: is3
Doc Type: Bug Fix
Doc Text:
After setting UserSessionTimeOutInterval value, automatic logout did not always happen after the specified period for inactivity, it took much longer than the time set. This update adds the UserSessionTimeOutInvalidationInterval parameter which invalidates the session timeout after a specified amount of time has elapsed and the logout has not occurred. The actual timeout value will be between the times set for both parameters.
Clone Of:
Environment:
Last Closed: 2014-01-21 17:17:52 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:0038 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Virtualization Manager 3.3.0 update 2014-01-21 22:03:06 UTC
oVirt gerrit 15804 0 None None None Never

Description Anitha Udgiri 2013-04-18 16:23:02 UTC
Description of problem:
Even after setting UserSessionTimeOutInterval value, automatic logout does not always happen after the set period for inactivity.
It seems to take much longer than the time set by the UserSessionTimeOutInterval parameter.

Comment 1 Einav Cohen 2013-04-18 17:47:26 UTC
AFAIK: UserSessionTimeOutInterval is not exactly (or not only) the time-out interval - it is (also) used as the frequency in which the engine checks all of its sessions, and invalidates (time-outs) the "old" idle ones. 
So the actual session time-out can potentially be up to:
UserSessionTimeOutInterval x 2

Example:

UserSessionTimeOutInterval = 1 minute.

time           event
========       =====
12:00:00       engine is checking for "old" idle sessions.
12:01:00       engine is checking for "old" idle sessions.
12:02:00       engine is checking for "old" idle sessions.
12:03:00       engine is checking for "old" idle sessions.
...
12:30:00       engine is checking for "old" idle sessions.

12:30:01       *** session "aaa" starts ***

   [session "aaa" performs no requests to the engine (i.e. it is practically idle)]

12:31:00       engine is checking for "old" idle sessions.

   [session "aaa" is idle for 59 seconds, 
   59 seconds < 1 minute
   -> session "aaa" is still considered "active", so it cannot be invalidated]

12:32:00       engine is checking for "old" idle sessions.

   [session "aaa" is idle for 1 minute + 59 seconds, 
   1 minute + 59 seconds > 1 minute
   -> session "aaa" is considered an "old" idle session -> it is being invalidated.

so even though the session time-out is set to be 1 minute, session "aaa" remained valid for almost (1 minute x 2 =) 2 minutes.

Comment 5 Jiri Belka 2013-07-26 08:36:17 UTC
ok, is6.

Comment 6 Charlie 2013-11-28 00:08:25 UTC
This bug is currently attached to errata RHEA-2013:15231. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.

Comment 7 errata-xmlrpc 2014-01-21 17:17:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2014-0038.html


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