[LU-17061] Python2 references in lustre-client-dkms 2.15.2 and 2.15.3 Created: 29/Aug/23  Updated: 03/Nov/23

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

Type: Bug Priority: Major
Reporter: Roger Sersted Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None
Environment:

AlmaLinux release 9.2 (Turquoise Kodkod)
Kernel: 5.14.0-284.18.1.el9_2.x86_64

Servers:
CentOS Linux release 7.9.2009 (Core)
3.10.0-1160.49.1.el7_lustre.x86_64
Lustre 2.12.9


Issue Links:
Related
is related to LU-16585 Don't use or check for python2 for lu... Resolved
is related to LU-16626 Don't use or check for python2 for lu... Resolved
Epic/Theme: client
Rank (Obsolete): 9223372036854775807

 Description   

Lustre Client 2.15.3 will not work with the above OS release.  I tried the DKMS client, but got the following error:

error: Failed dependencies:
        /usr/bin/python2 is needed by lustre-client-dkms-2.15.3-1.el9.noarch

I tried downgrading the kernel to 5.14.0-284.11.1.el9_2.x86_64 which the kmod Lustre client couldn't recognize the IB network.  I did some searching and found RH Problem/solution (Lustre client crashes) with bugzilla 2189349. That issue was resolved in the kernel I'm attempting to use (5.14.0-284.18.1.el9_2.x86_64), change log - mm/filemap: fix page end in filemap_get_read_batch (Nico Pache) [2189349 2181263].

Then I saw LU-16242 which documents the problem of python2 referenced in the lustre-client-dkms RPM. But that isn't scheduled until 2.16. How do I install Lustre on a RHEL/AlmaLinux 9.2 system? The release notes state that 9.2 is supported.



 Comments   
Comment by Andreas Dilger [ 30/Aug/23 ]

It looks like this issue with Python2 has been fixed in LU-16626, as referenced in LU-16242. I've already ported that patch https://review.whamcloud.com/51426 "LU-16626 build: remove python2 dependencies" to b2_15, but it is a trivial patch and could be applied to the build system to avoid this minor dependency.

Comment by Andreas Dilger [ 30/Aug/23 ]

It looks like there is also a second patch https://review.whamcloud.com/52176 "LU-16585 build: remove python2 dependencies" with a confusingly similar description but a different bug number that is removing the python2 dependencies from Debian builds. I've just cherry-picked this to b2_15 also.

Comment by Roger Sersted [ 21/Sep/23 ]

Is there an RPM with the referenced fixes I could download? I checked lustre.org and there's been no update.

Comment by Peter Jones [ 22/Sep/23 ]

Roger

The fix is already in b2_15-next so will likely be merged to b2_15 shortly and in the upcoming 2.15.4 release

Peter

Comment by Roger Sersted [ 05/Oct/23 ]

When will 2.15.4 be released? I need to give an answer to upper management when they ask about this. I've been stalling on the upgrade and users are losing patience.

Comment by Peter Jones [ 06/Oct/23 ]

Best case scenario is by the end of the year - we won't issue the release until we have RHEL 8.9 support available and that likely will not be available for a month or so.

Comment by Peter Jones [ 19/Oct/23 ]

Patch has been merged to b2_15

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