[LU-8934] lustre RPM dependencies don't work with lustre-dkms server package Created: 13/Dec/16  Updated: 04/Oct/17  Resolved: 09/Mar/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.9.0, Lustre 2.10.0
Fix Version/s: Lustre 2.10.0

Type: Bug Priority: Minor
Reporter: Andreas Dilger Assignee: Dmitry Eremin (Inactive)
Resolution: Fixed Votes: 0
Labels: RPM, packaging

Issue Links:
Duplicate
is duplicated by LU-9299 lustre-client-dkms provides lustre-cl... Resolved
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Keith reported that the lustre userspace tools RPM requires the kmod-lustre package to be installed even when using the lustre-dkms generated modules. The lustre-2.9.50_1_g49d7617 RPM package Requires kmod-lustre = 2.9.50_1_g49d7617 dependency (for example). This means that the user tools can't be used easily with the lustre-dkms package. I'm not sure what the right solution is - either the lustre-dkms package Provides kmod-lustre with the appropriate version, or lustre requires only a generic package like lustre-modules >= some version or similar. At some point, we won't even be able to Require lustre-modules or kmod-lustre, since the modules in the upstream kernel RPM will not provide this component. Maybe we should just remove the link between the kernel modules and the userspace tools, and just ensure that the kernel components trigger the right dependencies (i.e. lustre-osd-zfs Requires lustre-osd-zfs-mount, which I think works today) to ensure people install the right packages.



 Comments   
Comment by Andreas Dilger [ 13/Dec/16 ]

Dmitry, could you please take a look.

Comment by Gerrit Updater [ 13/Feb/17 ]

Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: https://review.whamcloud.com/25417
Subject: LU-8934 spec: Use correct provides in lustre-dkms
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 34a7cb90cf32bd4fdde1220a4afd29ff04989d7b

Comment by Gerrit Updater [ 09/Mar/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25417/
Subject: LU-8934 spec: Use correct provides in lustre-dkms
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: d4778ad25799ac83edd4ac784aa5314fac9f8b23

Comment by Peter Jones [ 09/Mar/17 ]

Landed for 2.10

Generated at Sat Feb 10 02:21:48 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.