[lustre-discuss] can't install Lustre 2.12.7
Thomas Roth
t.roth at gsi.de
Mon Sep 27 07:05:28 PDT 2021
Hi Riccardo
(no solution for you problem here)
out of curiosity, I have just upgraded a test server to centos 7.9 and Lustre 2.12.7.
Kernel is 3.10.0-1160.42.2.el7.x86_64
But I installed kmod-lustre, lustre, kmod-lustre-osd-zfs. The Lustre modules went to /lib/modules/3.10.0-1160.25.1.el7.x86_64/extra, with symlinks to
the weak-updates of the previous kernel (3.10.0-1160.2.1.el7.x86_64).
I symlinked those directories in 3.10.0-1160.25.1.el7.x86_64/extra to 3.10.0-1160.42.2.el7.x86_64/extra and mounted my OSTs.
= Dirty workaround, if you quickly need 2.12.7, but of course not sustainable - at some point the kernel version will have deviated too much and dkms
is needed again.
Regards
Thomas
On 9/24/21 03:13, Riccardo Veraldi wrote:
> Hello,
>
> I am not successful installing lustre 2.12.7 I run into a problem with dkms on RHEL 7.9
>
> kernel 3.10.0-1160.42.2.el7.x86_64
>
> I am using rpm from https://downloads.whamcloud.com/public/lustre/lustre-2.12.7/el7.9.2009/server/RPMS/x86_64/
>
> the lustre dkms module fails building, seems like something is missing or there is a wrong path somewhere so that the proper headers are not found,
> but I Could not figure out what. I Tried both with zfs-0.7.13 and zfs-0.8.6 but same result. So I am missing something
>
> Any hints ? I am stuck.
>
> ZFS is:
>
> libnvpair1-0.7.13-1.el7.x86_64
> spl-0.7.13-1.el7.x86_64
> libzfs2-0.7.13-1.el7.x86_64
> spl-dkms-0.7.13-1.el7.noarch
> libuutil1-0.7.13-1.el7.x86_64
> zfs-dkms-0.7.13-1.el7.noarch
> libzfs2-devel-0.7.13-1.el7.x86_64
> libzpool2-0.7.13-1.el7.x86_64
> zfs-0.7.13-1.el7.x86_64
>
>
> yum install lustre-dkms
> Loaded plugins: langpacks
> Resolving Dependencies
> --> Running transaction check
> ---> Package lustre-zfs-dkms.noarch 0:2.12.7-1.el7 will be installed
> --> Processing Dependency: lustre-osd-zfs-mount for package: lustre-zfs-dkms-2.12.7-1.el7.noarch
> --> Running transaction check
> ---> Package lustre-osd-zfs-mount.x86_64 0:2.12.7-1.el7 will be installed
> --> Finished Dependency Resolution
>
> Dependencies Resolved
>
> ========================================================================================================================
> Package Arch Version Repository Size
> ========================================================================================================================
> Installing:
> lustre-zfs-dkms noarch 2.12.7-1.el7 lustre 12 M
> Installing for dependencies:
> lustre-osd-zfs-mount x86_64 2.12.7-1.el7 lustre 12 k
>
> Transaction Summary
> ========================================================================================================================
> Install 1 Package (+1 Dependent package)
>
> Total download size: 12 M
> Installed size: 38 M
> Is this ok [y/d/N]: y
> Downloading packages:
> (1/2): lustre-osd-zfs-mount-2.12.7-1.el7.x86_64.rpm | 12 kB 00:00:00
> (2/2): lustre-zfs-dkms-2.12.7-1.el7.noarch.rpm | 12 MB 00:00:00
> ------------------------------------------------------------------------------------------------------------------------
> Total 26 MB/s | 12 MB 00:00:00
> Running transaction check
> Running transaction test
> Transaction test succeeded
> Running transaction
> Installing : lustre-osd-zfs-mount-2.12.7-1.el7.x86_64 1/2
> Installing : lustre-zfs-dkms-2.12.7-1.el7.noarch 2/2
> Loading new lustre-zfs-2.12.7 DKMS files...
> Building for 3.10.0-1160.42.2.el7.x86_64
> Building initial module for 3.10.0-1160.42.2.el7.x86_64
> configure: WARNING:
>
> Disabling ldiskfs support because complete ext4 source does not exist.
>
> If you are building using kernel-devel packages and require ldiskfs
> server support then ensure that the matching kernel-debuginfo-common
> and kernel-debuginfo-common-<arch> packages are installed.
>
> ./configure: line 33341: test: zfs: integer expression expected
> configure: error:
>
> Required zfs osd cannot be built due to missing zfs development headers.
>
> Support for zfs can be enabled by downloading the required packages for your
> distribution. See http://zfsonlinux.org/ to determine is zfs is supported by
> your distribution.
>
> Error! Bad return status for module build on kernel: 3.10.0-1160.42.2.el7.x86_64 (x86_64)
> Consult /var/lib/dkms/lustre-zfs/2.12.7/build/make.log for more information.
> warning: %post(lustre-zfs-dkms-2.12.7-1.el7.noarch) scriptlet failed, exit status 10
> Non-fatal POSTIN scriptlet failure in rpm package lustre-zfs-dkms-2.12.7-1.el7.noarch
> Verifying : lustre-osd-zfs-mount-2.12.7-1.el7.x86_64 1/2
> Verifying : lustre-zfs-dkms-2.12.7-1.el7.noarch 2/2
>
> Installed:
> lustre-zfs-dkms.noarch 0:2.12.7-1.el7
>
> Dependency Installed:
> lustre-osd-zfs-mount.x86_64 0:2.12.7-1.el7
>
>
> cat /var/lib/dkms/lustre-zfs/2.12.7/build/make.log
> DKMS make.log for lustre-zfs-2.12.7 for kernel 3.10.0-1160.42.2.el7.x86_64 (x86_64)
> Thu Sep 23 17:42:12 PDT 2021
> make: *** No targets specified and no makefile found. Stop.
>
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
More information about the lustre-discuss
mailing list