<div dir="ltr"><div>I am relieved that at least you guys are seeing the same thing. I was starting to count my marbles to make sure they were all still there ;-)<br></div>- DHC<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Aug 9, 2013 at 7:19 AM, Alexander Wels <span dir="ltr"><<a href="mailto:awels@redhat.com" target="_blank">awels@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thursday, August 08, 2013 09:10:33 PM Einav Cohen wrote:<br>
> > ----- Original Message -----<br>
</div><div class="im">> > From: "Dead Horse" <<a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a>><br>
> > Sent: Thursday, August 8, 2013 7:51:03 PM<br>
> ><br>
> > I verified the fix against current master with multiple installs and<br>
> > browsers. Thanks guys!<br>
> ><br>
> > Fix verified to work with:<br>
> > Firefox Version 22.0-1<br>
> > Google Chrome Version 28.0.1500.95<br>
> ><br>
> > I still noted an odd issue with Firefox Version 17.0.8-1 (Current Firefox<br>
> > EL6 Version).<br>
> > The login into the user portal succeeds and a successful login is logged,<br>
> > however the login remains hung at the login dialog indefinitely.<br>
> > Reloading the page and closing the browser does not change things.<br>
> > Also removing ~/<username>/.mozilla and starting fresh results in the<br>
> > same.<br>
> > Can someone else check and verify similar oddness with EL6 Firefox.<br>
><br>
> similar oddness was indeed encountered lately. Alexander (added) is<br>
> currently investigating.<br>
> @Alexander - can you please update on the investigation progress in this<br>
> thread?<br>
<br>
</div>As noted this seems to only happen with FF 17 ESR, which is the current EL6<br>
version. If I use firebug or attach a GWT debugger, the problem goes away. Heck<br>
if I compile GWT in draft mode the problem goes away. I did however make some<br>
progress yesterday in determining the cause. It seems to me that for some<br>
reason revealDefaultPlace in the user portal is called multiple times and in<br>
certain cases the second time the method is called it never finishes which<br>
causes the behavior we are seeing.<br>
<br>
Still no solution, but this is my top priority to get working.<br>
<span class="HOEnZb"><font color="#888888"><br>
Alexander<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> > - DHC<br>
> ><br>
> ><br>
> > On Wed, Aug 7, 2013 at 1:50 PM, Dead Horse < <a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a><br>
> > > wrote:<br>
> ><br>
> ><br>
> ><br>
> > I see the fix in Gerrit/GIT. Thanks guys! I will test and update results<br>
> > tomorrow morning.<br>
> > - DHC<br>
> ><br>
> ><br>
> > On Wed, Aug 7, 2013 at 1:01 PM, Yair Zaslavsky < <a href="mailto:yzaslavs@redhat.com">yzaslavs@redhat.com</a> ><br>
> > wrote:<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > ----- Original Message -----<br>
> ><br>
> > > From: "Yair Zaslavsky" < <a href="mailto:yzaslavs@redhat.com">yzaslavs@redhat.com</a> ><br>
> > > To: "Dead Horse" < <a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a> ><br>
> > > Cc: "engine-devel" < <a href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a> ><br>
> > > Sent: Wednesday, August 7, 2013 9:00:34 PM<br>
> > > Subject: Re: [Engine-devel] users cannot log into userportal<br>
> > ><br>
> > ><br>
> > ><br>
> > > ----- Original Message -----<br>
> > ><br>
> > > > From: "Dead Horse" < <a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a> ><br>
> > > > To: "Itamar Heim" < <a href="mailto:iheim@redhat.com">iheim@redhat.com</a> ><br>
> > > > Cc: "engine-devel" < <a href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a> >, "Yair Zaslavsky"<br>
> > > > < <a href="mailto:yzaslavs@redhat.com">yzaslavs@redhat.com</a> ><br>
> > > > Sent: Wednesday, August 7, 2013 6:14:02 PM<br>
> > > > Subject: Re: [Engine-devel] users cannot log into userportal<br>
> > > ><br>
> > > > BZ994604 ( <a href="https://bugzilla.redhat.com/show_bug.cgi?id=994604" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=994604</a> ) has<br>
> > > > been<br>
> > > > opened.<br>
> > > > - DHC<br>
> > ><br>
> > > Thanks for your help DHC,<br>
> > > This was already fixed by rnori.<br>
> ><br>
> > Of course "already fixed" comparing with current time. This was indeed a<br>
> > real issue.<br>
> ><br>
> > > > On Wed, Aug 7, 2013 at 5:35 AM, Itamar Heim < <a href="mailto:iheim@redhat.com">iheim@redhat.com</a> ><br>
wrote:<br>
> > > > > On 08/07/2013 12:10 AM, Dead Horse wrote:<br>
> > > > >> I have found some steps to reproduce this easily.<br>
> > > > >><br>
> > > > >> Start the engine bound to an AD for authentication<br>
> > > > >> log in to the user portal as an AD user which has been granted a<br>
> > > > >> Role<br>
> > > > >> (I<br>
> > > > >> used PowerUserRole)<br>
> > > > >><br>
> > > > >> Result: Login will succeed<br>
> > > > >> Data from engine.log:<br>
> > > > >> 2013-08-06 15:54:10,088 INFO<br>
> > > > >> [org.ovirt.engine.core.bll.**LoginUserCommand]<br>
> > > > >> (ajp--127.0.0.1-8702-10)<br>
> > > > >> Running command: LoginUserCommand internal: false.<br>
> > > > >> 2013-08-06 15:54:10,139 INFO<br>
> > > > >> [org.ovirt.engine.core.dal.**dbbroker.auditloghandling.**<br>
> > > > >> AuditLogDirector]<br>
> > > > >> (ajp--127.0.0.1-8702-10) Correlation ID: 23c4709, Call Stack: null,<br>
> > > > >> Custom Event ID: -1, Message: User ovirttest logged in.<br>
> > > > >><br>
> > > > >> log out of the user portal<br>
> > > > >> Result: log out succeeds<br>
> > > > >> Data from engine.log:<br>
> > > > >> 2013-08-06 15:54:12,448 INFO<br>
> > > > >> [org.ovirt.engine.core.bll.**LogoutUserCommand]<br>
> > > > >> (ajp--127.0.0.1-8702-2)<br>
> > > > >> Running command: LogoutUserCommand internal: false.<br>
> > > > >> 2013-08-06 15:54:12,474 INFO<br>
> > > > >> [org.ovirt.engine.core.dal.**dbbroker.auditloghandling.**<br>
> > > > >> AuditLogDirector]<br>
> > > > >> (ajp--127.0.0.1-8702-2) Correlation ID: 52a89e7d, Call Stack: null,<br>
> > > > >> Custom Event ID: -1, Message: User ovirttest logged out.<br>
> > > > >><br>
> > > > >> As the same user log in to the user portal again but this purposely<br>
> > > > >> input the wrong password.<br>
> > > > >> Result: log in will fail<br>
> > > > >> Data from engine.log:<br>
> > > > >> 2013-08-06 15:54:20,830 ERROR<br>
> > > > >> [org.ovirt.engine.core.bll.**adbroker.**GSSAPIDirContextAuthenticat<br>
> > > > >> ion**<br>
> > > > >> Strategy]<br>
> > > > >> (ajp--127.0.0.1-8702-7) Kerberos error: Pre-authentication<br>
> > > > >> information<br>
> > > > >> was invalid (24)<br>
> > > > >> 2013-08-06 15:54:20,832 ERROR<br>
> > > > >> [org.ovirt.engine.core.bll.**adbroker.**GSSAPIDirContextAuthenticat<br>
> > > > >> ion**<br>
> > > > >> Strategy]<br>
> > > > >> (ajp--127.0.0.1-8702-7) Authentication Failed. Please verify the<br>
> > > > >> username and password.<br>
> > > > >> 2013-08-06 15:54:20,843 ERROR<br>
> > > > >> [org.ovirt.engine.core.bll.**adbroker.DirectorySearcher]<br>
> > > > >> (ajp--127.0.0.1-8702-7) Failed ldap search server<br>
> > > > >> LDAP://foodc02.foo.test.com:**389 < <a href="http://foodc02.foo.test.com:389" target="_blank">http://foodc02.foo.test.com:389</a><br>
> > > > >> ><br>
> > > > >> <<br>
> > > > >> http://foodc02.foo.test.com:**389 < <a href="http://foodc02.foo.test.com:389" target="_blank">http://foodc02.foo.test.com:389</a><br>
> > > > >> >><br>
> > > > >> using<br>
> > > > >> user <a href="mailto:ovirttest@FOO.TEST.COM">ovirttest@FOO.TEST.COM</a> <mailto: <a href="mailto:ovirttest@FOO.TEST.COM">ovirttest@FOO.TEST.COM</a> **> due<br>
> > > > >> to<br>
> > > > >><br>
> > > > >> Authentication Failed. Please verify the username and password.. We<br>
> > > > >> should not try the next server<br>
> > > > >> 2013-08-06 15:54:20,850 ERROR<br>
> > > > >> [org.ovirt.engine.core.bll.**adbroker.**GSSAPIDirContextAuthenticat<br>
> > > > >> ion**<br>
> > > > >> Strategy]<br>
> > > > >> (ajp--127.0.0.1-8702-7) Kerberos error: Pre-authentication<br>
> > > > >> information<br>
> > > > >> was invalid (24)<br>
> > > > >> 2013-08-06 15:54:20,851 ERROR<br>
> > > > >> [org.ovirt.engine.core.bll.**adbroker.**GSSAPIDirContextAuthenticat<br>
> > > > >> ion**<br>
> > > > >> Strategy]<br>
> > > > >> (ajp--127.0.0.1-8702-7) Authentication Failed. Please verify the<br>
> > > > >> username and password.<br>
> > > > >> 2013-08-06 15:54:20,852 ERROR<br>
> > > > >> [org.ovirt.engine.core.bll.**adbroker.DirectorySearcher]<br>
> > > > >> (ajp--127.0.0.1-8702-7) Failed ldap search server<br>
> > > > >> LDAP://foodc01.foo.test.com:**389 < <a href="http://foodc01.foo.test.com:389" target="_blank">http://foodc01.foo.test.com:389</a><br>
> > > > >> ><br>
> > > > >> <<br>
> > > > >> http://foodc01.foo.test.com:**389 < <a href="http://foodc01.foo.test.com:389" target="_blank">http://foodc01.foo.test.com:389</a><br>
> > > > >> >><br>
> > > > >> using<br>
> > > > >> user <a href="mailto:ovirttest@FOO.TEST.COM">ovirttest@FOO.TEST.COM</a> <mailto: <a href="mailto:ovirttest@FOO.TEST.COM">ovirttest@FOO.TEST.COM</a> **> due<br>
> > > > >> to<br>
> > > > >><br>
> > > > >> Authentication Failed. Please verify the username and password.. We<br>
> > > > >> should not try the next server<br>
> > > > >> 2013-08-06 15:54:20,853 ERROR<br>
> > > > >> [org.ovirt.engine.core.bll.**adbroker.**LdapAuthenticateUserCommand<br>
> > > > >> ]<br>
> > > > >> (ajp--127.0.0.1-8702-7) Failed authenticating user: ovirttest to<br>
> > > > >> domain<br>
> > > > >> <a href="http://gso.med.ge.com" target="_blank">gso.med.ge.com</a> < <a href="http://gso.med.ge.com" target="_blank">http://gso.med.ge.com</a> >. Ldap Query Type is<br>
> > > > >> getUserByName<br>
> > > > >><br>
> > > > >> 2013-08-06 15:54:20,854 ERROR<br>
> > > > >> [org.ovirt.engine.core.bll.**adbroker.**LdapAuthenticateUserCommand<br>
> > > > >> ]<br>
> > > > >> (ajp--127.0.0.1-8702-7) Authentication Failed. Please verify the<br>
> > > > >> username and password.<br>
> > > > >> 2013-08-06 15:54:20,855 ERROR<br>
> > > > >> [org.ovirt.engine.core.bll.**LoginUserCommand]<br>
> > > > >> (ajp--127.0.0.1-8702-7)<br>
> > > > >> USER_FAILED_TO_AUTHENTICATE_**WRONG_USERNAME_OR_PASSWORD :<br>
> > > > >> ovirttest<br>
> > > > >> 2013-08-06 15:54:20,856 WARN<br>
> > > > >> [org.ovirt.engine.core.bll.**LoginUserCommand]<br>
> > > > >> (ajp--127.0.0.1-8702-7)<br>
> > > > >> CanDoAction of action LoginUser failed.<br>
> > > > >> Reasons:USER_FAILED_TO_**AUTHENTICATE_WRONG_USERNAME_**OR_PASSWORD<br>
> > > > >><br>
> > > > >> Try again to log in as the same user this time typing the correct<br>
> > > > >> password.<br>
> > > > >> Result: Login fails!<br>
> > > > >> Data from engine.log:<br>
> > > > >> 2013-08-06 15:54:25,186 ERROR<br>
> > > > >> [org.ovirt.engine.core.bll.**adbroker.**LdapAuthenticateUserCommand<br>
> > > > >> ]<br>
> > > > >> (ajp--127.0.0.1-8702-7) Failed authenticating user: ovirttest to<br>
> > > > >> domain<br>
> > > > >> <a href="http://gso.med.ge.com" target="_blank">gso.med.ge.com</a> < <a href="http://gso.med.ge.com" target="_blank">http://gso.med.ge.com</a> >. Ldap Query Type is<br>
> > > > >> getUserByName<br>
> > > > >><br>
> > > > >> 2013-08-06 15:54:25,187 ERROR<br>
> > > > >> [org.ovirt.engine.core.bll.**LoginUserCommand]<br>
> > > > >> (ajp--127.0.0.1-8702-7)<br>
> > > > >> USER_FAILED_TO_AUTHENTICATE : ovirttest<br>
> > > > >> 2013-08-06 15:54:25,187 WARN<br>
> > > > >> [org.ovirt.engine.core.bll.**LoginUserCommand]<br>
> > > > >> (ajp--127.0.0.1-8702-7)<br>
> > > > >> CanDoAction of action LoginUser failed. Reasons:USER_FAILED_TO_**<br>
> > > > >> AUTHENTICATE<br>
> > > > >><br>
> > > > >> Try again with another AD user.<br>
> > > > >> Result: Login fails!<br>
> > > > >> Data from engine.log:<br>
> > > > >> 2013-08-06 15:54:38,056 ERROR<br>
> > > > >> [org.ovirt.engine.core.bll.**adbroker.**LdapAuthenticateUserCommand<br>
> > > > >> ]<br>
> > > > >> (ajp--127.0.0.1-8702-5) Failed authenticating user: ovirtadmin to<br>
> > > > >> domain<br>
> > > > >> <a href="http://gso.med.ge.com" target="_blank">gso.med.ge.com</a> < <a href="http://gso.med.ge.com" target="_blank">http://gso.med.ge.com</a> >. Ldap Query Type is<br>
> > > > >> getUserByName<br>
> > > > >><br>
> > > > >> 2013-08-06 15:54:38,057 ERROR<br>
> > > > >> [org.ovirt.engine.core.bll.**LoginUserCommand]<br>
> > > > >> (ajp--127.0.0.1-8702-5)<br>
> > > > >> USER_FAILED_TO_AUTHENTICATE : ovirtadmin<br>
> > > > >> 2013-08-06 15:54:38,058 WARN<br>
> > > > >> [org.ovirt.engine.core.bll.**LoginUserCommand]<br>
> > > > >> (ajp--127.0.0.1-8702-5)<br>
> > > > >> CanDoAction of action LoginUser failed. Reasons:USER_FAILED_TO_**<br>
> > > > >> AUTHENTICATE<br>
> > > > >><br>
> > > > >> Logging into the admin portal as the admin@internal user will yield<br>
> > > > >> that<br>
> > > > >> engine seems to have forgotten about and can no longer enumerate AD<br>
> > > > >> users and groups.<br>
> > > > >> engine stays in this state until it has been restarted.<br>
> > > > >><br>
> > > > >> I also note the two following errors in the engine log file as<br>
> > > > >> well:<br>
> > > > >> 2013-08-06 15:53:41,098 ERROR<br>
> > > > >> [org.ovirt.engine.core.dal.**dbbroker.generic.**DBConfigUtils] (MSC<br>
> > > > >> service<br>
> > > > >> thread 1-9) Could not parse option AutoRecoveryAllowedTypes value.<br>
> > > > >> 2013-08-06 15:53:41,161 ERROR<br>
> > > > >> [org.ovirt.engine.core.dal.**dbbroker.generic.**DBConfigUtils] (MSC<br>
> > > > >> service<br>
> > > > >> thread 1-9) Failed to decrypt value for property<br>
> > > > >> AttestationTruststorePass will be used encrypted value:<br>
> > > > >> javax.crypto.**BadPaddingException: Data must start with zero<br>
> > > > >><br>
> > > > >> - DHC<br>
> > > > >><br>
> > > > >><br>
> > > > >><br>
> > > > >> On Tue, Aug 6, 2013 at 1:31 PM, Dead Horse<br>
> > > > >> < <a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a><br>
> > > > >> <mailto: deadhorseconsulting@ ** <a href="http://gmail.com" target="_blank">gmail.com</a> <<br>
> > > > >> <a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a> ><br>
> > > > >><br>
> > > > >><br>
> > > > >> wrote:<br>
> > > > >><br>
> > > > >> Really attaching logs from other install.<br>
> > > > >> - DHC<br>
> > > > >><br>
> > > > >><br>
> > > > >> On Tue, Aug 6, 2013 at 1:30 PM, Dead Horse<br>
> > > > >> < <a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a><br>
> > > > >> <mailto: deadhorseconsulting@ ** <a href="http://gmail.com" target="_blank">gmail.com</a> <<br>
> > > > >> <a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a> >>><br>
> > > > >> wrote:<br>
> > > > >><br>
> > > > >> Also I note that he login does succeed in the AD servers logs as<br>
> > > > >> well as the engine also acknowledges the same. However the login<br>
> > > > >> ends up in either the user logging in and the dialog sitting in<br>
> > > > >> space forever and/or the engine no longer enumerating the AD<br>
> > > > >> users/groups.<br>
> > > > >><br>
> > > > >> Attached are logs from another install seeing the same thing.<br>
> > > > >> -DHC<br>
> > > > >><br>
> > > > >><br>
> > > > >> On Tue, Aug 6, 2013 at 1:20 PM, Dead Horse<br>
> > > > >> < <a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a><br>
> > > > >> <mailto: deadhorseconsulting@ ** <a href="http://gmail.com" target="_blank">gmail.com</a> <<br>
> > > > >> <a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a> >>><br>
> > > > >> wrote:<br>
> > > > >><br>
> > > > >><br>
> > > > >> Seeing and issue where users are not able to log in. Also<br>
> > > > >> for some reason the engine is seemingly forgeting about AD<br>
> > > > >> users. Removing the AD domain via engine-manage-domains and<br>
> > > > >> re-adding it works for enumerating the users, however the<br>
> > > > >> first attempt to login as a user results in the engine no<br>
> > > > >> longer enumerating the users nor allowing logins.<br>
> > > > >> Attached are the pertinent logs.<br>
> > > > >><br>
> > > > >> Engine is built and running from current master as of this<br>
> > > > >> morning, and was installed/built and upgraded via RPMs<br>
> > > > >> yum/engine-upgrade<br>
> > > > >><br>
> > > > >> - DHC<br>
> > > > >><br>
> > > > >><br>
> > > > >><br>
> > > > >><br>
> > > > >><br>
> > > > >><br>
> > > > >> ______________________________**_________________<br>
> > > > >> Engine-devel mailing list<br>
> > > > >> <a href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br>
> > > > >> <a href="http://lists.ovirt.org/**mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/**mailman/listinfo/engine-devel</a> <<br>
> > > > >> <a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a> ><br>
> > > > ><br>
> > > > > thanks for reproducing with such clear steps. can you please open a<br>
> > > > > bug?<br>
> > > > > yair - can you try and reproduce as well (I tried on an older rhev<br>
> > > > > 3.2<br>
> > > > > i<br>
> > > > > have and couldn't with the IPA provider)<br>
> > ><br>
> > > _______________________________________________<br>
> > > Engine-devel mailing list<br>
> > > <a href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br>
> > > <a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><br>
> ><br>
> > _______________________________________________<br>
> > Engine-devel mailing list<br>
> > <a href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br>
> > <a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><br>
</div></div></blockquote></div><br></div>