Created attachment 651525 [details] logs Description of problem: I ran a query on users when one of the LDAp servers was down and tried logging in from a second session with internal user. after a few minutes when it appeared that the login page is stuck we get a CanDoAction from engine: CanDoAction of action LoginAdminUser failed. Reasons:USER_IS_ALREADY_LOGGED_IN once we get this error it will continue until we reload the page. Version-Release number of selected component (if applicable): si24.4 How reproducible: 100% Steps to Reproduce: 1. log in with internal user and try to query users from the domain while the first LDAP server is down 2. open a second tab and try to log in with the same internal user 3. Actual results: the logging takes a long time until we fail on CanDoAction of action LoginAdminUser failed. Reasons:USER_IS_ALREADY_LOGGED_IN only after we reload the page we will manage to login with the same user on the second session Expected results: we should be able to log in with the same user from two different sessions. also, since reloading the page appeared t o have clear the CanDoAction I think we might be querying cache for that particular CanDo? Additional info:logs
link : http://gerrit.ovirt.org/#/c/11261/ change id : I80c1857ce344330bcf0588ae6c9ddc7eb5d9e4aa
LDAP down, login in both tabs without problem/delay 2013-05-17 17:43:47,356 ERROR [org.ovirt.engine.core.bll.adbroker.LdapSearchExceptionHandler] (ajp-/127.0.0.1:8702-9) Error in communicating with LDAP server dc-02.ad2.rhev.lab.eng.brq.redhat.com:389; nested exception is javax.naming.CommunicationException: dc-02.ad2.rhev.lab.eng.brq.redhat.com:389 [Root exception is java.net.SocketTimeoutException: connect timed out] 2013-05-17 17:43:47,356 ERROR [org.ovirt.engine.core.bll.adbroker.LdapSearchExceptionHandler] (ajp-/127.0.0.1:8702-7) Error in communicating with LDAP server dc-02.ad2.rhev.lab.eng.brq.redhat.com:389; nested exception is javax.naming.CommunicationException: dc-02.ad2.rhev.lab.eng.brq.redhat.com:389 [Root exception is java.net.SocketTimeoutException: connect timed out] 2013-05-17 17:43:47,357 ERROR [org.ovirt.engine.core.bll.adbroker.DirectorySearcher] (ajp-/127.0.0.1:8702-9) Failed ldap search server LDAP://dc-02.ad2.rhev.lab.eng.brq.redhat.com:389 using user vdcadmin.LAB.ENG.BRQ.REDHAT.COM due to connection timeout. We should try the next server 2013-05-17 17:43:47,357 ERROR [org.ovirt.engine.core.bll.adbroker.DirectorySearcher] (ajp-/127.0.0.1:8702-7) Failed ldap search server LDAP://dc-02.ad2.rhev.lab.eng.brq.redhat.com:389 using user vdcadmin.LAB.ENG.BRQ.REDHAT.COM due to connection timeout. We should try the next server
3.2 has been released