That command fixes my issue.

Thanks before.

 

Regards,

 

Nur Imam Febrianto

 

From: Yedidyah Bar David
Sent: 05 April 2021 15:39
To: Nur Imam Febrianto
Cc: oVirt Users; Shirly Radco; Sandro Bonazzola; Martin Necas; Marcin Sobczyk
Subject: Re: [ovirt-users] Upgrading DWH from 4.4.4 to 4.4.5

 

On Thu, Mar 18, 2021 at 6:47 PM Nur Imam Febrianto <nur_imam@outlook.com> wrote:
>
> Hi,
>
>
>
> I’m currently trying to upgrade my oVirt Cluster into 4.4.5. Hosted engine upgrade work successfully. But whenever I tried upgrading DWH on separate machine it keep giving me this error : Failed to execute stage 'Misc configuration': 'OVESETUP_SYSTEM/selinuxBooleans'
>
>
>
> In engine-setup log :
>
>
>
> 2021-03-18 23:34:10,976+0700 DEBUG otopi.context context._executeMethod:145 method exception
>
> Traceback (most recent call last):
>
>   File "/usr/lib/python3.6/site-packages/otopi/context.py", line 132, in _executeMethod
>
>     method['method']()
>
>   File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine-common/apache/selinux.py", line 40, in _misc
>
>     osetupcons.SystemEnv.SELINUX_BOOLEANS
>
> KeyError: 'OVESETUP_SYSTEM/selinuxBooleans'
>
> 2021-03-18 23:34:10,977+0700 ERROR otopi.context context._executeMethod:154 Failed to execute stage 'Misc configuration': 'OVESETUP_SYSTEM/selinuxBooleans'
>
>
>
> Using CentOS 8.3 as separate DWH machine. Anybody maybe can help me ?
>
> Thanks before.

Sorry, this is looks like a bug, caused by [1]. Would you like to
report it on bugzilla?

I think a workaround is to run engine-setup like this:

# engine-setup --otopi-environment=OVESETUP_SYSTEM/selinuxBooleans=multi-str:\

The shell will prompt with '> '. Just press Enter.

Martin - seems like I was wrong when commenting on [1] that it seems harmless...

Marcin: we should probably add separate-dwh to ovirt-system-tests or
something like that.

[1] https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgerrit.ovirt.org%2Fc%2Fovirt-engine%2F%2B%2F113263&amp;data=04%7C01%7C%7C8106d01e20f14323af1d08d8f80e53ae%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637532087714496709%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=3wccneAre%2Bw9T%2B2IuqKjFim6DwOOqGYKm4JybffqdII%3D&amp;reserved=0

Sorry and best regards,
--
Didi