RHV - unable to add host with error 'Enable advanced virtualization module for relevant OS version'

Solution Verified - Updated -

Issue

  • Host fails to add to RHV-M with error in /var/log/ovirt-engine/engine.log
2020-12-06 12:38:08,313-05 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-3) [698c889b] EVENT_ID: VDS_INSTALL_FAILED(505), Host example_hostname 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-20201206123756-1<IP>-698c889b.log.
  • Checking the host-deploy log, seems to indicate a problem with the virt module:
2020-12-06 12:38:08 EST - TASK [ovirt-host-deploy-facts : Enable advanced virtualization module for relevant OS version] ***
2020-12-06 12:38:08 EST - 
2020-12-06 12:38:08 EST - fatal: [<IP>]: FAILED! => {"changed": true, "cmd": "dnf -y module enable virt:8.3", "delta": "0:00:03.106051", "end": "2020-12-06 12:38:07.785099", "msg": "non-zero return code", "rc": 1, "start": "2020-12-06 12:38:04.679048", "stderr": "Error: Problems in request:\nmissing groups or modules: virt:8.3", "stderr_lines": ["Error: Problems in request:", "missing groups or modules: virt:8.3"], "stdout": "Updating Subscription Management repositories.\nLast metadata expiration check: 2:04:21 ago on Sun Dec  6 10:33:45 2020.", "stdout_lines": ["Updating Subscription Management repositories.", "Last metadata expiration check: 2:04:21 ago on Sun Dec  6 10:33:45 2020."]}
2020-12-06 12:38:08 EST - {
  "status" : "OK",
  "msg" : "",
  "data" : {
    "uuid" : "502143f1-xxxx-xxxx-8b16-2f1e1a5xx21c",
    "counter" : 34,
    "stdout" : "fatal: [<IP]: FAILED! => {\"changed\": true, \"cmd\": \"dnf -y module enable virt:8.3\", \"delta\": \"0:00:03.106051\", \"end\": \"2020-12-06 12:38:07.785099\", \"msg\": \"non-zero return code\", \"rc\": 1, \"start\": \"2020-12-06 12:38:04.679048\", \"stderr\": \"Error: Problems in request:\\nmissing groups or modules: virt:8.3\", \"stderr_lines\": [\"Error: Problems in request:\", \"missing groups or modules: virt:8.3\"], \"stdout\": \"Updating Subscription Management repositories.\\nLast metadata expiration check: 2:04:21 ago on Sun Dec  6 10:33:45 2020.\", \"stdout_lines\": [\"Updating Subscription Management repositories.\", \"Last metadata expiration check: 2:04:21 ago on Sun Dec  6 10:33:45 2020.\"]}",

Environment

  • Red Hat Virtualization 4.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content