Bug 1920407

Summary: yum update on RHV Manager causes ansible conflict
Product: Red Hat Enterprise Virtualization Manager Reporter: Ulhas Surse <usurse>
Component: ovirt-engineAssignee: Martin Perina <mperina>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4.3CC: aefrat, michal.skrivanek, pagranat
Target Milestone: ovirt-4.4.5   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-27 11:18:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ulhas Surse 2021-01-26 09:28:20 UTC
Description of problem:
- After doing dnf distro-sync, upgrading RHVM server will conflict with following error:

~~~
# yum update
Updating Subscription Management repositories.
Last metadata expiration check: 0:00:15 ago on Tue 26 Jan 2021 02:51:38 PM IST.
Dependencies resolved.

 Problem: package ovirt-engine-4.4.3.12-0.1.el8ev.noarch requires ansible = 2.9.14, but none of the providers can be installed
  - cannot install both ansible-2.9.17-1.el8ae.noarch and ansible-2.9.14-1.el8ae.noarch
  - cannot install the best update candidate for package ovirt-engine-4.4.3.12-0.1.el8ev.noarch
  - cannot install the best update candidate for package ansible-2.9.14-1.el8ae.noarch
========================================================================================================================================================================
 Package                                          Architecture                                    Version                                                   Repository                                                                   Size
========================================================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 ansible                                          noarch                                          2.9.17-1.el8ae                                            ansible-2.9-for-rhel-8-x86_64-rpms                                           17 M

Transaction Summary
==========================================================================================================================================================================
Skip  1 Package

Nothing to do.
Complete!

~~~

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

How reproducible:
Always

Steps to Reproduce:
1. dnf distro-sync
2. yum update
3.

Actual results:

 Problem: package ovirt-engine-4.4.3.12-0.1.el8ev.noarch requires ansible = 2.9.14, but none of the providers can be installed

Expected results:

 Need to fix the error

Additional info:

- In /etc/yum.conf following line helps to avoid the error:

 #exclude=ansible-2.9.17,ansible-2.9.15,ansible-2.9.16

Comment 2 Sandro Bonazzola 2021-01-27 06:39:02 UTC
This is covered by RHV 4.4 upgrade documentation: https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html/upgrade_guide/updating_the_red_hat_virtualization_manager_minor_updates pointing to https://access.redhat.com/solutions/5480561 

In RHV 4.4.5 we are going to stop using ansible channel and shipping the required ansible version within RHV channels.

Comment 3 Michal Skrivanek 2021-01-27 11:18:40 UTC
rright, but for now this is fixed in documentation and it should have been followed

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