Description of problem: Setting up dwh on a separate machine fails with: [ ERROR ] Failed to execute stage 'Misc configuration': [Errno 2] No such file or directory: '/usr/share/ovirt-engine/selinux' setup log has: 2020-02-10 11:28:49,782+0200 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-common/base/system/selinux.py", line 89, in _misc for f in listdir(selinux_dir): FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/ovirt-engine/selinux' 2020-02-10 11:28:49,785+0200 ERROR otopi.context context._executeMethod:154 Failed to execute stage 'Misc configuration': [Errno 2] No such file or directory: '/usr/share/ovirt-engine/selinux' This is because /usr/share/ovirt-engine/selinux is packaged in 'ovirt-engine'. It should be in setup-base or setup-engine-common. Version-Release number of selected component (if applicable): Current master How reproducible: Always Steps to Reproduce: 1. Install and setup an engine on machine A 2. Install dwh on machine B 3. Run engine-setup on B Actual results: Fails Expected results: Succeeds Additional info:
This does not affect 4.3, it was introduced by patches for ansible-runner (for bug 1759143).
Verified on: ovirt-engine-setup-base-4.4.0-0.25.master.el8ev.noarch ovirt-engine-dwh-4.4.0-1.el8ev.noarch Steps: 1. Install and setup an engine on machine A 2. On machine B, install ovirt-engine-dwh-setup 3. # ll -d /usr/share/ovirt-engine/selinux 4. engine-setup on machine B Results: - Directory present - Setup finish successfully
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.