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