Bug 1930522 - [RHV-4.4.5.5] Failed to deploy RHEL AV 8.4.0 host to RHV with error "missing groups or modules: virt:8.4"
Summary: [RHV-4.4.5.5] Failed to deploy RHEL AV 8.4.0 host to RHV with error "missing ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.4.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-4.4.6
: 4.4.6
Assignee: Dana
QA Contact: Petr Matyáš
URL:
Whiteboard: libvirt_RHV_INT
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-19 04:45 UTC by zhoujunqin
Modified: 2021-06-01 13:23 UTC (History)
9 users (show)

Fixed In Version: ovirt-engine-4.6.6.1
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-01 13:22:12 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:2179 0 None None None 2021-06-01 13:23:04 UTC
oVirt gerrit 113779 0 master MERGED engine: support advanced virtualization in RHEL 8.4 2021-03-10 09:27:22 UTC

Description zhoujunqin 2021-02-19 04:45:09 UTC
Description of problem:
[RHV-4.4.5.5] Failed to deploy RHEL AV 8.4.0 host to RHV server with error "missing groups or modules: virt:8.4" 

Version-Release number of selected component (if applicable):
ovirt-engine-tools-4.4.5.5-0.13.el8ev.noarch

Software Version:4.4.5.5-0.13.el8ev


How reproducible:
100%

Steps to Reproduce:
1. Prepare a RHV server: Software Version:4.4.5.5-0.13.el8ev
2. Try to deploy a RHEL AV 8.4.0 host to RHV server with ansible cmd
# ansible-playbook  playbooks/rhv_host_deploy.yaml
...
"msg": "Error message: ['Host host-intel1 installation failed. Task Enable advanced virtualization module for relevant OS version failed to execute. Please check logs for more details: /var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20210219031911-xx-7d1d050d.log.']"}


3. Check the log message "/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20210219031911-10.73.73.112-7d1d050d.log"
...
      "task_path" : "/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-host-deploy-facts/tasks/main.yml:10",
      "role" : "ovirt-host-deploy-facts",
      "host" : "xx",
      "remote_addr" : "xx",
      "res" : {
        "msg" : "non-zero return code",
        "cmd" : "dnf -y module enable virt:8.4",
        "stdout" : "Updating Subscription Management repositories.\nUnable to read consumer identity\n\nThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.\n\nLast metadata expiration check: 0:38:51 ago on Fri Feb 19 02:40:35 2021.",
        "stderr" : "Error: Problems in request:\nmissing groups or modules: virt:8.4",

...


Actual results:
As described.

Expected results:
Fix it, we have to use virt:av from RHEL 8.4, thanks.

Additional info:
Please refer to the disscussion - [virt-sub-team] RHEL-AV changes planned for RHEL 8.4
Link - http://post-office.corp.redhat.com/archives/virt-sub-team/2020-November/msg00059.html
- RHV:
  - Starting with RHEL 8.4 based hypervisors we need to switch to using virt:av instead of virt:8.4.

Comment 2 Martin Perina 2021-02-19 05:43:04 UTC
Yes, this is a known issue, RHEL 8.4 will be supported only in RHV 4.4.6, because they changed naming of advanced virtualization module from "virt:<RHEL VERSION>" to "virt:av" from RHEL 8.4. So we will need to adapt our logic around advanced virtualization channel:

1. If RHEL version < 8.4, use versioned channel (for example for RHEL 8.3 use virt:8.3)
2. If RHEL version >= 8.4, use non-versioned channel virt:av

Comment 7 Petr Matyáš 2021-04-16 08:16:58 UTC
Verified on ovirt-engine-4.4.6.3-0.8.el8ev.noarch

Comment 11 errata-xmlrpc 2021-06-01 13:22:12 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 security update (ovirt-engine) [ovirt-4.4.6]), 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-2021:2179


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