[lustre-discuss] Dependency issue with Lustre+ZFS support

Hans Henrik Happe happe at nbi.dk
Wed Apr 6 01:49:23 PDT 2022


Could it be that you have installed a ZFS 2.0.7, which clashes with the 
needed 0.7.13 in the Lustre repo?

I have some documentation that targets our own specific use. It explains 
how to compile ZFS and Lustre:

https://github.com/ucphhpc/storage

Note: It's still very unpolished.

Cheers,
Hans Henrik

On 05.04.2022 01.38, Finn Rawles Malliagh via lustre-discuss wrote:
> Hi all,
>
> I am currently trying to install Lustre with ZFS support using the 
> steps set out by https://wiki.lustre.org/Installing_the_Lustre_Software
>
> I reached up to step 4.2.6 where I was shown this error after running 
> the command below.
>
> Does anybody have any idea on how to solve this dependency issue?
>
> I am running CentOS 7.9 (I have tried the latest kernel as well as the 
> custom Lustre kernel with the same problems). Both times have been a 
> fresh install of CentOS 7.9.
>
> If anyone also has a start to finish guide for dummies on how to 
> install Lustre with ZFS support that is up to date I would very much 
> appreciate it. It seems like a lot of resources online are out of date 
> or missing steps.
>
> [root at mgs-mds x86_64]# yum --nogpgcheck --enablerepo=lustre-server 
> install lustre-dkms lustre-osd-zfs-mount lustre lustre-resource-agents zfs
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * base: mirror.pulsant.com <http://mirror.pulsant.com/>
>  * epel: mirror.hostnet.nl <http://mirror.hostnet.nl/>
>  * extras: mirror.mhd.uk.as44574.net <http://mirror.mhd.uk.as44574.net/>
>  * updates: mirror.pulsant.com <http://mirror.pulsant.com/>
> Resolving Dependencies
> --> Running transaction check
> ---> Package lustre.x86_64 0:2.12.8_6_g5457c37-1.el7 will be installed
> ---> Package lustre-osd-zfs-mount.x86_64 0:2.12.8_6_g5457c37-1.el7 
> will be installed
> --> Processing Dependency: libzfs.so.2()(64bit) for package: 
> lustre-osd-zfs-mount-2.12.8_6_g5457c37-1.el7.x86_64
> Package libzfs2 is obsoleted by libzfs4, but obsoleting package does 
> not provide for requirements
> --> Processing Dependency: libnvpair.so.1()(64bit) for package: 
> lustre-osd-zfs-mount-2.12.8_6_g5457c37-1.el7.x86_64
> Package libnvpair1-0.8.6-1.el7.x86_64 is obsoleted by 
> libnvpair3-2.0.7-1.el7.x86_64 which is already installed
> ---> Package lustre-resource-agents.x86_64 0:2.12.8_6_g5457c37-1.el7 
> will be installed
> --> Processing Dependency: resource-agents for package: 
> lustre-resource-agents-2.12.8_6_g5457c37-1.el7.x86_64
> ---> Package lustre-zfs-dkms.noarch 0:2.12.8_6_g5457c37-1.el7 will be 
> installed
> ---> Package zfs.x86_64 0:2.0.7-1.el7 will be installed
> --> Processing Dependency: libzpool4 = 2.0.7 for package: 
> zfs-2.0.7-1.el7.x86_64
> --> Processing Dependency: libzfs4 = 2.0.7 for package: 
> zfs-2.0.7-1.el7.x86_64
> --> Processing Dependency: libzpool.so.4()(64bit) for package: 
> zfs-2.0.7-1.el7.x86_64
> --> Processing Dependency: libzfs_core.so.3()(64bit) for package: 
> zfs-2.0.7-1.el7.x86_64
> --> Processing Dependency: libzfs.so.4()(64bit) for package: 
> zfs-2.0.7-1.el7.x86_64
> --> Running transaction check
> ---> Package libzfs4.x86_64 0:2.0.7-1.el7 will be installed
> ---> Package libzpool4.x86_64 0:2.0.7-1.el7 will be installed
> ---> Package lustre-osd-zfs-mount.x86_64 0:2.12.8_6_g5457c37-1.el7 
> will be installed
> --> Processing Dependency: libzfs.so.2()(64bit) for package: 
> lustre-osd-zfs-mount-2.12.8_6_g5457c37-1.el7.x86_64
> Package libzfs2 is obsoleted by libzfs4, but obsoleting package does 
> not provide for requirements
> --> Processing Dependency: libnvpair.so.1()(64bit) for package: 
> lustre-osd-zfs-mount-2.12.8_6_g5457c37-1.el7.x86_64
> Package libnvpair1-0.8.6-1.el7.x86_64 is obsoleted by 
> libnvpair3-2.0.7-1.el7.x86_64 which is already installed
> ---> Package resource-agents.x86_64 0:4.1.1-61.el7_9.15 will be installed
> --> Processing Dependency: psmisc for package: 
> resource-agents-4.1.1-61.el7_9.15.x86_64
> --> Processing Dependency: /usr/sbin/rpc.nfsd for package: 
> resource-agents-4.1.1-61.el7_9.15.x86_64
> --> Processing Dependency: /usr/sbin/rpc.mountd for package: 
> resource-agents-4.1.1-61.el7_9.15.x86_64
> --> Processing Dependency: /usr/sbin/mount.cifs for package: 
> resource-agents-4.1.1-61.el7_9.15.x86_64
> --> Processing Dependency: /usr/sbin/fuser for package: 
> resource-agents-4.1.1-61.el7_9.15.x86_64
> --> Processing Dependency: /sbin/rpc.statd for package: 
> resource-agents-4.1.1-61.el7_9.15.x86_64
> --> Processing Dependency: /sbin/mount.nfs4 for package: 
> resource-agents-4.1.1-61.el7_9.15.x86_64
> --> Processing Dependency: /sbin/mount.nfs for package: 
> resource-agents-4.1.1-61.el7_9.15.x86_64
> --> Running transaction check
> ---> Package cifs-utils.x86_64 0:6.2-10.el7 will be installed
> --> Processing Dependency: keyutils for package: 
> cifs-utils-6.2-10.el7.x86_64
> ---> Package lustre-osd-zfs-mount.x86_64 0:2.12.8_6_g5457c37-1.el7 
> will be installed
> --> Processing Dependency: libzfs.so.2()(64bit) for package: 
> lustre-osd-zfs-mount-2.12.8_6_g5457c37-1.el7.x86_64
> Package libzfs2 is obsoleted by libzfs4, but obsoleting package does 
> not provide for requirements
> --> Processing Dependency: libnvpair.so.1()(64bit) for package: 
> lustre-osd-zfs-mount-2.12.8_6_g5457c37-1.el7.x86_64
> Package libnvpair1-0.8.6-1.el7.x86_64 is obsoleted by 
> libnvpair3-2.0.7-1.el7.x86_64 which is already installed
> ---> Package nfs-utils.x86_64 1:1.3.0-0.68.el7.2 will be installed
> --> Processing Dependency: libtirpc >= 0.2.4-0.7 for package: 
> 1:nfs-utils-1.3.0-0.68.el7.2.x86_64
> --> Processing Dependency: gssproxy >= 0.7.0-3 for package: 
> 1:nfs-utils-1.3.0-0.68.el7.2.x86_64
> --> Processing Dependency: rpcbind for package: 
> 1:nfs-utils-1.3.0-0.68.el7.2.x86_64
> --> Processing Dependency: quota for package: 
> 1:nfs-utils-1.3.0-0.68.el7.2.x86_64
> --> Processing Dependency: libnfsidmap for package: 
> 1:nfs-utils-1.3.0-0.68.el7.2.x86_64
> --> Processing Dependency: libevent for package: 
> 1:nfs-utils-1.3.0-0.68.el7.2.x86_64
> --> Processing Dependency: libtirpc.so.1()(64bit) for package: 
> 1:nfs-utils-1.3.0-0.68.el7.2.x86_64
> --> Processing Dependency: libnfsidmap.so.0()(64bit) for package: 
> 1:nfs-utils-1.3.0-0.68.el7.2.x86_64
> --> Processing Dependency: libevent-2.0.so.5()(64bit) for package: 
> 1:nfs-utils-1.3.0-0.68.el7.2.x86_64
> ---> Package psmisc.x86_64 0:22.20-17.el7 will be installed
> --> Running transaction check
> ---> Package gssproxy.x86_64 0:0.7.0-30.el7_9 will be installed
> --> Processing Dependency: libini_config >= 1.3.1-31 for package: 
> gssproxy-0.7.0-30.el7_9.x86_64
> --> Processing Dependency: libverto-module-base for package: 
> gssproxy-0.7.0-30.el7_9.x86_64
> --> Processing Dependency: libref_array.so.1(REF_ARRAY_0.1.1)(64bit) 
> for package: gssproxy-0.7.0-30.el7_9.x86_64
> --> Processing Dependency: libini_config.so.3(INI_CONFIG_1.2.0)(64bit) 
> for package: gssproxy-0.7.0-30.el7_9.x86_64
> --> Processing Dependency: libini_config.so.3(INI_CONFIG_1.1.0)(64bit) 
> for package: gssproxy-0.7.0-30.el7_9.x86_64
> --> Processing Dependency: libref_array.so.1()(64bit) for package: 
> gssproxy-0.7.0-30.el7_9.x86_64
> --> Processing Dependency: libini_config.so.3()(64bit) for package: 
> gssproxy-0.7.0-30.el7_9.x86_64
> --> Processing Dependency: libcollection.so.2()(64bit) for package: 
> gssproxy-0.7.0-30.el7_9.x86_64
> --> Processing Dependency: libbasicobjects.so.0()(64bit) for package: 
> gssproxy-0.7.0-30.el7_9.x86_64
> ---> Package keyutils.x86_64 0:1.5.8-3.el7 will be installed
> ---> Package libevent.x86_64 0:2.0.21-4.el7 will be installed
> ---> Package libnfsidmap.x86_64 0:0.25-19.el7 will be installed
> ---> Package libtirpc.x86_64 0:0.2.4-0.16.el7 will be installed
> ---> Package lustre-osd-zfs-mount.x86_64 0:2.12.8_6_g5457c37-1.el7 
> will be installed
> --> Processing Dependency: libzfs.so.2()(64bit) for package: 
> lustre-osd-zfs-mount-2.12.8_6_g5457c37-1.el7.x86_64
> Package libzfs2 is obsoleted by libzfs4, but obsoleting package does 
> not provide for requirements
> --> Processing Dependency: libnvpair.so.1()(64bit) for package: 
> lustre-osd-zfs-mount-2.12.8_6_g5457c37-1.el7.x86_64
> Package libnvpair1-0.8.6-1.el7.x86_64 is obsoleted by 
> libnvpair3-2.0.7-1.el7.x86_64 which is already installed
> ---> Package quota.x86_64 1:4.01-19.el7 will be installed
> --> Processing Dependency: quota-nls = 1:4.01-19.el7 for package: 
> 1:quota-4.01-19.el7.x86_64
> --> Processing Dependency: tcp_wrappers for package: 
> 1:quota-4.01-19.el7.x86_64
> ---> Package rpcbind.x86_64 0:0.2.0-49.el7 will be installed
> --> Running transaction check
> ---> Package libbasicobjects.x86_64 0:0.1.1-32.el7 will be installed
> ---> Package libcollection.x86_64 0:0.7.0-32.el7 will be installed
> ---> Package libini_config.x86_64 0:1.3.1-32.el7 will be installed
> --> Processing Dependency: libpath_utils.so.1(PATH_UTILS_0.2.1)(64bit) 
> for package: libini_config-1.3.1-32.el7.x86_64
> --> Processing Dependency: libpath_utils.so.1()(64bit) for package: 
> libini_config-1.3.1-32.el7.x86_64
> ---> Package libref_array.x86_64 0:0.1.5-32.el7 will be installed
> ---> Package libverto-tevent.x86_64 0:0.2.5-4.el7 will be installed
> ---> Package lustre-osd-zfs-mount.x86_64 0:2.12.8_6_g5457c37-1.el7 
> will be installed
> --> Processing Dependency: libzfs.so.2()(64bit) for package: 
> lustre-osd-zfs-mount-2.12.8_6_g5457c37-1.el7.x86_64
> Package libzfs2 is obsoleted by libzfs4, but obsoleting package does 
> not provide for requirements
> --> Processing Dependency: libnvpair.so.1()(64bit) for package: 
> lustre-osd-zfs-mount-2.12.8_6_g5457c37-1.el7.x86_64
> Package libnvpair1-0.8.6-1.el7.x86_64 is obsoleted by 
> libnvpair3-2.0.7-1.el7.x86_64 which is already installed
> ---> Package quota-nls.noarch 1:4.01-19.el7 will be installed
> ---> Package tcp_wrappers.x86_64 0:7.6-77.el7 will be installed
> --> Running transaction check
> ---> Package libpath_utils.x86_64 0:0.2.1-32.el7 will be installed
> ---> Package lustre-osd-zfs-mount.x86_64 0:2.12.8_6_g5457c37-1.el7 
> will be installed
> --> Processing Dependency: libzfs.so.2()(64bit) for package: 
> lustre-osd-zfs-mount-2.12.8_6_g5457c37-1.el7.x86_64
> Package libzfs2 is obsoleted by libzfs4, but obsoleting package does 
> not provide for requirements
> --> Processing Dependency: libnvpair.so.1()(64bit) for package: 
> lustre-osd-zfs-mount-2.12.8_6_g5457c37-1.el7.x86_64
> Package libnvpair1-0.8.6-1.el7.x86_64 is obsoleted by 
> libnvpair3-2.0.7-1.el7.x86_64 which is already installed
> --> Finished Dependency Resolution
> Error: Package: lustre-osd-zfs-mount-2.12.8_6_g5457c37-1.el7.x86_64 
> (lustre-server)
>            Requires: libzfs.so.2()(64bit)
>            Available: libzfs2-0.7.13-1.el7.x86_64 (lustre-server)
>                libzfs.so.2()(64bit)
>            Available: libzfs2-0.8.5-1.el7.x86_64 (zfs)
>                libzfs.so.2()(64bit)
>            Available: libzfs2-0.8.6-1.el7.x86_64 (zfs)
>                libzfs.so.2()(64bit)
> Error: Package: lustre-osd-zfs-mount-2.12.8_6_g5457c37-1.el7.x86_64 
> (lustre-server)
>            Requires: libnvpair.so.1()(64bit)
>            Available: libnvpair1-0.7.13-1.el7.x86_64 (lustre-server)
>                libnvpair.so.1()(64bit)
>            Available: libnvpair1-0.8.5-1.el7.x86_64 (zfs)
>                libnvpair.so.1()(64bit)
>            Available: libnvpair1-0.8.6-1.el7.x86_64 (zfs)
>                libnvpair.so.1()(64bit)
>  You could try using --skip-broken to work around the problem
>  You could try running: rpm -Va --nofiles --nodigest
>
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20220406/caf667a1/attachment-0001.html>


More information about the lustre-discuss mailing list