From: "Dead Horse" <deadhorseconsulting(a)gmail.com>
To: "Alon Bar-Lev" <alonbl(a)redhat.com>
Cc: "users" <users(a)ovirt.org>, "Eli Mesika"
<emesika(a)redhat.com>
Sent: Monday, January 28, 2013 10:35:34 PM
Subject: Re: [Users] engine Failed to decrypt Data error
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.
- DHC
OK, at least it is related to the admin password.
Please send me the output of:
psql -U engine -d engine -c "select * from vdc_options where option_name in
('LocalAdminPassword', 'AdminPassword');"
Thanks!
On Mon, Jan 28, 2013 at 1:55 PM, Alon Bar-Lev < alonbl(a)redhat.com >
wrote:
----- Original Message -----
> From: "Dead Horse" < deadhorseconsulting(a)gmail.com >
> To: "Alon Bar-Lev" < alonbl(a)redhat.com >
> Cc: "users" < users(a)ovirt.org >, "Eli Mesika" <
emesika(a)redhat.com
> >
> Sent: Monday, January 28, 2013 9:46:53 PM
> Subject: Re: [Users] engine Failed to decrypt Data error
>
>
>
>
> Current running engine build --> commit:
> 61c11aecc40e755d08b6c34c6fe1c0a07fa94de8
>
> ran engine upgrade against the built rpms from that commit.
>
>
> Thus I applied it as an upgrade against prior running build -->
> commit:
> 1eb895355239bbcb7a7ceda172405f0b68f18f35
[Please use plain text mails in lists.]
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.
if (!StringHelper.isNullOrEmpty(source.trim())) {
KeyStore store = EncryptionUtils.getKeyStore(keyFile, passwd,
certType);
Key key = store.getKey(alias, passwd.toCharArray());
+ log.info ("DEBUG001 " + source);
result = decrypt(source, key);
}
>
>
>
> On Mon, Jan 28, 2013 at 1:28 PM, Alon Bar-Lev < alonbl(a)redhat.com >
> wrote:
>
>
> How do you installed the engine? you built?
> Which exact version?
>
>
> ----- Original Message -----
> > From: "Dead Horse" < deadhorseconsulting(a)gmail.com >
>
>
> > To: "Alon Bar-Lev" < alonbl(a)redhat.com >
> > Cc: "users" < users(a)ovirt.org >, "Eli Mesika" <
> > emesika(a)redhat.com
> > >
> > Sent: Monday, January 28, 2013 9:26:44 PM
> > Subject: Re: [Users] engine Failed to decrypt Data error
> >
> >
> > Password length is 11 characters and consists of Upper, Lower
> > case
> > and one special character.
> >
> >
> >
> >
> > On Mon, Jan 28, 2013 at 1:20 PM, Alon Bar-Lev < alonbl(a)redhat.com
> > >
> > wrote:
> >
> >
> > We tried to reproduce this.
> > What password do you use? is there one with some great length?
> > If not, Eli, we should send a debug patch for this.
> >
> >
> >
> > ----- Original Message -----
> > > From: "Dead Horse" < deadhorseconsulting(a)gmail.com >
> > > To: "< users(a)ovirt.org >" < users(a)ovirt.org >
> > > Sent: Monday, January 28, 2013 9:16:20 PM
> > > Subject: [Users] engine Failed to decrypt Data error
> > >
> > >
> > >
> > > I see this repeating error in the engine logs quite a bit, any
> > > ideas
> > > on what causes it?
> > >
> > >
> > > 2013-01-28 13:13:40,483 ERROR
> > > [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
> > > (QuartzScheduler_Worker-23) Failed to decrypt Data must not be
> > > longer than 256 bytes
> > > 2013-01-28 13:13:52,747 ERROR
> > > [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
> > > (QuartzScheduler_Worker-81) Failed to decrypt Data must not be
> > > longer than 256 bytes
> > > 2013-01-28 13:13:52,747 ERROR
> > > [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
> > > (QuartzScheduler_Worker-84) Failed to decrypt Blocktype
> > > mismatch:
> > > 0
> > > 2013-01-28 13:13:52,761 ERROR
> > > [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
> > > (QuartzScheduler_Worker-85) Failed to decrypt Data must start
> > > with
> > > zero
> > > 2013-01-28 13:14:00,964 ERROR
> > > [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
> > > (QuartzScheduler_Worker-23) Failed to decrypt Data must not be
> > > longer than 256 bytes
> > > 2013-01-28 13:14:00,964 ERROR
> > > [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
> > > (QuartzScheduler_Worker-20) Failed to decrypt Data must not be
> > > longer than 256 bytes
> > > 2013-01-28 13:14:02,983 ERROR
> > > [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
> > > (QuartzScheduler_Worker-29) Failed to decrypt Data must not be
> > > longer than 256 bytes
> > > 2013-01-28 13:14:02,983 ERROR
> > > [org.ovirt.engine.core.engineencryptutils.EncryptionUtils]
> > > (QuartzScheduler_Worker-34) Failed to decrypt Data must not be
> > > longer than 256 bytes
> > >
> > >
> > > - DHC
> > >
> > > _______________________________________________
> > > Users mailing list
> > > Users(a)ovirt.org
> > >
http://lists.ovirt.org/mailman/listinfo/users
> > >
> >
> >
>
>