[LU-16967] Split LNDs into sub-packages so MOFED and in-kernel OFED can co-exist in the same repo Created: 16/Jul/23  Updated: 10/Jan/24

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Shaun Tancheff Assignee: Shaun Tancheff
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Related
is related to LU-17398 Quash rpmbuild false warning due to %... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

For large / diverse environments a mix of in-kernel and mofed (and possibly other LNDs) would like to co-exist in a single repo with the same version of lustre.

Current MOFED ko2iblnd and in-kernel ko2iblnd conflict, put them in separate packages so the can be installed independently.

To be consistent place all the LNDs into separate packages.

Enable this feature using --with lndpkgs



 Comments   
Comment by Gerrit Updater [ 16/Jul/23 ]

"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51692
Subject: LU-16967 build: Separate lnet LND packaging
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 8998dbc797a792a0d2dfbdb5ecf06139e26f205e

Comment by Gerrit Updater [ 16/Sep/23 ]

"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52397
Subject: LU-16967 build: Separate lnet LND deb packaging
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 69c6757b701c57eb8ba715f39df87465cf9795f5

Comment by Gerrit Updater [ 13/Dec/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51915/
Subject: LU-16967 build: Add in-kernel-ko2iblnd driver
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 8b1d2a72f10e8486ff83e4c5a22420232246b582

Comment by Gerrit Updater [ 13/Dec/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51692/
Subject: LU-16967 build: Separate lnet LND rpm packaging
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 67cd54d05d0ced81cd7c2c40e58b1707e89bc4fa

Comment by Andreas Dilger [ 05/Jan/24 ]

It looks like this patch has introduced a build failure on MOFED:
https://build.whamcloud.com/job/lustre-master-ib/839/

13:35:29 sh: -c: line 0: syntax error near unexpected token `)'
13:35:29 sh: -c: line 0: `)'
13:35:29 warning: Macro expanded in comment on line 261: %()

Shaun, could you please take a look.

Comment by Andreas Dilger [ 08/Jan/24 ]

Shaun's patch https://review.whamcloud.com/53604 "LU-17398 build: quash rpmbuild false warning" fixes the above syntax error and warning, but does not resolve the build problems with MOFED. It looks like the build is still failing with:

 error: Failed build dependencies:
 mlnx-ofa_kernel-devel is needed by lustre-client-2.15.60_12_g137ce16-1.el8.x86_64

It seems possible that the mlnx-ofa_kernel-devel package is not being built and/or installed properly by lbuild after the recent changes to the build process in patch https://review.whamcloud.com/51692 "LU-16967 build: Separate lnet LND rpm packaging"?

Comment by Andreas Dilger [ 09/Jan/24 ]

Shaun, just to confirm, with the patches from this ticket (and the fixes fromLU-17398), is it possible to generate both the in-kernel-o2oblnd and MOFED o2iblnd RPMs with a single build? Or does it still need multiple build passes to build the separate packages?

Comment by Shaun Tancheff [ 10/Jan/24 ]

Yes, you can now build in-kernel-o2iblnd and MOFED o2iblnd RPMsin a single build.

Generated at Sat Feb 10 03:31:29 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.