Bug 2023250 - [RFE] Use virt:rhel module instead of virt:av in RHEL 8.6+ to get advanced virtualization packages
Summary: [RFE] Use virt:rhel module instead of virt:av in RHEL 8.6+ to get advanced vi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.4.9
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.5.0
: 4.5.0
Assignee: Martin Perina
QA Contact: Tadeas Kozub
URL:
Whiteboard:
Depends On:
Blocks: 2036835 2082685
TreeView+ depends on / blocked
 
Reported: 2021-11-15 10:11 UTC by Martin Perina
Modified: 2022-05-26 16:23 UTC (History)
7 users (show)

Fixed In Version: ovirt-engine-4.5.0
Doc Type: Release Note
Doc Text:
The Advanced Virtualization module (virt:av) has been merged into the standard RHEL virtualization module (virt:rhel) as part of the RHEL 8.6 release. Due to this change, the host deploy and host upgrade flows have been updated to properly enable the virt:rhel module during new installation of the RHEL 8.6 host and during upgrade of an existing RHEL 8.5 or earlier host to a RHEL 8.6 host.
Clone Of:
: 2036835 (view as bug list)
Environment:
Last Closed: 2022-05-26 16:23:22 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-44012 0 None None None 2021-11-15 10:20:51 UTC
Red Hat Product Errata RHSA-2022:4711 0 None None None 2022-05-26 16:23:52 UTC
oVirt gerrit 117961 0 master MERGED core: Use virt:rhel module for RHEL 8.6+ 2022-01-04 07:04:15 UTC

Description Martin Perina 2021-11-15 10:11:29 UTC
In RHEL 8.4/8.5 we are using virt:av dnf module to make advanced virtualization packages available on RHV hypervisor. In RHEL 8.6 and newer releases the virt:av doesn't exist anymore and advanced virtualization packages are going to be shipped in standard virt:rhel module, so we need to update our host deploy and host upgrade code to use virt:rhel module in RHEL 8.6+

Comment 1 Michal Skrivanek 2021-11-16 15:48:39 UTC
i think "av" will continue to exist and be available, it will just have old packages. More the reason to change it:)

Comment 4 Tadeas Kozub 2022-03-24 11:05:33 UTC
Verified on ovirt engine version: 4.5.0.1-601.f26e9ea8cac5.3.el8ev

Host playbook chooses correct module stream - 'dnf -y module enable virt:rhel'.

# vi /var/log/ovirt-engine/ansible-runner-service.log
> 2022-03-21 15:31:00,723 - runner_service.services.playbook - DEBUG - cb_event_handler event_data={'uuid': '28b16a3c-1ac8-418a-9840-ce07997924d9', 'counter': 54, 'stdout': 'changed: [HOSTNAME]', 'start_line': 49, 'end_line': 50, 'runner_ident': '21731e40-a91b-11ec-9278-001a4aa00100', 'event': 'runner_on_ok', 'pid': 10459, 'created': '2022-03-21T13:31:00.721806', 'parent_uuid': '001a4aa0-0100-8020-0cad-0000000001b1', 'event_data': {'playbook': 'ovirt-host-deploy.yml', 'playbook_uuid': 'fe246bc3-e102-49fb-9d45-d5271f2d9579', 'play': 'all', 'play_uuid': '001a4aa0-0100-8020-0cad-000000000008', 'play_pattern': 'all', 'task': 'Enable advanced virtualization module', 'task_uuid': '001a4aa0-0100-8020-0cad-0000000001b1', 'task_action': 'command', 'task_args': '', 'task_path': '/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-host-deploy-facts/tasks/av-setup.yml:29', 'role': 'ovirt-host-deploy-facts', 'host': 'HOSTNAME', 'remote_addr': 'HOSTNAME', 'res': {'cmd': 'dnf -y module enable virt:rhel', 'stdout': 'Updating Subscription Management repositories.\nUnable to read consumer identity\n\nThis system is not registered with an entitlement server. You can use subscription-manager to register.\n\nLast metadata expiration check: 1:11:30 ago on Mon Mar 21 14:19:30 2022.\nDependencies resolved.

Comment 9 errata-xmlrpc 2022-05-26 16:23:22 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 (Moderate: RHV Manager (ovirt-engine) [ovirt-4.5.0] security 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-2022:4711


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