Martin Peřina has posted comments on this change. Change subject: core: Fixes RTE while reorder LDAP servers list ......................................................................
Patch Set 2: Verified Verifying steps 1) I've added domain qa.lab.tlv.redhat.com which has 2 LDAP servers: qa1.qa.lab.tlv.redhat.com is available and qa2-tlv.qa.lab.tlv.redhat.com is down $ ./bin/engine-manage-domains -action=add -domain=qa.lab.tlv.redhat.com -user=vdcadmin -interactive -addPermissions -provider=ActiveDirectory Enter password: Successfully added domain qa.lab.tlv.redhat.com. oVirt Engine restart is required in order for the changes to take place (service ovirt-engine restart). Manage Domains completed successfully 2) I've modified the order of LDAP servers list in UsersDomainsCacheManagerService.create so unavailable qa2-tlv.qa.lab.tlv.redhat.com server was returned first 3) I've started engine and logged in as vdcad...@qa.lab.tlv.redhat.com => user logged in successfully 2013-07-15 15:07:45,291 ERROR [org.ovirt.engine.core.bll.adbroker.GetRootDSE] (http--0.0.0.0-8080-1) Failed to query rootDSE for LDAP server LDAP://qa2-tlv.qa.lab.tlv.redhat.com:389 due to connection timeout 2013-07-15 15:07:45,295 ERROR [org.ovirt.engine.core.bll.adbroker.DirectorySearcher] (http--0.0.0.0-8080-1) Failed ldap search server LDAP://qa2-tlv.qa.lab.tlv.redhat.com:389 using user vdcad...@qa.lab.tlv.redhat.com due to connection timeout. We should try the next server 2013-07-15 15:08:19,214 INFO [org.ovirt.engine.core.bll.LoginAdminUserCommand] (http--0.0.0.0-8080-1) Running command: LoginAdminUserCommand internal: false. 2013-07-15 15:08:23,204 INFO [org.ovirt.engine.core.bll.LoginUserCommand] (http--0.0.0.0-8080-2) Running command: LoginUserCommand internal: false. 2013-07-15 15:08:23,233 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (http--0.0.0.0-8080-2) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User vdcadmin logged in. -- To view, visit http://gerrit.ovirt.org/16859 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Idc52415ca123790e967e0f1b940fdedb4987097a Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Martin Peřina <mper...@redhat.com> Gerrit-Reviewer: Martin Peřina <mper...@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches