Bug 1891018

Summary: Insatisfactible dependencies between ovirt-hosted-engine-setup and ansible on RHV 4.4.2
Product: Red Hat Enterprise Virtualization Manager Reporter: Vinícius Ferrão <vinicius>
Component: ovirt-hosted-engine-setupAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4.2CC: ahadas, lsurette
Target Milestone: ovirt-4.4.3   
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-10-23 15:06:37 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:

Description Vinícius Ferrão 2020-10-23 14:45:47 UTC
Description of problem:
We can't install/run RHV nodes properly due to missing dependencies with ansible and ovirt-hosted-engine-setup:

[root@rhvepyc3 ~]# dnf update
Updating Subscription Management repositories.
Last metadata expiration check: 0:11:30 ago on Thu 22 Oct 2020 07:28:23 PM -03.
Error: 
 Problem: package ovirt-hosted-engine-setup-2.4.6-2.el8ev.noarch requires ansible = 2.9.13, but none of the providers can be installed
  - cannot install both ansible-2.9.14-1.el8ae.noarch and ansible-2.9.13-1.el8ae.noarch
  - cannot install the best update candidate for package ovirt-hosted-engine-setup-2.4.6-2.el8ev.noarch
  - cannot install the best update candidate for package ansible-2.9.13-1.el8ae.noarch
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

On already installed machines the hosts continue to work, but they are unable to update. This does not affect RHVH images, only RHV on RHEL.

Version-Release number of selected component (if applicable):
RHV 4.4.2
ovirt-hosted-engine-setup-2.4.6-2.el8ev.noarch
ansible-2.9.14-1.el8ae.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install RHEL 8.2
2. Add the proper subscriptions accordingly to documentation
3. Install ovirt-host
4. Break dnf

Actual results:
dnf always complaining about broken dependencies and the inability to run oVirt commands:

[root@rhvepyc3 ~]# vdsm-client Host getCapabilities
vdsm-client: Connection to localhost:54321 with use_tls=True, timeout=60 failed: [Errno 2] No such file or directory

Expected results:
Working hypervisor server

Additional info:
[root@rhvepyc3 ~]# dnf repolist
Updating Subscription Management repositories.
repo id                                 repo name
advanced-virt-for-rhel-8-x86_64-rpms    Advanced Virtualization for RHEL 8 x86_64 (RPMs)
ansible-2.9-for-rhel-8-x86_64-rpms      Red Hat Ansible Engine 2.9 for RHEL 8 x86_64 (RPMs)
fast-datapath-for-rhel-8-x86_64-rpms    Fast Datapath for RHEL 8 x86_64 (RPMs)
rhel-8-for-x86_64-appstream-rpms        Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
rhel-8-for-x86_64-baseos-rpms           Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
rhv-4-mgmt-agent-for-rhel-8-x86_64-rpms Red Hat Virtualization 4 Management Agents for RHEL 8 x86_64 (RPMs)

Comment 1 Sandro Bonazzola 2020-10-23 15:06:37 UTC
this is being handled in bug #1888628

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

Comment 2 Vinícius Ferrão 2020-10-23 15:15:44 UTC
Thanks Sandro. I really tried the search button instead of just opening the issue, and it returned nothing. Sorry for the duplicate.