Bug 1871450

Summary: Failed to deploy HE 4.4 with "Failed to install some of the specified packages", "rc": 1, "results".
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Nikolai Sednev <nsednev>
Component: GeneralAssignee: Asaf Rachmani <arachman>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.4.6CC: bugs, stirabos
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-23 21:30:01 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:
Attachments:
Description Flags
sosreport from alma07 none

Description Nikolai Sednev 2020-08-23 17:00:02 UTC
Created attachment 1712267 [details]
sosreport from alma07

Description of problem:
Failed to deploy HE with OpenSCAP security profile option set to "yes". 
"Do you want to apply a default OpenSCAP security profile (Yes, No) [No]: yes"

2020-08-23 19:39:09,973+0300 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 fat
al: [localhost -> nsednev-he-1.qa.lab.tlv.redhat.com]: FAILED! => {"changed": false, "failures": ["No package ovirt-en
gine available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}

nMight be related to:
2020-08-23 19:39:35,143+0300 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:105 ign
ored: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'local_v
m_disk_path' is undefined\n\nThe error appears to be in '/usr/share/ansible/roles/ovirt.hosted_engine_setup/tasks/clea
n_local_storage_pools.yml': line 16, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem
.\n\nThe offending line appears to be:\n\n    changed_when: true\n  - name: Destroy local storage-pool {{ local_vm_dis
k_path.split('/')[5] }}\n    ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing quo
tes. Always quote template expression brackets when they\nstart a value. For instance:\n\n    with_items:\n      - {{ 
foo }}\n\nShould be written as:\n\n    with_items:\n      - \"{{ foo }}\"\n"}
nn


Version-Release number of selected component (if applicable):
ovirt-hosted-engine-setup-2.4.6-1.el8ev.noarch
ovirt-hosted-engine-ha-2.4.4-1.el8ev.noarch
rhvm-appliance-4.4-20200722.0.el8ev.x86_64
Linux 4.18.0-193.14.3.el8_2.x86_64 #1 SMP Mon Jul 20 15:02:29 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux release 8.2 (Ootpa)

How reproducible:
100%

Steps to Reproduce:
1.Deploy HE using OpenSCAP option.

Actual results:
Deployment fails with an error.

Expected results:
Deployment should succeed.

Additional info:
Sosreport from host attached.

Comment 1 Nikolai Sednev 2020-08-23 17:01:36 UTC
See also http://pastebin.test.redhat.com/895793 for deployment history.
Host was clean with just installed packages.

Comment 2 Nikolai Sednev 2020-08-23 17:53:23 UTC
vdsm-4.40.26-1.el8ev.x86_64
The issue doesn't happen with disabled OpenSCAP option during deployment of HE.

Comment 3 Asaf Rachmani 2020-08-23 21:30:01 UTC

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