Bug 1877679

Summary: Synchronize advanced virtualization module with RHEL version during host upgrade
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Perina <mperina>
Component: ovirt-engineAssignee: Dana <delfassy>
Status: CLOSED ERRATA QA Contact: Petr Matyáš <pmatyas>
Severity: high Docs Contact:
Priority: high    
Version: 4.4.0CC: dfodor, mtessun, pelauter, pmatyas
Target Milestone: ovirt-4.4.3   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhv-4.4.3-7 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-24 13:10:05 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 Martin Perina 2020-09-10 07:49:11 UTC
We need to detect if host is going to be upgraded from RHEL 8.m to RHEL 8.n and enable correct advanced virtualization module before package upgrade, so all packages are upgraded correctly. For example during upgrade from RHEL 8.2 to 8.3 we need to do following:

1. Detect we are upgrading from RHEL 8.2 to 8.3 by checking available packages to contain rhel-release with different version than currently installed
2. If RHEL upgrade is detected, we need to reset current advanced virtualization module (8.2) and enable correct module (8.3)
3. Upgrade all available packages

Comment 1 Martin Perina 2020-09-22 12:02:15 UTC
*** Bug 1881431 has been marked as a duplicate of this bug. ***

Comment 3 Petr Matyáš 2020-10-02 12:48:52 UTC
Verified on ovirt-engine-4.4.3.5-0.5.el8ev.noarch

Comment 7 errata-xmlrpc 2020-11-24 13:10:05 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