<div dir="ltr"><div>was in the middle of a fresh engine setup which did not exhibit the symptom. However after running: &quot;engine-config -s AdminPassword=interactive&quot; and restarting the engine service on the clean setup the error message now shows up.<br>
<br></div>- DHC<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 28, 2013 at 1:55 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;users&quot; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;, &quot;Eli Mesika&quot; &lt;<a href="mailto:emesika@redhat.com">emesika@redhat.com</a>&gt;<br>
</div><div class="im">&gt; Sent: Monday, January 28, 2013 9:46:53 PM<br>
&gt; Subject: Re: [Users] engine Failed to decrypt Data error<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div><div class="im">&gt; Current running engine build --&gt; commit:<br>
&gt; 61c11aecc40e755d08b6c34c6fe1c0a07fa94de8<br>
&gt;<br>
&gt; ran engine upgrade against the built rpms from that commit.<br>
&gt;<br>
&gt;<br>
&gt; Thus I applied it as an upgrade against prior running build --&gt;<br>
&gt; commit:<br>
&gt; 1eb895355239bbcb7a7ceda172405f0b68f18f35<br>
<br>
</div>[Please use plain text mails in lists.]<br>
<br>
<br>
Can you please patch EncryptionUtils.decrypt() with the following, so I can see what source is? source is encrypted blob, should not be a problem to send it.<br>
<br>
             if (!StringHelper.isNullOrEmpty(source.trim())) {<br>
                 KeyStore store = EncryptionUtils.getKeyStore(keyFile, passwd, certType);<br>
                 Key key = store.getKey(alias, passwd.toCharArray());<br>
+                <a href="http://log.info" target="_blank">log.info</a>(&quot;DEBUG001 &quot; + source);<br>
                 result = decrypt(source, key);<br>
<div class="HOEnZb"><div class="h5">             }<br>
<br>
<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Jan 28, 2013 at 1:28 PM, Alon Bar-Lev &lt; <a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a> &gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; How do you installed the engine? you built?<br>
&gt; Which exact version?<br>
&gt;<br>
&gt;<br>
&gt; ----- Original Message -----<br>
&gt; &gt; From: &quot;Dead Horse&quot; &lt; <a href="mailto:deadhorseconsulting@gmail.com">deadhorseconsulting@gmail.com</a> &gt;<br>
&gt;<br>
&gt;<br>
&gt; &gt; To: &quot;Alon Bar-Lev&quot; &lt; <a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a> &gt;<br>
&gt; &gt; Cc: &quot;users&quot; &lt; <a href="mailto:users@ovirt.org">users@ovirt.org</a> &gt;, &quot;Eli Mesika&quot; &lt; <a href="mailto:emesika@redhat.com">emesika@redhat.com</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; Sent: Monday, January 28, 2013 9:26:44 PM<br>
&gt; &gt; Subject: Re: [Users] engine Failed to decrypt Data error<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Password length is 11 characters and consists of Upper, Lower case<br>
&gt; &gt; and one special character.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Mon, Jan 28, 2013 at 1:20 PM, Alon Bar-Lev &lt; <a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a> &gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; We tried to reproduce this.<br>
&gt; &gt; What password do you use? is there one with some great length?<br>
&gt; &gt; If not, Eli, we should send a debug patch for this.<br>
&gt; &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;&lt; <a href="mailto:users@ovirt.org">users@ovirt.org</a> &gt;&quot; &lt; <a href="mailto:users@ovirt.org">users@ovirt.org</a> &gt;<br>
&gt; &gt; &gt; Sent: Monday, January 28, 2013 9:16:20 PM<br>
&gt; &gt; &gt; Subject: [Users] engine Failed to decrypt Data error<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I see this repeating error in the engine logs quite a bit, any<br>
&gt; &gt; &gt; ideas<br>
&gt; &gt; &gt; on what causes it?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; 2013-01-28 13:13:40,483 ERROR<br>
&gt; &gt; &gt; [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]<br>
&gt; &gt; &gt; (QuartzScheduler_Worker-23) Failed to decrypt Data must not be<br>
&gt; &gt; &gt; longer than 256 bytes<br>
&gt; &gt; &gt; 2013-01-28 13:13:52,747 ERROR<br>
&gt; &gt; &gt; [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]<br>
&gt; &gt; &gt; (QuartzScheduler_Worker-81) Failed to decrypt Data must not be<br>
&gt; &gt; &gt; longer than 256 bytes<br>
&gt; &gt; &gt; 2013-01-28 13:13:52,747 ERROR<br>
&gt; &gt; &gt; [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]<br>
&gt; &gt; &gt; (QuartzScheduler_Worker-84) Failed to decrypt Blocktype mismatch:<br>
&gt; &gt; &gt; 0<br>
&gt; &gt; &gt; 2013-01-28 13:13:52,761 ERROR<br>
&gt; &gt; &gt; [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]<br>
&gt; &gt; &gt; (QuartzScheduler_Worker-85) Failed to decrypt Data must start<br>
&gt; &gt; &gt; with<br>
&gt; &gt; &gt; zero<br>
&gt; &gt; &gt; 2013-01-28 13:14:00,964 ERROR<br>
&gt; &gt; &gt; [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]<br>
&gt; &gt; &gt; (QuartzScheduler_Worker-23) Failed to decrypt Data must not be<br>
&gt; &gt; &gt; longer than 256 bytes<br>
&gt; &gt; &gt; 2013-01-28 13:14:00,964 ERROR<br>
&gt; &gt; &gt; [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]<br>
&gt; &gt; &gt; (QuartzScheduler_Worker-20) Failed to decrypt Data must not be<br>
&gt; &gt; &gt; longer than 256 bytes<br>
&gt; &gt; &gt; 2013-01-28 13:14:02,983 ERROR<br>
&gt; &gt; &gt; [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]<br>
&gt; &gt; &gt; (QuartzScheduler_Worker-29) Failed to decrypt Data must not be<br>
&gt; &gt; &gt; longer than 256 bytes<br>
&gt; &gt; &gt; 2013-01-28 13:14:02,983 ERROR<br>
&gt; &gt; &gt; [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]<br>
&gt; &gt; &gt; (QuartzScheduler_Worker-34) Failed to decrypt Data must not be<br>
&gt; &gt; &gt; longer than 256 bytes<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; - DHC<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; Users mailing list<br>
&gt; &gt; &gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; &gt; &gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>