Bug 1946502
| Summary: | engine-setup on a separate {dwh, websocket-proxy, grafana) machine fails | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Yedidyah Bar David <didi> |
| Component: | Setup.EngineCommon | Assignee: | Yedidyah Bar David <didi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Guilherme Santos <gdeolive> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.4.5 | CC: | bugs, dfodor, gdeolive, mjurasek |
| Target Milestone: | ovirt-4.4.6 | Keywords: | Regression, ZStream |
| Target Release: | 4.4.6.3 | Flags: | pm-rhel:
ovirt-4.4+
mjurasek: blocker- sbonazzo: devel_ack+ gdeolive: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-engine-4.4.6.3 | Doc Type: | Bug Fix |
| Doc Text: |
In 4.4.5, engine-setup when ran on a separate machine (not the engine machine, e.g. separate DWH or websocket-proxy), failed with "KeyError: 'OVESETUP_SYSTEM/selinuxBooleans'". With this version, it no longer fails.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-05-06 12:14:10 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP. Verified on: ovirt-engine-setup-plugin-ovirt-engine-common-4.4.6.6-0.10.el8ev.noarch Steps: description's Results: engine-setup succeeds as expected This bugzilla is included in oVirt 4.4.6 release, published on May 4th 2021. Since the problem described in this bug report should be resolved in oVirt 4.4.6 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. |
Description of problem: On a machine not having the package ovirt-engine-setup-plugin-ovirt-engine installed, engine-setup fails with: =========================================================================== 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' =========================================================================== This was reported on [1] by Nur Imam Febrianto. Thanks for the report. It was caused by the patch for bug 1903052. I think either of these workarounds should work, didn't test them: 1. engine-setup --otopi-environment=OVESETUP_SYSTEM/selinuxBooleans=multi-str:\ The shell will prompt with '> '. Just press Enter. 2. Install the package ovirt-engine-setup-plugin-ovirt-engine. Run engine-setup. If/when prompted, asking "Configure Engine on this host (Yes, No) [Yes]:', reply 'No'. [1] https://lists.ovirt.org/archives/list/users@ovirt.org/thread/5RRBUIFJHJ4MJKYC2GQRMHACHEHIAWAF/ Version-Release number of selected component (if applicable): 4.4.5 How reproducible: I think always, didn't try myself Steps to Reproduce: 1. Install ovirt-engine-setup-plugin-ovirt-engine-common, plus whatever other setup packages needed/wanted, but do not install ovirt-engine-setup-plugin-ovirt-engine 2. Run engine-setup 3. Actual results: Fails as above Expected results: Succeeds Additional info: