Bug 869660
Summary: | After logging out, User <UNKNOWN> is shown in events for async tasks | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Jakub Libosvar <jlibosva> | ||||
Component: | ovirt-engine | Assignee: | Ravi Nori <rnori> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Leonid Natapov <lnatapov> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.1.0 | CC: | abaron, bazulay, dyasny, hateya, iheim, lpeer, mlipchuk, Rhev-m-bugs, sgrinber, yeylon, ykaul, yzaslavs | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.2.0 | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | infra | ||||||
Fixed In Version: | sf7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 915537 | ||||||
Attachments: |
|
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 3.2 has been released 3.2 has been released 3.2 has been released 3.2 has been released |
Created attachment 632810 [details] engine log