Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2117917

Summary: Under Centos 8.7 kvdo build don't work
Product: [oVirt] ovirt-node Reporter: D. Ercolani <licenze+RedHat>
Component: Included packagesAssignee: Lev Veyde <lveyde>
Status: CLOSED UPSTREAM QA Contact: Lucie Leistnerova <lleistne>
Severity: high Docs Contact:
Priority: low    
Version: 4.5.2CC: arachman, bugs, cshao, lsvaty, lveyde, mavital, mperina, peyu, sbonazzo, weiwang, yaniwang
Target Milestone: ovirt-4.5.3Flags: mperina: ovirt-4.5+
lsvaty: blocker-
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-26 12:49:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2060475    
Bug Blocks:    
Attachments:
Description Flags
kmod-kvdo-6.2.7.17-0.el8.src.rpm
none
kmod-kvdo-6.2.7.17-0.el8.x86_64.rpm none

Description D. Ercolani 2022-08-12 16:17:06 UTC
Last Centos 8 Stream kvdo is:
kmod-kvdo-6.2.6.14-84.el8.x86_64
built under 4.18.0-373.el8.x86_64 weak update

This module in the last kernel: 4.18.0-408.el8.x86_64

doesn't work as there are changed kernel symbols.
We need a new build

Comment 1 RHEL Program Management 2022-08-15 02:44:59 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 2 Martin Perina 2022-08-15 11:16:55 UTC
Isn't rather CentOS Stream repositories content issue? Does the kvdo module works on CS8 system?

Comment 3 D. Ercolani 2022-08-26 07:48:38 UTC
This version works for me:
https://github.com/dm-vdo/kvdo/archive/refs/tags/6.2.7.17.zip

I recompiled under kernel source and correctly it works please provide upstream ASAP, This is a real problem to everyone

Comment 4 Martin Perina 2022-08-26 08:06:38 UTC
(In reply to D. Ercolani from comment #3)
> This version works for me:
> https://github.com/dm-vdo/kvdo/archive/refs/tags/6.2.7.17.zip
> 
> I recompiled under kernel source and correctly it works please provide
> upstream ASAP, This is a real problem to everyone

We are blocked by the fact, that newer package release doesn't exist in CS8 repos (see BZ2060475). Once available it will be included in the next oVirt Node release.

Comment 5 D. Ercolani 2022-08-26 10:37:32 UTC
Created attachment 1907801 [details]
kmod-kvdo-6.2.7.17-0.el8.src.rpm

Comment 6 D. Ercolani 2022-08-26 10:39:54 UTC
Created attachment 1907802 [details]
kmod-kvdo-6.2.7.17-0.el8.x86_64.rpm

SRC RPM and RPM using new kvdo version brought from github. It's working for me

Comment 7 Lev Veyde 2022-09-08 15:32:05 UTC
I don't see the mentioned 6.2.7.x version in the CentOS 8 Stream packages, but only the kmod-kvdo-6.2.6.14-86 (http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/Packages/kmod-kvdo-6.2.6.14-86.el8.x86_64.rpm) released on August 30th, 2022.

However it seems to be included in the latest ISO (CentOS-Stream-8-x86_64-20220831-dvd1.iso), and it's loads into the kernel without any visible issues:

# lsmod | grep kvdo

# modprobe kvdo

# lsmod | grep kvdo
kvdo                  577536  0
uds                   262144  1 kvdo
dm_mod                151552  14 kvdo,dm_log,dm_mirror,dm_bufio

# rpm -qa | grep kvdo
kmod-kvdo-6.2.6.14-86.el8.x86_64

# modinfo kvdo
filename:       /lib/modules/4.18.0-408.el8.x86_64/extra/kmod-kvdo/vdo/kvdo.ko
version:        6.2.6.14
license:        GPL
author:         Red Hat, Inc.
description:    device-mapper target for transparent deduplication
rhelversion:    8.7
srcversion:     81091D90AA8DB2238BE5334
depends:        uds,dm-mod
name:           kvdo
vermagic:       4.18.0-408.el8.x86_64 SMP mod_unload modversions

Comment 8 Lev Veyde 2022-10-25 11:18:45 UTC
The kmod-kvdo-6.2.6.14-86 package thatI tested to work jst fine is included in the latest oVirt node-ng build (4.5.3.1):

https://resources.ovirt.org/pub/ovirt-4.5/iso/ovirt-node-ng-installer/4.5.3.1-2022102016/el8/ovirt-node-ng-installer-4.5.3.1-2022102016.el8.iso