Bug 782769

Summary: [core] Sometimes there is no option to login with local admin user twice
Product: [Retired] oVirt Reporter: zvi <zfridler>
Component: ovirt-engine-coreAssignee: lpeer <lpeer>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, bazulay, iheim, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-13 08:13:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
engine -user is signin problem- log none

Description zvi 2012-01-18 12:11:15 UTC
Created attachment 556007 [details]
engine -user is signin problem- log

Description of problem:
Can't login with the same user more then once

Version-Release number of selected component (if applicable):


How reproducible:
NOT always

Steps to Reproduce:
1.Try to login from different web browser with the same local user:admin
2.
3.
  
Actual results:
failure to signin. 
"User is already logged in." message is shown in webadmin

Expected results:
from engine log:

Additional info:
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (pool-5-thread-49) FINISH, SetVdsStatusVDSCommand, log id: 4ac712e7
2012-01-18 13:56:14,615 WARN  [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http--0.0.0.0-8080-8) CanDoAction of action LoginAdminUser failed. Reasons:USER_IS_ALREADY_LOGGED_IN
2012-01-18 13:56:24,048 WARN  [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http--0.0.0.0-8080-5) CanDoAction of action LoginAdminUser failed. Reasons:USER_IS_ALREADY_LOGGED_IN

Comment 1 Yaniv Kaul 2012-01-18 12:41:34 UTC
Login where? user portal? admin portal?
Is it a race? Does it happen if you try from two different hosts too?
Does it happen with external users (AD or IPA) as well?

Comment 2 zvi 2012-01-18 12:53:38 UTC
Login from webadmin with internal admin user. I don't think its a RACE, since i was not attempting to login twice at the same time from different locations.
It happens with different hosts (different browser on different machines)
There are no LDAP connection to the system or IPA. The problem is that it is not reproducible always but i keep checking with AD user as-well.

Comment 4 Itamar Heim 2012-12-13 08:13:20 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.