Bug 1930522
| Summary: | [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" | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | zhoujunqin <juzhou> |
| Component: | ovirt-engine | Assignee: | Dana <delfassy> |
| Status: | CLOSED ERRATA | QA Contact: | Petr Matyáš <pmatyas> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.4.4 | CC: | bugs, chhu, dfodor, gdeolive, mperina, mxie, tyan, xiaodwan, zili |
| Target Milestone: | ovirt-4.4.6 | ||
| Target Release: | 4.4.6 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | libvirt_RHV_INT | ||
| Fixed In Version: | ovirt-engine-4.6.6.1 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-06-01 13:22:12 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: | |||
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 Verified on ovirt-engine-4.4.6.3-0.8.el8ev.noarch 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 |
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.