Bug 1948429 - Dependance issues occur when installing ovirt-hosted-engine-setup with RHEL8.4-host.
Summary: Dependance issues occur when installing ovirt-hosted-engine-setup with RHEL8....
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: General
Version: 2.4.9
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.4.6
: 2.5.0
Assignee: Sandro Bonazzola
QA Contact: Wei Wang
URL:
Whiteboard:
Depends On:
Blocks: 1921845
TreeView+ depends on / blocked
 
Reported: 2021-04-12 07:25 UTC by Wei Wang
Modified: 2021-05-05 05:36 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-05 05:36:32 UTC
oVirt Team: Node
Embargoed:
cshao: testing_ack?


Attachments (Terms of Use)
issue log files (1.42 MB, application/gzip)
2021-04-12 07:25 UTC, Wei Wang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-site pull 2465 0 None open RHEL: add note for RHEL beta repos 2021-04-13 08:51:40 UTC

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.


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