<div dir="ltr"><div>The initial symptom reported was similar, initially I could not log into the admin portal (albeit with a non-devel env) however an engine restart seemed to clean that up.<br></div><div>I then noticed the latter part of the issue I mentioned after the thread grew a bit ;-)<br>
</div><div>None the less agreed a different issue, I will fire up a diff thread for it.<br></div><div>- DHC<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 6, 2013 at 1:13 PM, Alon Bar-Lev <span dir="ltr">&lt;<a href="mailto:alonbl@redhat.com" target="_blank">alonbl@redhat.com</a>&gt;</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>
&gt; From: &quot;Dead Horse&quot; &lt;<a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a>&gt;<br>
&gt; To: &quot;Alon Bar-Lev&quot; &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt;<br>
&gt; Cc: &quot;Einav Cohen&quot; &lt;<a href="mailto:ecohen@redhat.com">ecohen@redhat.com</a>&gt;, &quot;engine-devel&quot; &lt;<a href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a>&gt;<br>
</div><div class="im">&gt; Sent: Tuesday, August 6, 2013 9:11:08 PM<br>
&gt; Subject: Re: [Engine-devel] cannot login after re-deploying development environment<br>
&gt;<br>
</div><div class="im">&gt; Negative, it was built and upgraded via RPMs yum/engine-upgrade.<br>
&gt; - DHC<br>
<br>
</div>So different issue... :)<br>
<div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt;<br>
&gt; On Tue, Aug 6, 2013 at 1:09 PM, Alon Bar-Lev &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; ----- Original Message -----<br>
&gt; &gt; &gt; From: &quot;Dead Horse&quot; &lt;<a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a>&gt;<br>
&gt; &gt; &gt; To: &quot;Alon Bar-Lev&quot; &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt;<br>
&gt; &gt; &gt; Cc: &quot;Einav Cohen&quot; &lt;<a href="mailto:ecohen@redhat.com">ecohen@redhat.com</a>&gt;, &quot;engine-devel&quot; &lt;<br>
&gt; &gt; <a href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a>&gt;<br>
&gt; &gt; &gt; Sent: Tuesday, August 6, 2013 9:05:37 PM<br>
&gt; &gt; &gt; Subject: Re: [Engine-devel] cannot login after re-deploying development<br>
&gt; &gt; environment<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Seeing something similar to this but it pertains users not being able to<br>
&gt; &gt; &gt; log in. Also for some reason the engine is seemingly forgets about AD<br>
&gt; &gt; &gt; users. Removing the AD domain via engine-manage-domains and re-adding it<br>
&gt; &gt; &gt; works for enumerating the users, however the first attempt to login as a<br>
&gt; &gt; &gt; user results in the engine no longer enumerating the users nor allowing<br>
&gt; &gt; &gt; logins.<br>
&gt; &gt; &gt; Attached are the pertinent logs.<br>
&gt; &gt;<br>
&gt; &gt; Are you using the development environment?<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Engine is built and running from current master as of this morning.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;  - DHC<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Tue, Aug 6, 2013 at 12:46 PM, Alon Bar-Lev &lt;<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>&gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; ----- Original Message -----<br>
&gt; &gt; &gt; &gt; &gt; From: &quot;Einav Cohen&quot; &lt;<a href="mailto:ecohen@redhat.com">ecohen@redhat.com</a>&gt;<br>
&gt; &gt; &gt; &gt; &gt; To: &quot;engine-devel&quot; &lt;<a href="mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a>&gt;<br>
&gt; &gt; &gt; &gt; &gt; Sent: Tuesday, August 6, 2013 8:31:07 PM<br>
&gt; &gt; &gt; &gt; &gt; Subject: [Engine-devel] cannot login after re-deploying development<br>
&gt; &gt; &gt; &gt; environment<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Hi,<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; The following scenario already happened to me several times:<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I created a brand new &#39;engine&#39; data-base, created / deployed<br>
&gt; &gt; &gt; &gt; &gt; development environment [everything works correctly].<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; After ^^^, I re-create/deploy development environment, this<br>
&gt; &gt; &gt; &gt; &gt; time without creating a brand new &#39;engine&#39; data-base (i.e. I<br>
&gt; &gt; &gt; &gt; &gt; utilized the existing one). Everything seems to be working<br>
&gt; &gt; &gt; &gt; &gt; correctly, only I cannot login into the web-admin (I fail on<br>
&gt; &gt; &gt; &gt; &gt; USER_FAILED_TO_AUTHENTICATE CanDoAction).<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; The only workaround I found is to use a brand-new data-base.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Any ideas?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; If you remove $HOME/ovirt-engine you remove the pki keys.<br>
&gt; &gt; &gt; &gt; If you do not drop/create the database then the engine-setup is perform<br>
&gt; &gt; &gt; &gt; upgrade not fresh install.<br>
&gt; &gt; &gt; &gt; This cause the password to be undecryptable by the new key.<br>
&gt; &gt; &gt; &gt; Using engine-config -s AdminPassword=interactive will store encrypted<br>
&gt; &gt; &gt; &gt; password using the new key.<br>
&gt; &gt; &gt; &gt; If you want fresh install, please also drop/create database.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; [attached: engine.log, engine-setup output, engine-setup.log]<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Thanks in advance.<br>
&gt; &gt; &gt; &gt; &gt; Einav<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; &gt; Engine-devel mailing list<br>
&gt; &gt; &gt; &gt; &gt; <a href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br>
&gt; &gt; &gt; &gt; &gt; <a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; Engine-devel mailing list<br>
&gt; &gt; &gt; &gt; <a href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br>
&gt; &gt; &gt; &gt; <a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>