Bug 1920407 - yum update on RHV Manager causes ansible conflict
Summary: yum update on RHV Manager causes ansible conflict
Keywords:
Status: CLOSED DUPLICATE of bug 1887268
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.4.3
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.4.5
: ---
Assignee: Martin Perina
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-26 09:28 UTC by Ulhas Surse
Modified: 2024-03-25 18:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-27 11:18:40 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 5736071 0 None None None 2021-01-26 09:39:51 UTC

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 ***


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