Hi,
Ovirt works only with distributions from the Red Hat’s Enterprise Linux. Ubuntu is part of
the Debian family and it won’t work.
The simplest way to statt with oVirt is to check the documentation for the Red Hat’s
Virtualization.
Best Regards,Strahil Nikolov
On Tuesday, September 26, 2023, 9:06 PM, spp16121991(a)gmail.com wrote:
Hi all,
I am a noob in KVM. I am a VMware engineer.
I have created a lab environment to where i have hosted KVM as nested hypervisors within
esxi.
I have a vsan environment. I want to create a similar KVM environment.
hence, i have deployed 3 kvm hypervisors (nested)
i have deployed Ovirt-manager ( equivalent to vcenter) to host/manage my KVM hypervisors.
to deploy Ovirt-manager, i installed ovirt packages in centos VM. Because ovirt pacjages
are not available in ubuntu, hence choose centos.
next is i want to add kvm hypervisors on ovirt manager similar to how we add esxi hosts to
vcenter.
That is where i am failing.
From my limited understanding in KVM, ovirt is looking for yum package manager , KVM are
ubuntu flavoured, hence it has apt package manager.
What my ask is, can this be fixed? is there a file i need to edit in ovirt-engine.?
Can Ovirt-manager host KVM of ubuntu flavour?
Please advise.
Checked the ovirt logs:
Here is the log excerpts:
----------------------------------------------
} ],
"python3-oauthlib" : [ {
"name" : "python3-oauthlib",
"version" : "3.1.0-1ubuntu2",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-openssl" : [ {
"name" : "python3-openssl",
"version" : "19.0.0-1build1",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-pexpect" : [ {
"name" : "python3-pexpect",
"version" : "4.6.0-1build1",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-pkg-resources" : [ {
"name" : "python3-pkg-resources",
"version" : "45.2.0-1ubuntu0.1",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-problem-report" : [ {
"name" : "python3-problem-report",
"version" : "2.20.11-0ubuntu27.27",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-ptyprocess" : [ {
"name" : "python3-ptyprocess",
"version" : "0.6.0-1ubuntu1",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-pyasn1" : [ {
"name" : "python3-pyasn1",
"version" : "0.4.2-3build1",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-pyasn1-modules" : [ {
"name" : "python3-pyasn1-modules",
"version" : "0.2.1-0.2build1",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-pymacaroons" : [ {
"name" : "python3-pymacaroons",
"version" : "0.13.0-3",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-pyrsistent" : [ {
"name" : "python3-pyrsistent",
"version" : "0.15.5-1build1",
"arch" : "amd64",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-requests" : [ {
"name" : "python3-requests",
"version" : "2.22.0-2ubuntu1.1",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-requests-unixsocket" : [ {
"name" : "python3-requests-unixsocket",
"version" : "0.2.0-2",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-secretstorage" : [ {
"name" : "python3-secretstorage",
"version" : "2.3.1-2ubuntu1",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-serial" : [ {
"name" : "python3-serial",
"version" : "3.4-5.1",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-service-identity" : [ {
"name" : "python3-service-identity",
"version" : "18.1.0-5build1",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-setuptools" : [ {
"name" : "python3-setuptools",
"version" : "45.2.0-1ubuntu0.1",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-simplejson" : [ {
"name" : "python3-simplejson",
"version" : "3.16.0-2ubuntu2",
"arch" : "amd64",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-six" : [ {
"name" : "python3-six",
"version" : "1.14.0-2",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-software-properties" : [ {
"name" : "python3-software-properties",
"version" : "0.99.9.12",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-systemd" : [ {
"name" : "python3-systemd",
"version" : "234-3build2",
"arch" : "amd64",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-twisted" : [ {
"name" : "python3-twisted",
"version" : "18.9.0-11ubuntu0.20.04.2",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-twisted-bin" : [ {
"name" : "python3-twisted-bin",
"version" : "18.9.0-11ubuntu0.20.04.2",
"arch" : "amd64",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
"python3-update-manager" : [ {
"name" : "python3-update-manager",
"version" : "1:20.04.10.11",
"arch" : "all",
"category" : "python",
"origin" : "Ubuntu",
"source" : "apt"
} ],
==============================
"duration" : 2.05353,
"event_loop" : null,
"uuid" : "f72c96ea-2491-4612-807e-37da9d563d4d"
}
}
}
2023-09-15 03:18:41 EDT - TASK [ovirt-host-deploy-facts : Check if vdsm is preinstalled]
*****************
2023-09-15 03:18:41 EDT - ok: [10.125.0.110]
2023-09-15 03:18:41 EDT - {
"status" : "OK",
"msg" : "",
"data" : {
"uuid" : "89475143-4bb1-41ec-806d-53def5431773",
"counter" : 23,
"stdout" : "ok: [10.125.0.110]",
"start_line" : 18,
"end_line" : 19,
"runner_ident" : "137dc514-5398-11ee-8c1e-00505686a372",
"event" : "runner_on_ok",
"pid" : 498377,
"created" : "2023-09-15T07:18:39.085171",
"parent_uuid" : "00505686-a372-da37-7bda-00000000016b",
============================================================
"task_action" : "lineinfile",
"task_args" : "",
"task_path" :
"/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-host-deploy-facts/tasks/host-os.yml:19",
"role" : "ovirt-host-deploy-facts",
"host" : "10.125.0.110",
"remote_addr" : "10.125.0.110",
"res" : {
"changed" : true,
"msg" : "line added",
"backup" : "",
"diff" : [ {
"before" : "",
"after" : "",
"before_header" : "/etc/os-release (content)",
"after_header" : "/etc/os-release (content)"
}, {
"before_header" : "/etc/os-release (file attributes)",
"after_header" : "/etc/os-release (file attributes)"
} ],
"invocation" : {
"module_args" : {
=============================================================
"duration" : 0.094784,
"event_loop" : "items",
"uuid" : "c29c53ba-c732-4237-bb6b-decac24d15b1"
}
}
}
2023-09-15 03:18:41 EDT - TASK [ovirt-host-deploy-vdsm : Install ovirt-hosted-engine-setup
package] ******
2023-09-15 03:18:41 EDT - fatal: [10.125.0.110]: FAILED! => {"changed":
false, "msg": ["Could not detect which major revision of yum is in use,
which is required to determine module backend.", "You can manually specify
use_backend to tell the module whether to use the yum (yum3) or dnf (yum4)
backend})"]}
2023-09-15 03:18:41 EDT - {
"status" : "OK",
"msg" : "",
"data" : {
"uuid" : "f730ac20-fe5b-4240-8074-f5c04dddeeec",
"counter" : 78,
"stdout" : "fatal: [10.125.0.110]: FAILED! =>
{\"changed\": false, \"msg\": [\"Could not detect which major
revision of yum is in use, which is required to determine module backend.\",
\"You can manually specify use_backend to tell the module whether to use the yum
(yum3) or dnf (yum4) backend})\"]}",
"start_line" : 67,
"end_line" : 68,
"runner_ident" : "137dc514-5398-11ee-8c1e-00505686a372",
"event" : "runner_on_failed",
"pid" : 498377,
"created" : "2023-09-15T07:18:41.351584",
"parent_uuid" : "00505686-a372-da37-7bda-0000000001ba",
"event_data" : {
"playbook" : "ovirt-host-deploy.yml",
"playbook_uuid" : "ba8a6834-12cf-4837-ae46-f70182bbad00",
"play" : "all",
"play_uuid" : "00505686-a372-da37-7bda-000000000008",
"play_pattern" : "all",
"task" : "Install ovirt-hosted-engine-setup package",
"task_uuid" : "00505686-a372-da37-7bda-0000000001ba",
"task_action" : "yum",
"task_args" : "",
"task_path" :
"/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-host-deploy-vdsm/tasks/packages.yml:6",
"role" : "ovirt-host-deploy-vdsm",
"host" : "10.125.0.110",
"remote_addr" : "10.125.0.110",
"res" : {
"msg" : [ "Could not detect which major revision of yum is in use,
which is required to determine module backend.", "You can manually specify
use_backend to tell the module whether to use the yum (yum3) or dnf (yum4) backend})"
],
"_ansible_no_log" : false,
"changed" : false
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org
Privacy Statement:
https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3PMBMA4BIWL...