Red Hat Bugzilla – Bug 869660
After logging out, User <UNKNOWN> is shown in events for async tasks
Last modified: 2016-02-10 14:43:50 EST
Created attachment 632810 [details]
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?
I didn't use webadmin at all, it was done via API. So basically yes, user wasn't logged in.
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.
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.
link : http://gerrit.ovirt.org/#/c/10896/
change id : Ic0904f9f6d9432ecac1cebee3790eae902a1329a
sf9. fixed. shows the user instead of UNKNOWN.
3.2 has been released