Bug 869660 - After logging out, User <UNKNOWN> is shown in events for async tasks
Summary: After logging out, User <UNKNOWN> is shown in events for async tasks
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
: 3.2.0
Assignee: Ravi Nori
QA Contact: Leonid Natapov
URL:
Whiteboard: infra
Depends On:
Blocks: 915537
TreeView+ depends on / blocked
 
Reported: 2012-10-24 13:53 UTC by Jakub Libosvar
Modified: 2016-02-10 19:43 UTC (History)
12 users (show)

Fixed In Version: sf7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine log (11.60 KB, text/x-log)
2012-10-24 13:53 UTC, Jakub Libosvar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 10896 0 None None None Never

Comment 1 Jakub Libosvar 2012-10-24 13:53:20 UTC
Created attachment 632810 [details]
engine log

Comment 2 Maor 2012-10-28 15:13:39 UTC
I think you forgot to mention that the user must be logged out from the web admin before the task was finished.
is that was the case?

Comment 3 Jakub Libosvar 2012-10-29 07:37:16 UTC
I didn't use webadmin at all, it was done via API. So basically yes, user wasn't logged in.

Comment 4 Asaf Shakarchi 2012-12-03 16:37:17 UTC
This is a more general infra problem  rather than a specific issue, so this BZ is just an example of a more general problem,

This is a long invocation and involves creation of async tasks,
The problem is that async tasks 'loose' the context of the user,

In the infra level there should be a support for preserving user context.

Comment 6 Barak 2013-01-01 15:03:57 UTC
It looks like the user in the event is taken at the end of the command execution, hence the session does not exist and user = UNKNOWN

Eli suggested to add the user to the command base.

In this case this should be an easy fix.

Comment 7 Ravi Nori 2013-01-10 21:15:03 UTC
link : http://gerrit.ovirt.org/#/c/10896/

change id : Ic0904f9f6d9432ecac1cebee3790eae902a1329a

Comment 9 Leonid Natapov 2013-03-04 15:01:00 UTC
sf9. fixed. shows the user instead of UNKNOWN.

Comment 10 Itamar Heim 2013-06-11 08:49:46 UTC
3.2 has been released

Comment 11 Itamar Heim 2013-06-11 08:49:58 UTC
3.2 has been released

Comment 12 Itamar Heim 2013-06-11 08:49:58 UTC
3.2 has been released

Comment 13 Itamar Heim 2013-06-11 08:54:18 UTC
3.2 has been released

Comment 14 Itamar Heim 2013-06-11 09:24:50 UTC
3.2 has been released


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