Bug 1999049 - hosted engine installation fails if locale is Greek
Summary: hosted engine installation fails if locale is Greek
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: General
Version: 2.5.3
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Yedidyah Bar David
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-30 10:26 UTC by Kosmas Mackrogamvrakis
Modified: 2022-04-11 09:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-04 10:04:47 UTC
oVirt Team: Integration
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-43164 0 None None None 2021-08-30 10:26:45 UTC

Description Kosmas Mackrogamvrakis 2021-08-30 10:26:28 UTC
Description of problem:

On fresh installation of hostedengine on a Lenovo Server with CentOS Stream 8, while the answerfile is being fed to the appliance, it fails with:
"Install selinux module /usr/share/ovirt-engine/selinux/ansible-runner-service.cil\n[ ERROR ] Failed to execute stage 'Misc configuration': Command '/usr/sbin/semanage' failed to execute"

Version-Release number of selected component (if applicable):
ovirt release 4.4

How reproducible:

Steps to Reproduce:
1. Install CentOS 8 stream with Greek locales as default
2. Start hosted engine installation
3. Hosted engine install fails

Actual results:
Hosted engine installation fails with:
"Install selinux module /usr/share/ovirt-engine/selinux/ansible-runner-service.cil\n[ ERROR ] Failed to execute stage 'Misc configuration': Command '/usr/sbin/semanage' failed to execute"

Expected results:
Engine setup complete successfully.

Additional info:

Comment 1 RHEL Program Management 2021-08-31 05:53:12 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 2 Sandro Bonazzola 2022-04-01 08:45:28 UTC
Didi, this seems to be quick to fix, running the deployment forcing LC_ALL=C. Can you please have a look?

Comment 3 Yedidyah Bar David 2022-04-04 06:23:39 UTC
Please attach the setup logs. Thanks.

Comment 4 Kosmas Mackrogamvrakis 2022-04-04 09:25:01 UTC
Sorry, it is a long time since the installation. I do not have the logs any more.
I assume it can be recreated, but I am unable to perform a new installation at the time being.

Comment 5 Yedidyah Bar David 2022-04-04 10:04:47 UTC
Very well. I am closing, for now. If this is reproducible, please reopen, with complete logs.

That said, if semanage failed, that's a bug in libsemanage, not in oVirt.

Also, it might be a duplicate of bug 1913224, but can't tell without more information.

Re Sandro's suggestion in comment 2: I'd rather not, without more details, because IMO
if something fails with a non-US locale, that's a bug, and should be fixed - not worked
around. Most likely, such a workaround would prevent getting localized error messages,
for one thing.

Thanks for the report, anyway!


Note You need to log in before you can comment on or make changes to this bug.