Bug 1887268 - Cannot perform yum update on my RHV manager (ansible conflict)
Summary: Cannot perform yum update on my RHV manager (ansible conflict)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.3.11
Hardware: All
OS: Linux
high
high
Target Milestone: ovirt-4.4.3
: ---
Assignee: Dana
QA Contact: Pavol Brilla
URL:
Whiteboard:
: 1887735 1920407 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-12 03:29 UTC by Marcus West
Modified: 2024-03-25 16:41 UTC (History)
12 users (show)

Fixed In Version: ovirt-engine-4.4.3.8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-24 13:10:07 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) 5480561 0 None None None 2020-10-12 03:33:40 UTC
Red Hat Knowledge Base (Solution) 5736071 0 None None None 2021-01-27 11:18:39 UTC
Red Hat Product Errata RHSA-2020:5179 0 None None None 2020-11-24 13:10:28 UTC
oVirt gerrit 111720 0 master MERGED engine: set 'best=False' in yum.conf 2021-02-09 02:05:20 UTC

Internal Links: 1891445

Description Marcus West 2020-10-12 03:29:49 UTC
## Description of problem:

When trying to yum update RHVM instance, I get an error regarding and ansible conflict

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

ovirt-engine-4.3.11.4-0.1.el7.noarch


## How reproducible:

Always

## Steps to Reproduce:
1. Update RHVM manager to 4.3.11
2. run 'yum update' on RHVM manager

## Actual results:
Dependency error:
~~~
# yum update 
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager,
              : tracer_upload, versionlock
rhel-7-server-ansible-2.9-rpms                                                                 | 2.3 kB  00:00:00     
rhel-7-server-rh-common-rpms                                                                   | 2.1 kB  00:00:00     
rhel-7-server-rhv-4-manager-tools-rpms                                                         | 2.3 kB  00:00:00     
rhel-7-server-rhv-4.3-manager-rpms                                                             | 2.4 kB  00:00:00     
rhel-7-server-rpms                                                                             | 2.0 kB  00:00:00     
rhel-7-server-supplementary-rpms                                                               | 2.0 kB  00:00:00     
Resolving Dependencies
--> Running transaction check
---> Package ansible.noarch 0:2.9.13-1.el7ae will be updated
--> Processing Dependency: ansible = 2.9.13 for package: ovirt-engine-4.3.11.4-0.1.el7.noarch
---> Package ansible.noarch 0:2.9.14-1.el7ae will be an update
--> Finished Dependency Resolution
Error: Package: ovirt-engine-4.3.11.4-0.1.el7.noarch (@rhel-7-server-rhv-4.3-manager-rpms)
           Requires: ansible = 2.9.13
           Removing: ansible-2.9.13-1.el7ae.noarch (@rhel-7-server-ansible-2-rpms)
               ansible = 2.9.13-1.el7ae
           Updated By: ansible-2.9.14-1.el7ae.noarch (rhel-7-server-ansible-2.9-rpms)
               ansible = 2.9.14-1.el7ae
~~~

## Expected results:

RHV Manager should update without error


## Additional info:

This happens for both the 'rhel-7-server-ansible-2.9-rpms' and 'rhel-7-server-ansible-2-rpms' channels

RHEL hosts being used as hypervisors apparently have the same issue: (with ovirt-hosted-engine-setup)

~~~
--> Running transaction check
---> Package ansible.noarch 0:2.9.13-1.el7ae will be updated
--> Processing Dependency: ansible = 2.9.13 for package: ovirt-hosted-engine-setup-2.3.13-2.el7ev.noarch
---> Package bc.x86_64 0:1.06.95-13.el7 will be installed
---> Package ovirt-hosted-engine-setup.noarch 0:2.3.13-2.el7ev will be an update
--> Processing Dependency: ansible = 2.9.13 for package: ovirt-hosted-engine-setup-2.3.13-2.el7ev.noarch
--> Finished Dependency Resolution
Error: Package: ovirt-hosted-engine-setup-2.3.13-2.el7ev.noarch (rhel-7-server-rhv-4-mgmt-agent-rpms)
           Requires: ansible = 2.9.13
           Removing: ansible-2.9.13-1.el7ae.noarch (@rhel-7-server-ansible-2-rpms)
               ansible = 2.9.13-1.el7ae
           Updated By: ansible-2.9.14-1.el7ae.noarch (rhel-7-server-ansible-2.9-rpms)
               ansible = 2.9.14-1.el7ae
~~~

Comment 1 Marcus West 2020-10-12 03:31:27 UTC
Also affecting 4.4: https://bugzilla.redhat.com/show_bug.cgi?id=1887142

Comment 3 Michal Skrivanek 2020-10-13 08:33:00 UTC
workaround is to use "yum update --nobest", it doesn't affect production workloads

Comment 4 Michal Skrivanek 2020-10-14 05:43:30 UTC
*** Bug 1887735 has been marked as a duplicate of this bug. ***

Comment 5 sergey.smirnov@ru.ibm.com 2020-10-19 18:16:39 UTC
same issue with update RHV from 4.3.10 to 4.3.11
not from RHVM GUI nor from 'yum update'

'--nobest' option not applicable because there is only yum available

Comment 6 Martin Perina 2020-10-19 21:14:23 UTC
(In reply to sergey.smirnov.com from comment #5)
> same issue with update RHV from 4.3.10 to 4.3.11
> not from RHVM GUI nor from 'yum update'
> 
> '--nobest' option not applicable because there is only yum available

For RHV 4.3.11 please 'yum update --exclude=ansible-2.9.14' or add 'exclude=ansible-2.9.14' into /etc/yum.conf.

Comment 7 sergey.smirnov@ru.ibm.com 2020-10-20 13:14:01 UTC
(In reply to Martin Perina from comment #6)
> (In reply to sergey.smirnov.com from comment #5)
> > same issue with update RHV from 4.3.10 to 4.3.11
> > not from RHVM GUI nor from 'yum update'
> > 
> > '--nobest' option not applicable because there is only yum available
> 
> For RHV 4.3.11 please 'yum update --exclude=ansible-2.9.14' or add
> 'exclude=ansible-2.9.14' into /etc/yum.conf.

yes, it works

Comment 12 Pavol Brilla 2020-11-02 13:30:37 UTC
engine issue is targeted by BZ#1891445 docs update.

for host upgrade temporary yum.conf is created by upgrade job to prevent this blockage


tested on 

# yum list ovirt-engine
Installed Packages
ovirt-engine.noarch                                                                                         4.4.3.9-0.1.el8ev  

# yum list ansible-runner-service
Installed Packages
ansible-runner-service.noarch                                                                            1.0.6-3.el8ev

Comment 18 errata-xmlrpc 2020-11-24 13:10:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Low: Red Hat Virtualization security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:5179

Comment 20 Michal Skrivanek 2021-01-27 11:18:40 UTC
*** Bug 1920407 has been marked as a duplicate of this bug. ***


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