<div dir="ltr"><div><div>Seeing something similar to this but it pertains users not being able to log in. Also for some reason the engine is seemingly forgets about AD users. Removing the AD domain via engine-manage-domains and re-adding it works for enumerating the users, however the first attempt to login as a user results in the engine no longer enumerating the users nor allowing logins.<br>
</div>Attached are the pertinent logs.<br><br></div><div>Engine is built and running from current master as of this morning.<br></div><div><br></div> - DHC<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Aug 6, 2013 at 12:46 PM, Alon Bar-Lev <span dir="ltr"><<a href="mailto:alonbl@redhat.com" target="_blank">alonbl@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"><br>
<br>
----- Original Message -----<br>
> From: "Einav Cohen" <<a href="mailto:ecohen@redhat.com">ecohen@redhat.com</a>><br>
> To: "engine-devel" <<a href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a>><br>
> Sent: Tuesday, August 6, 2013 8:31:07 PM<br>
> Subject: [Engine-devel] cannot login after re-deploying development environment<br>
><br>
</div><div class="im">> Hi,<br>
><br>
> The following scenario already happened to me several times:<br>
><br>
> I created a brand new 'engine' data-base, created / deployed<br>
> development environment [everything works correctly].<br>
><br>
> After ^^^, I re-create/deploy development environment, this<br>
> time without creating a brand new 'engine' data-base (i.e. I<br>
> utilized the existing one). Everything seems to be working<br>
> correctly, only I cannot login into the web-admin (I fail on<br>
> USER_FAILED_TO_AUTHENTICATE CanDoAction).<br>
><br>
> The only workaround I found is to use a brand-new data-base.<br>
><br>
> Any ideas?<br>
<br>
</div>If you remove $HOME/ovirt-engine you remove the pki keys.<br>
If you do not drop/create the database then the engine-setup is perform upgrade not fresh install.<br>
This cause the password to be undecryptable by the new key.<br>
Using engine-config -s AdminPassword=interactive will store encrypted password using the new key.<br>
If you want fresh install, please also drop/create database.<br>
<div class="im HOEnZb"><br>
><br>
> [attached: engine.log, engine-setup output, engine-setup.log]<br>
><br>
> Thanks in advance.<br>
> Einav<br>
><br>
</div><div class="HOEnZb"><div class="h5">> _______________________________________________<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>