Thanks Andreas - We tried the patch, it looks like there is also one other script that also use python2:
contrib/scripts/gerrit_checkpatch.py With both fixed, the dkms rpm appears to be built without the python2 dependency, and dkms builds and installs the modules fine. Many Thanks, Christopher. ________________________________________ From: Andreas Dilger <[email protected]> Sent: 23 June 2023 19:15 To: Mountford, Christopher J. (Dr.) Cc: [email protected] Subject: Re: [lustre-discuss] Rocky 9.2/lustre 2.15.3 client questions ***CAUTION:*** This email was sent from an EXTERNAL source. Think before clicking links or opening attachments. Applying the LU-16626 patch locally should fix the issue, and has no risk since it is only fixing a build issue that affects an obscure diagnostic tool. That said, I've cherry-picked that patch back to b2_15, so it should be included into 2.15.4. https://review.whamcloud.com/51426<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Freview.whamcloud.com%2F51426&data=05%7C01%7Ccjm14%40leicester.ac.uk%7C56259797bfa84d45884a08db7415cb04%7Caebecd6a31d44b0195ce8274afe853d9%7C0%7C0%7C638231409182358010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=7Aj0N6n%2FTdx86vmukVcZ4Nitx4lx4%2FE1W2Bvo%2BGiDcM%3D&reserved=0> Cheers, Andreas On Jun 23, 2023, at 05:04, Mountford, Christopher J. (Dr.) via lustre-discuss <[email protected]> wrote: Hi, I'm building the lustre client/kernel modules for our new HPC cluster and have a couple of questions: 1) Are there any known issues running lustre 2.15.3 clients and lustre 2.12.9 servers? I haven't seen anything showstopping on the mailing list or in JIRA but wondered if anyone had run into problems. 2) Is it possible to get the dkms kernel rpm to work with Rocky/RHEL 9.2? If I try to install the lustre-client-dkms rpm I get the following error: error: Failed dependencies: /usr/bin/python2 is needed by lustre-client-dkms-2.15.3-1.el9.noarch - Not surprisingly as I understand that python2 is not available for rocky/rhel 9 I see there is a patch for 2.16 (from LU-16626). Not a major problem as I can build kmod-lustre-client rpms for our kernel/ofed, but I would prefer to use dkms if possible. Kind Regards, Christopher. ------------------------------------ Dr. Christopher Mountford, System Specialist, RCS, Digital Services. _______________________________________________ lustre-discuss mailing list [email protected] http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org _______________________________________________ lustre-discuss mailing list [email protected] http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
