----- Original Message -----
From: "Dead Horse" <deadhorseconsulting(a)gmail.com>
To: "Alon Bar-Lev" <alonbl(a)redhat.com>
Cc: "Einav Cohen" <ecohen(a)redhat.com>, "engine-devel"
<engine-devel(a)ovirt.org>
Sent: Tuesday, August 6, 2013 9:05:37 PM
Subject: Re: [Engine-devel] cannot login after re-deploying development environment
Seeing something similar to this but it pertains users not being able to
log in. Also for some reason the engine is seemingly forgets about AD
users. Removing the AD domain via engine-manage-domains and re-adding it
works for enumerating the users, however the first attempt to login as a
user results in the engine no longer enumerating the users nor allowing
logins.
Attached are the pertinent logs.
Are you using the development environment?
Engine is built and running from current master as of this morning.
- DHC
On Tue, Aug 6, 2013 at 12:46 PM, Alon Bar-Lev <alonbl(a)redhat.com> wrote:
>
>
> ----- Original Message -----
> > From: "Einav Cohen" <ecohen(a)redhat.com>
> > To: "engine-devel" <engine-devel(a)ovirt.org>
> > Sent: Tuesday, August 6, 2013 8:31:07 PM
> > Subject: [Engine-devel] cannot login after re-deploying development
> environment
> >
> > Hi,
> >
> > The following scenario already happened to me several times:
> >
> > I created a brand new 'engine' data-base, created / deployed
> > development environment [everything works correctly].
> >
> > After ^^^, I re-create/deploy development environment, this
> > time without creating a brand new 'engine' data-base (i.e. I
> > utilized the existing one). Everything seems to be working
> > correctly, only I cannot login into the web-admin (I fail on
> > USER_FAILED_TO_AUTHENTICATE CanDoAction).
> >
> > The only workaround I found is to use a brand-new data-base.
> >
> > Any ideas?
>
> If you remove $HOME/ovirt-engine you remove the pki keys.
> If you do not drop/create the database then the engine-setup is perform
> upgrade not fresh install.
> This cause the password to be undecryptable by the new key.
> Using engine-config -s AdminPassword=interactive will store encrypted
> password using the new key.
> If you want fresh install, please also drop/create database.
>
> >
> > [attached: engine.log, engine-setup output, engine-setup.log]
> >
> > Thanks in advance.
> > Einav
> >
> > _______________________________________________
> > Engine-devel mailing list
> > Engine-devel(a)ovirt.org
> >
http://lists.ovirt.org/mailman/listinfo/engine-devel
> >
> _______________________________________________
> Engine-devel mailing list
> Engine-devel(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/engine-devel
>