Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2068318

Summary: [RHV 4.4.10] HE deployment fails when applying OpenSCAP profile
Product: Red Hat Enterprise Virtualization Manager Reporter: Chetan Nagarkar <cnagarka>
Component: ovirt-hosted-engine-setupAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4.10CC: lsurette
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-25 06:33:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chetan Nagarkar 2022-03-24 22:24:16 UTC
Description of problem:

When deploying Hosted Engine using RHVH 4.4.10, deployment fails if OpenSCAP profile is applied:
~~~
DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:SEND                 Do you want to apply a default OpenSCAP security profile? (Yes, No) [No]: 
DEBUG otopi.plugins.otopi.dialog.human dialog.__logString:204 DIALOG:RECEIVE    Yes

ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:110 fatal: [localhost]: FAILED! => {"changed": false, "failures": ["No package ovirt-engine available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}
~~~

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

Red Hat Virtualization Host 4.4.10 (el8.5)
ovirt-hosted-engine-ha-2.4.10-1.el8ev.noarch
ovirt-hosted-engine-setup-2.5.4-2.el8ev.noarch
ovirt-host-4.4.9-2.el8ev.x86_64
appliance image rhvm-appliance-4.4-20211117.1.el8ev.ova

How reproducible:
Deploy HE, select Yes when prompted for OpenSCAP profile

Actual results:
Deployment fails.

Expected results:
Deployment should succeed.

Additional info:

Comment 3 Sandro Bonazzola 2022-03-25 06:33:47 UTC
We are changing the way hosted-engine is consuming the openscap profile option in the upcoming RHV 4.4 SP1.
Closing as duplicate of #2029830 as the verification of this option will be covered on the new logic.

*** This bug has been marked as a duplicate of bug 2029830 ***