Bug 782769 - [core] Sometimes there is no option to login with local admin user twice
Summary: [core] Sometimes there is no option to login with local admin user twice
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: lpeer
QA Contact:
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-18 12:11 UTC by zvi
Modified: 2012-12-13 08:13 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-13 08:13:20 UTC
oVirt Team: ---


Attachments (Terms of Use)
engine -user is signin problem- log (182.25 KB, application/x-gzip)
2012-01-18 12:11 UTC, zvi
no flags Details

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.


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