[LU-5465] Enhancements to Lustre DKMS RPM Created: 08/Aug/14  Updated: 16/Mar/16  Resolved: 16/Mar/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.8.0

Type: Bug Priority: Minor
Reporter: Bruno Faccini (Inactive) Assignee: Bruno Faccini (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-1032 Add dkms support for kernel modules Resolved
is related to LU-6062 lustre-initialization-1: mount.lustre... Resolved
Sub-Tasks:
Key
Summary
Type
Status
Assignee
LU-5941 make lustre-dkms require 2.2.0.3-28.g... Technical task Resolved Minh Diep  
Severity: 3
Rank (Obsolete): 15223

 Description   

This ticket is used to track enhancements that appear to be required during Lustre DKMS RPM build/testing integration in our build/tests infrastructures

This is a follow-on to LU-1032 main ticket that introduced DKMS usage/need for Lustre.



 Comments   
Comment by Bruno Faccini (Inactive) [ 08/Aug/14 ]

1st patch is at http://review.whamcloud.com/11381, to address case where SPL/ZFS have only been "added" (vs "build" and/or "install") in DKMS terminology and be able to dynamically find their respective version anyway in Lustre DKMS RPM dkms.conf script. This should strengthen Lustre DKMS install and automatic build.

Comment by Bruno Faccini (Inactive) [ 05/Sep/14 ]

2nd patch is at http://review.whamcloud.com/11776, to strengthen Lustre DKMS RPM install vs legacy lustre-osd and lustre-modules RPMs already installed, with more Provides/Conflicts statements spec file.

Comment by Brian Murrell (Inactive) [ 20/Oct/14 ]

bfaccini: With http://review.whamcloud.com/11776, shouldn't the osd_zfs.ko module also be removed from the lustre-osd-zfs RPM? Is that being tracked somewhere else?

Comment by Bruno Faccini (Inactive) [ 21/Oct/14 ]

Brian: I was not aware of the fact that mount_osd_[zfs,ldiskfs].so libs are now part of lustre-osd-[zfs,ldiskfs] RPMs, but this seems to come from a recently integrated fix (Gerrit Change #10654, with commit adf2e9d9ab987b46fa0269038f348cf2a17fd0e0, for LU-5104). In fact, I don't know presently how we can fix this, because of LU-2391 osd_[zfs,ldiskfs].ko have been packaged in their own RPMs, and at that time they were not expected to contain something else than back-end specific Kernel modules ...

Comment by Bruno Faccini (Inactive) [ 21/Oct/14 ]

I have re-opened LU-5104 to point to this functionality/compatibility problem between both tickets/changes.

Comment by Brian Murrell (Inactive) [ 21/Oct/14 ]

bfaccini: Are you sure about that? Change 10654 only wraps the:

%{_libdir}/@PACKAGE@/mount_osd_ldiskfs.so

that's already in the osd-ldiskfs with a:

%if %{with lustre_utils}
...
%endif

mount_osd_ldiskfs.so seems to have actually been added to the osd-ldiskfs package by LU-4606 in change 10193 from what I can see.

Maybe what needs to happen here is that lustre-osd-ldiskfs needs to be split into lustre-osd-ldiskfs and kmod-osd-ldiskfs (and of course the same for the ZFS osd module). Then lustre-dkms can provide/conflicts the kmod-osd zfs and ldiskfs packages and the lustre-osd zfs and ldiskfs packages can continue to provide the userspace hooks.

Comment by Bruno Faccini (Inactive) [ 21/Oct/14 ]

Oops, you are right, I have been to quick on this ... Will re-close LU-5104 and work on this in LU-4606!

Comment by Gerrit Updater [ 02/Oct/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/11776/
Subject: LU-5465 build: strengthen Lustre DKMS RPM install
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 7d31575a5e2a488c289ce17a2d7a766d8856adf4

Comment by Joseph Gmitter (Inactive) [ 16/Mar/16 ]

The patches needed for this work landed in 2.8

Generated at Sat Feb 10 01:51:43 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.