[ovirt-devel] Missing 11-setup-sso.conf after Engine build

Martin Perina mperina at redhat.com
Tue Oct 18 07:12:02 UTC 2016


On Tue, Oct 18, 2016 at 8:52 AM, Sandro Bonazzola <sbonazzo at redhat.com>
wrote:

>
>
> On Mon, Oct 17, 2016 at 5:16 PM, Vojtech Szocs <vszocs at 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 at 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.

​


>
>> 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 at 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 at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20161018/a41ddac4/attachment-0001.html>


More information about the Devel mailing list