----- Original Message -----
> From: "Martin Perina" <mper...@redhat.com>
> To: "Sandro Bonazzola" <sbona...@redhat.com>
> Cc: "Vojtech Szocs" <vsz...@redhat.com>, "devel" <devel@ovirt.org>
> Sent: Tuesday, October 18, 2016 9:12:02 AM
> Subject: Re: [ovirt-devel] Missing 11-setup-sso.conf after Engine build
> 
> On Tue, Oct 18, 2016 at 8:52 AM, Sandro Bonazzola <sbona...@redhat.com>
> wrote:
> 
> >
> >
> > On Mon, Oct 17, 2016 at 5:16 PM, Vojtech Szocs <vsz...@redhat.com> wrote:
> >
> >> Hello,
> >>
> >> I'm using latest master with some UI patches on top of it.
> >>
> >> Engine builds OK, however engine-setup does not ask for admin@internal
> >> password.
> >>
> >
> > Please note that engine-setup is not asking questions you already answered
> > in a previous run (answers stored in the post install file).
> > Looks like you've been able to set password to None:
> > 2016-10-17 17:02:26 DEBUG otopi.context context.dumpEnvironment:770 ENV
> > OVESETUP_CONFIG/adminPassword=NoneType:'None'
> >
> >
> >
> >
> >
> >> In $PREFIX/etc/ovirt-engine/engine.conf.d, there is no 11-setup-sso.conf
> >> file.
> >>
> >
> ​11-setup-sso.conf file is created only during installation (first
> execution of engine-setup with empty db). If it was not created, it means
> that you cleared your prefix (by removing existing configuration files),
> but you db is not empty and contains old data. Be aware that configuration
> files in your prefix and bound to db content, if you clear config files,
> you should also clear db content, easiest was is to execute engine-cleanup.

Thank you Sandro & Martin for your responses!

Martin was right, I've cleared my $PREFIX, then rebuilt Engine
and executed engine-setup, but DB wasn't empty. My bad, sorry.

> 
> ​
> 
> 
> >
> >> AFAIK, this should be done by aaa-jdbc extension, is that correct?
> >>
> >
> ​No, 11-setup-sso.conf is part of new SSO feature of 4.0, it's not related
> to aaa-jdbc.
> ​
> 
> 
> >
> >> (Am I missing something?)
> >>
> >> Here is how I build Engine:
> >>
> >>   engine_userAgent='gecko1_8,safari'
> >>   engine_draftCompile=1
> >>   engine_buildUserPortal=0
> >>   engine_buildWebAdmin=1
> >>   engine_runTests=1
> >>   engine_gwtLogLevel='INFO'
> >>   engine_gwtLocale='en_US'
> >>   engine_gwtSuperDev=0
> >>   engine_jbossHome=/usr/share/ovirt-engine-wildfly
> >>
> >>   make clean install-dev PREFIX="$PREFIX" \
> >>     JBOSS_HOME="$engine_jbossHome" \
> >>     DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.userAgent=$engine_userAgent"
> >> \
> >>     DEV_EXTRA_BUILD_FLAGS="-Dgwt.logLevel=$engine_gwtLogLevel
> >> -Dgwt.locale=$engine_gwtLocale -Dgwt.compiler.localWorkers=1" \
> >>     DEV_BUILD_GWT_DRAFT=$engine_draftCompile \
> >>     DEV_BUILD_GWT_SUPER_DEV_MODE=$engine_gwtSuperDev \
> >>     BUILD_GWT_USERPORTAL=$engine_buildUserPortal \
> >>     BUILD_GWT_WEBADMIN=$engine_buildWebAdmin \
> >>     BUILD_UT=$engine_runTests
> >>
> >> Attaching engine-setup log file.
> >>
> >> Thanks,
> >> Vojtech
> >>
> >> _______________________________________________
> >> Devel mailing list
> >> Devel@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/devel
> >>
> >
> >
> >
> > --
> > Sandro Bonazzola
> > Better technology. Faster innovation. Powered by community collaboration.
> > See how it works at redhat.com
> > <https://www.redhat.com/it/about/events/red-hat-open-source-day-2016>
> >
> > _______________________________________________
> > Devel mailing list
> > Devel@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/devel
> >
> 
_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Reply via email to