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