[Engine-devel] cannot login after re-deploying development environment

Dead Horse deadhorseconsulting at gmail.com
Tue Aug 6 18:05:37 UTC 2013


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.

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 at redhat.com> wrote:

>
>
> ----- Original Message -----
> > From: "Einav Cohen" <ecohen at redhat.com>
> > To: "engine-devel" <engine-devel at 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 at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/engine-devel
> >
> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/engine-devel/attachments/20130806/2be54faa/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: engine.log
Type: application/octet-stream
Size: 183127 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/engine-devel/attachments/20130806/2be54faa/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: engine-manage-domains.log
Type: application/octet-stream
Size: 20542 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/engine-devel/attachments/20130806/2be54faa/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: server.log
Type: application/octet-stream
Size: 68700 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/engine-devel/attachments/20130806/2be54faa/attachment-0002.obj>


More information about the Engine-devel mailing list