Bug 1948429

Summary: Dependance issues occur when installing ovirt-hosted-engine-setup with RHEL8.4-host.
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Wei Wang <weiwang>
Component: GeneralAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED CURRENTRELEASE QA Contact: Wei Wang <weiwang>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.4.9CC: bugs, cshao, mavital, nlevy, peyu, sbonazzo, shlei, stirabos, weiwang, yaniwang
Target Milestone: ovirt-4.4.6Keywords: Documentation
Target Release: 2.5.0Flags: cshao: testing_ack?
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: 2021-05-05 05:36:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1921845    
Attachments:
Description Flags
issue log files none

Description Wei Wang 2021-04-12 07:25:21 UTC
Created attachment 1771304 [details]
issue log files

Description of problem:
Dependance issues occur when installing ovirt-hosted-engine-setup with RHEL8.4-host.

[root@hp-dl388g9-04 ~]# yum install -y ovirt-hosted-engine-setup
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Last metadata expiration check: 1:01:09 ago on Mon 12 Apr 2021 02:05:34 PM CST.
Error: 
 Problem: cannot install the best candidate for the job
  - nothing provides python3 needed by ovirt-hosted-engine-setup-2.4.9-1.el8.noarch
  - nothing provides genisoimage needed by ovirt-hosted-engine-setup-2.4.9-1.el8.noarch
  - nothing provides python3-netaddr needed by ovirt-hosted-engine-setup-2.4.9-1.el8.noarch
  - nothing provides virt-install needed by ovirt-hosted-engine-setup-2.4.9-1.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


Version-Release number of selected component (if applicable):
RHEL-8.4.0-20210309.1-x86_64-dvd1.iso

How reproducible:
100%

Steps to Reproduce:
1. Install RHEL 8 server host
2. Enable ovirt repos
   # yum install -y https://resources.ovirt.org/pub/yum-repo/ovirt-release44-pre.rp
3. Install ovirt-engine-appliance
   # yum install -y ovirt-engine-appliance
4. yum install -y ovirt-hosted-engine-setup


Actual results:
Dependance issues occur when installing ovirt-hosted-engine-setup with RHEL8.4-host.

Expected results:
Package ovirt-hosted-engine-setup can be installed with RHEL8.4-host successfully.

Additional info:

Comment 1 Asaf Rachmani 2021-04-12 12:53:31 UTC
I think this is because you are trying to install the upstream package on Rhel without having the Rhel repos.
Can you please update the Rhel repos and try again?

Comment 2 Wei Wang 2021-04-13 05:36:46 UTC
(In reply to Asaf Rachmani from comment #1)
> I think this is because you are trying to install the upstream package on
> Rhel without having the Rhel repos.
> Can you please update the Rhel repos and try again?

After create local rhel8.4 repos, try to install ovirt-hosted-engine-setup, the same issue occurs.

Comment 3 Sandro Bonazzola 2021-04-13 06:24:15 UTC
Please ensure repositories are enabled, as per https://ovirt.org/download/

# RHEL only -- they are enabled by default on CentOS and oVirt Node
sudo subscription-manager repos --enable="rhel-8-for-x86_64-baseos-rpms"
sudo subscription-manager repos --enable="rhel-8-for-x86_64-appstream-rpms"
sudo subscription-manager repos --enable="ansible-2-for-rhel-8-x86_64-rpms"

If you still have dependencies issues please let me know.

Comment 4 Wei Wang 2021-04-13 07:15:21 UTC
(In reply to Sandro Bonazzola from comment #3)
> Please ensure repositories are enabled, as per https://ovirt.org/download/
> 
> # RHEL only -- they are enabled by default on CentOS and oVirt Node
> sudo subscription-manager repos --enable="rhel-8-for-x86_64-baseos-rpms"
> sudo subscription-manager repos --enable="rhel-8-for-x86_64-appstream-rpms"
> sudo subscription-manager repos --enable="ansible-2-for-rhel-8-x86_64-rpms"
> 
> If you still have dependencies issues please let me know.

Need to --enable=rhel-8-for-x86_64-appstream-beta-rpms additionally. Now the installation is successful.

Comment 5 Sandro Bonazzola 2021-04-13 08:51:41 UTC
Added a note on download page for RHEL beta.

Comment 6 Wei Wang 2021-04-16 09:48:55 UTC
Test with upstream document in https://ovirt.org/download/

# RHEL beta releases only
sudo subscription-manager repos --enable="rhel-8-for-x86_64-baseos-beta-rpms"
sudo subscription-manager repos --enable="rhel-8-for-x86_64-appstream-beta-rpms"

bug is fixed, move it to "VERIFIED"

Comment 7 Sandro Bonazzola 2021-05-05 05:36:32 UTC
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.