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

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


The initial symptom reported was similar, initially I could not log into
the admin portal (albeit with a non-devel env) however an engine restart
seemed to clean that up.
I then noticed the latter part of the issue I mentioned after the thread
grew a bit ;-)
None the less agreed a different issue, I will fire up a diff thread for it.
- DHC



On Tue, Aug 6, 2013 at 1:13 PM, Alon Bar-Lev <alonbl at redhat.com> wrote:

>
>
> ----- Original Message -----
> > From: "Dead Horse" <deadhorseconsulting at gmail.com>
> > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > Cc: "Einav Cohen" <ecohen at redhat.com>, "engine-devel" <
> engine-devel at ovirt.org>
> > Sent: Tuesday, August 6, 2013 9:11:08 PM
> > Subject: Re: [Engine-devel] cannot login after re-deploying development
> environment
> >
> > Negative, it was built and upgraded via RPMs yum/engine-upgrade.
> > - DHC
>
> So different issue... :)
>
> >
> >
> > On Tue, Aug 6, 2013 at 1:09 PM, Alon Bar-Lev <alonbl at redhat.com> wrote:
> >
> > >
> > >
> > > ----- Original Message -----
> > > > From: "Dead Horse" <deadhorseconsulting at gmail.com>
> > > > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > > > Cc: "Einav Cohen" <ecohen at redhat.com>, "engine-devel" <
> > > engine-devel at 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 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/bc224561/attachment.html>


More information about the Engine-devel mailing list