<div dir="ltr"> psql -U engine -d engine -c "select * from vdc_options where option_name in ('LocalAdminPassword', 'AdminPassword');"<br> option_id | option_name | <br>
<br> option_value <br> <br>
| version <br>-----------+--------------------+-----------------------------------------------<br>--------------------------------------------------------------------------------<br>
--------------------------------------------------------------------------------<br>--------------------------------------------------------------------------------<br>-----------------------------------------------------------+---------<br>
127 | LocalAdminPassword | KiG8670o1qXVX6omYsiCdaaXtQc/mGmr0qgLHqc8yykoRz<br>OwbfZzU9AxBYwYrJEwyqdq8c2ZwfGVvQ1YVIfGRspKLKogl59gBnwcQuk3al1K4Vtmr2hgWDtm5FBYd5<br>Nac4WIly4efjMCRjwrpPVkpAX55N8tGJ9LNzX8eRszQ4iVs8zivl0eu9SVhrB8tbHkA/+U5/vss26za8<br>
X+AV67dtDzoD7ZS0eOT1Vx9vrOGHvDYU8tANEb29Et79CJ0whLOOEeuwTpkK1yZdF3PaWRbnTwXZUsB1<br>hMs9NLdo2ZxZOVSIK1E2mPh1WLybgIX1YB0Ra3BZvjAR9wPZz+jdfZng== | general<br> 7 | AdminPassword | AakmoHu69RmCWkSoVXLOv0cwzwGscXaM+HJAONRtSdECEA<br>
VL+bjc1Lis6PHR1vBwdmhITxAvo2998pTJNusvtuTCODra40MTC+9p9+Oev4jWIbkncHH8gRdIKyvHuz<br>O6fNda50VXeWYhGNFIMavw15PlslutUWEpyNAasjEWyZ7cNyjKK2eFKNDZ3F5PCv9RcQXfXkKSveWm6M<br>40zUVOx1ZjCnptNUpB4VYf5vW8LOpSL5NJpfJQmu36QbBRDDo3+3XPb4ELXA4t1rbPYw9Z7hRbk5Mbtq<br>
qvOA7q4+G4nPtxHB7d6dYT2QJ58wgXUSIIoz/odvz5yVYeazIFS3Faww== | general<br>(2 rows)<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 28, 2013 at 2:38 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">----- 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 10:35:34 PM<br>
> Subject: Re: [Users] engine Failed to decrypt Data error<br>
><br>
><br>
><br>
</div><div class="im">> was in the middle of a fresh engine setup which did not exhibit the<br>
> symptom. However after running: "engine-config -s<br>
> AdminPassword=interactive" and restarting the engine service on the<br>
> clean setup the error message now shows up.<br>
><br>
> - DHC<br>
><br>
><br>
><br>
<br>
</div>OK, at least it is related to the admin password.<br>
<br>
Please send me the output of:<br>
<br>
psql -U engine -d engine -c "select * from vdc_options where option_name in ('LocalAdminPassword', 'AdminPassword');"<br>
<br>
<br>
Thanks!<br>
<div class="im">><br>
> On Mon, Jan 28, 2013 at 1:55 PM, Alon Bar-Lev < <a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a> ><br>
> wrote:<br>
><br>
><br>
><br>
><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>
> > ><br>
><br>
> > Sent: Monday, January 28, 2013 9:46:53 PM<br>
> > Subject: Re: [Users] engine Failed to decrypt Data error<br>
> ><br>
> ><br>
> ><br>
> ><br>
><br>
> > 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>
> [Please use plain text mails in lists.]<br>
><br>
><br>
> Can you please patch EncryptionUtils.decrypt() with the following, so<br>
> I can see what source is? source is encrypted blob, should not be a<br>
> problem to send it.<br>
><br>
> if (!StringHelper.isNullOrEmpty(source.trim())) {<br>
> KeyStore store = EncryptionUtils.getKeyStore(keyFile, passwd,<br>
> certType);<br>
> Key key = store.getKey(alias, passwd.toCharArray());<br>
</div>> + <a href="http://log.info" target="_blank">log.info</a> ("DEBUG001 " + source);<br>
<div class="HOEnZb"><div class="h5">> result = decrypt(source, key);<br>
><br>
><br>
> }<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" <<br>
> > > <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<br>
> > > 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>
> > > ><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<br>
> > > > 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>
><br>
><br>
</div></div></blockquote></div><br></div></div>