Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1227713

Summary: no LogoutUserCommand present in engine.log after user's session expired
Product: [Retired] oVirt Reporter: Jiri Belka <jbelka>
Component: ovirt-engine-coreAssignee: Ravi Nori <rnori>
Status: CLOSED WONTFIX QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6CC: alonbl, bugs, ecohen, gklein, lsurette, oourfali, rbalakri, yeylon
Target Milestone: ---Keywords: Regression
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-03 13:35:21 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:
Embargoed:
Attachments:
Description Flags
engine.log none

Description Jiri Belka 2015-06-03 11:15:51 UTC
Created attachment 1034249 [details]
engine.log

Description of problem:

in 3.5 there's LogoutUserCommand line present in engine.log after user's session validity is performed and is false:

in 3.5:

~~~
2015-06-03 12:22:28,509 DEBUG [org.ovirt.engine.core.bll.aaa.ValidateSessionQuery] (ajp-/127.0.0.1:8702-7) Didn't find session user
2015-06-03 12:22:28,509 DEBUG [org.ovirt.engine.core.bll.aaa.ValidateSessionQuery] (ajp-/127.0.0.1:8702-7) ValidateSession ended
2015-06-03 12:22:28,509 TRACE [org.ovirt.engine.core.bll.aaa.ValidateSessionQuery] (ajp-/127.0.0.1:8702-7) FINISH, ValidateSessionQuery, log id: 2b21d64a
2015-06-03 12:22:28,583 INFO  [org.ovirt.engine.core.bll.aaa.LogoutUserCommand] (ajp-/127.0.0.1:8702-11) [549b2495] Running command: LogoutUserCommand(UserId = fdfc627c-d875-11e0-90f0-83df133b58cc) internal: false.
2015-06-03 12:22:28,593 INFO  [org.ovirt.engine.core.bll.aaa.LogoutUserCommand] (ajp-/127.0.0.1:8702-4) [4128dc18] Running command: LogoutUserCommand(UserId = fdfc627c-d875-11e0-90f0-83df133b58cc) internal: false.
~~~

in 3.6 this is completely missing:

~~~
2015-06-03 12:56:27,995 DEBUG [org.ovirt.engine.core.bll.aaa.ValidateSessionQuery] (ajp--127.0.0.1-8702-3) [] Calling ValidateSession
2015-06-03 12:56:27,997 DEBUG [org.ovirt.engine.core.bll.aaa.ValidateSessionQuery] (ajp--127.0.0.1-8702-3) [] Input session ID is '87qWNQScItP0m2hNBz7cytFZYhM+/9aCcDLrQBlNtGTP5cuekjov15AR79fHA27smy5KPhSrqMVPzanDPERLgA=='
2015-06-03 12:56:27,998 DEBUG [org.ovirt.engine.core.bll.aaa.ValidateSessionQuery] (ajp--127.0.0.1-8702-3) [] Didn't find session user
2015-06-03 12:56:27,999 DEBUG [org.ovirt.engine.core.bll.aaa.ValidateSessionQuery] (ajp--127.0.0.1-8702-3) [] ValidateSession ended
2015-06-03 12:56:28,118 DEBUG [org.ovirt.engine.core.bll.gluster.GlusterSyncJob] (DefaultQuartzScheduler_Worker-43) [] Refreshing Gluster Data [lightweight]
2015-06-03 12:56:29,247 DEBUG [org.ovirt.engine.core.bll.lock.InMemoryLockManager] (DefaultQuartzScheduler_Worker-48) [] Before acquiring lock 'EngineLock:{exclusiveLocks='[4bf2f974-fc24-4c0f-83ca-1c26edbf6462=<VDS_INIT, >]', sharedLocks='null'}'
2015-06-03 12:56:29,249 DEBUG [org.ovirt.engine.core.bll.lock.InMemoryLockManager] (DefaultQuartzScheduler_Worker-48) [] Success acquiring lock 'EngineLock:{exclusiveLocks='[4bf2f974-fc24-4c0f-83ca-1c26edbf6462=<VDS_INIT, >]', sharedLocks='null'}' succeeded
2015-06-03 12:56:29,253 DEBUG [org.ovirt.engine.core.bll.lock.InMemoryLockManager] (DefaultQuartzScheduler_Worker-48) [] Before releasing a lock 'EngineLock:{exclusiveLocks='[4bf2f974-fc24-4c0f-83ca-1c26edbf6462=<VDS_INIT, >]', sharedLocks='null'}'
2015-06-03 12:56:29,254 DEBUG [org.ovirt.engine.core.bll.lock.InMemoryLockManager] (DefaultQuartzScheduler_Worker-48) [] The exclusive lock for key '4bf2f974-fc24-4c0f-83ca-1c26edbf6462VDS_INIT' is released and lock is removed from map
2015-06-03 12:56:29,840 INFO  [org.ovirt.engine.docs.utils.servlet.ContextSensitiveHelpMappingServlet] (ajp--127.0.0.1-8702-3) [] Context-sensitive help is not installed. Manual directory doesn't exist: /usr/share/ovirt-engine/manual
~~~

thus it is not as clear what's going on as it was in 3.5.

Version-Release number of selected component (if applicable):
ovirt-engine-backend-3.6.0-0.0.master.20150519172219.git9a2e2b3.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. tail -f /var/log/ovirt-engine/engine.log | egrep "ValidateSession|LogoutUser"
2. wait when UserSessionTimeOutInterval is hit
3.

Actual results:
no LogoutUserCommand visible

Expected results:
should be there as in 3.5

Additional info:

Comment 1 Oved Ourfali 2015-08-03 13:35:21 UTC
Other than logging this one has no effect, and it does make the flow complex in order to propagate that down the chain.

Closing this one as WONTFIX.