On Tue, Jul 13, 2021 at 4:19 PM Marcin Sobczyk <msobczyk(a)redhat.com> wrote:
On 7/12/21 2:11 AM, Nir Soffer wrote:
> On Mon, Jul 12, 2021 at 1:50 AM Branimir Pejakovic <branimirp(a)gmail.com>
wrote:
>> It was a fresh install of 2 VMs on top of VirtualBox with Rocky fully updated on
both prior to oVirt installation. I installed it yesterday and followed the usual way of
installing it:
https://www.ovirt.org/download/alternate_downloads.html.
>>
>> Here are the oVirt packages that are installed on the hypervisor:
> Unfortunately vdsm (the core package for ovirt host) does not
> have ovirt-prefix. Which version do you have?
> ...
>> ovirt-imageio-client-2.2.0-1.el8.x86_64
> This package requires qemu-img >= 5.2.0
> Maybe the requirement is broken (missing epoch).
As you quoted, the requirement states:
%if 0%{?rhel} >= 8
%if 0%{?centos}
Rocky linux probably doesn't have these macros.
OTOH 'ovirt-host' package requires plain 'libvirt',
no version limitations, and that probably sucks in "any 'qemu-kvm'
possible".
I expect "rhel" to be available on every rhel-like distro but centos is
most likely not available.
So we expect to use the rhel branch:
# 4.4, AV 8.4 -
https://bugzilla.redhat.com/1948532
Requires: qemu-kvm >= 15:5.2.0-15.module+el8.4.0+10650+50781ca0
And this should fail if only qemu-kvm 4.2.0 is available.
I could reproduce this strange behavior, even when qemu 5.2.0
is available:
1. Remove host from engine
2. dnf remove vdsm-\* qemu-\* libvirt-\*
3. dnf install qemu-img-4.2.0
(I needed this for testing imageio patch)
4. dnf install vdsm vdsm-client
And I ended with qemu-kvm 4.2.0 instead of 5.2.0.
5. dnf update
qemu-kvm was updated to 5.2.0.
I hope that someone community can help to resolve this issue.
vdsm patches can be sent using gerrit, please see:
https://github.com/oVirt/vdsm/blob/master/README.md#submitting-patches
Nir