Actually, this might be due to some issue with the supplied zfs packages:
I installed (from downloads.whamcloud.com/public/lustre/lustre-2.15.0/el8.5.2111)
zfs.x86_64 2.0.7-1.el8
zfs-dkms.noarch 2.0.7-1.el8
libzpool4.x86_64 2.0.7-1.el8
libzfs4.x86_64 2.0.7-1.el8
libzfs4-devel.x86_64 2.0.7-1.el8
Then tried the above installation of the Lustre packages, which failed, then got the git repo, configure
./configure --prefix=/usr --enable-modules --disable-iokit --disable-snmp --disable-doc --disable-tests --disable-maintainer-mode --with-linux=/lib/modules/4.18.0-348.23.1.el8_5.x86_64/build --with-linux-obj=/lib/modules/4.18.0-348.23.1.el8_5.x86_64/build --with-o2ib=/usr/src/kernels/4.18.0-348.23.1.el8_5.x86_64 --disable-gss --enable-server --disable-ldiskfs --with-linux=/lib/modules/4.18.0-348.23.1.el8_5.x86_64/build --with-linux-obj=/lib/modules/4.18.0-348.23.1.el8_5.x86_64/build --disable-manpages --disable-mpitests
, make rpms, resulting in the expected kmod-lustre-2.15.0-1, kmod-lustre-osd-zfs-2.15.0-1, ... lustre-osd-zfs-mount-2.15.0-1 - rpms, but
rpm -i ./kmod-lustre-osd-zfs-2.15.0-1.el8.x86_64.rpm
error: Failed dependencies:
ksym(__cv_broadcast) = 0x03cebd8a is needed by kmod-lustre-osd-zfs-2.15.0-1.el8.x86_64
ksym(arc_add_prune_callback) = 0x1363912f is needed by kmod-lustre-osd-zfs-2.15.0-1.el8.x86_64
ksym(arc_buf_size) = 0xa2990474 is needed by kmod-lustre-osd-zfs-2.15.0-1.el8.x86_64
ksym(arc_remove_prune_callback) = 0x1ab2d851 is needed by kmod-lustre-osd-zfs-2.15.0-1.el8.x86_64
...
ZFS by itself seems ok.
2022-06-29 Update
These self-compiled packages can be installed by
Imho this points to the rpm-creating part of the code.
The issue is being fixed in
LU-16059.