----- Original Message -----
> From: "Einav Cohen" <ecohen@redhat.com>
> To: "engine-devel" <engine-devel@ovirt.org>
> Sent: Tuesday, August 6, 2013 8:31:07 PM
> Subject: [Engine-devel] cannot login after re-deploying development environment
>
> Hi,If you remove $HOME/ovirt-engine you remove the pki keys.
>
> 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 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@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
>
_______________________________________________
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel