Bug 2211398

Summary: modprobe: FATAL: Module kvdo not found in directory
Product: Red Hat Enterprise Linux 9 Reporter: Petr Beranek <pberanek>
Component: lvm2Assignee: LVM Team <lvm-team>
lvm2 sub component: VDO QA Contact: cluster-qe <cluster-qe>
Status: NEW --- Docs Contact:
Severity: medium    
Priority: unspecified CC: agk, awalsh, heinzm, jbrassow, prajnoha, zkabelac
Version: 9.3   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2180384, 2209174    

Description Petr Beranek 2023-05-31 12:48:22 UTC
Description of problem:
When trying to create a VDO lv, the following error pops up:
lvcreate --type vdo --name test-vdo --size 5g --virtualsize 10g vdovg
modprobe: FATAL: Module kvdo not found in directory /lib/modules/5.14.0-316.el9.x86_64
  /usr/sbin/modprobe failed: 1
  vdo: Required device-mapper target(s) not detected in your kernel.
  Run `lvcreate --help' for more information.


Version-Release number of selected component (if applicable):
RHEL-9.3.0-20230524.0
lvm2-libs-2.03.21-1.el9.x86_64
lvm2-2.03.21-1.el9.x86_64
kmod-kvdo-8.2.1.6-86.el9.x86_64
vdo-8.2.0.2-1.el9.x86_64


How reproducible:
always


Steps to Reproduce:
1. Install RHEL with LVM and at least 5GB free space in a volume group
2. "lvcreate --type vdo --name test-vdo --size 5g --virtualsize 10g <vg-name>"


Actual results:
Command results in 'modprobe: FATAL: Module kvdo not found in directory ...' error


Expected results:
No error, VDO volume is created.