[lustre-discuss] lustre-client-dkms-2.15.4 is still checking for python2

Andreas Dilger adilger at whamcloud.com
Tue Feb 6 16:48:50 PST 2024


I've cherry-picked patch https://review.whamcloud.com/53947 "LU-15655<https://jira.whamcloud.com/browse/LU-15655> contrib: update branch_comm to python3" to b2_15 to avoid this issue in the future.  This script is for developers and does not affect functionality of the filesystem at all.

Cheers, Andreas

On Jan 30, 2024, at 06:32, BALVERS Martin <Martin.BALVERS at danone.com<mailto:Martin.BALVERS at danone.com>> wrote:

I found the file that still references python2.
The file contrib/scripts/branch_comm contains ‘#!/usr/bin/env python2’
After changing that to python3 and building the dkms-rpm I can install the generated lustre-client-dkms-2.15.4-1.el9.noarch.rpm on AlmaLinux 9.3

I have no idea what that script does, or if it functions with python2 instead of python2 as env.

Gr,
Martin Balvers

From: Andreas Dilger <adilger at whamcloud.com<mailto:adilger at whamcloud.com>>
Sent: Tuesday, January 23, 2024 23:32
To: BALVERS Martin <Martin.BALVERS at danone.com<mailto:Martin.BALVERS at danone.com>>
Subject: Re: [lustre-discuss] lustre-client-dkms-2.15.4 is still checking for python2

** Caution - this is an external email **
Installing the DKMS is fine.  You can ignore the python2 dependency.

If you can debug *why* it is depending on python2 then a patch would be welcome.  Please see:
https://wiki.whamcloud.com/display/PUB/Patch+Landing+Process+Summary<https://urldefense.com/v3/__https:/wiki.whamcloud.com/display/PUB/Patch*Landing*Process*Summary__;Kysr!!OUGTln_Lrg!TSAUkm-KG6g2Ob7CpfNbcImVqN6e_mSdQocM9kETERfenX3rfkHU00V-2RczCQWF6vPTtoWDCZ5zBMdFI2kTzA$>


On Jan 23, 2024, at 01:37, BALVERS Martin <Martin.BALVERS at danone.com<mailto:Martin.BALVERS at danone.com>> wrote:

I have always installed both… Hasn’t caused issues luckily.

The binary installs, but the dkms version insists it needs python2.
If I use the binary, it will break with every minor kernel version update right? I’ll have to wait with updating the kernel until the lustre client catches up?

Thanks,
Martin Balvers

From: Andreas Dilger <adilger at whamcloud.com<mailto:adilger at whamcloud.com>>
Sent: Friday, January 19, 2024 20:00
To: BALVERS Martin <Martin.BALVERS at danone.com<mailto:Martin.BALVERS at danone.com>>
Cc: lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>
Subject: Re: [lustre-discuss] lustre-client-dkms-2.15.4 is still checking for python2

** Caution - this is an external email **
It looks like there may be a couple of test tools that are referencing python2, but it definitely isn't needed
for normal operation.  Are you using the lustre-client binary or the lustre-client-dkms?  Only one is needed.

For the short term it would be possible to override this dependency, but it would be good to understand
why this dependency is actually being generated.

On Jan 19, 2024, at 04:06, BALVERS Martin via lustre-discuss <lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>> wrote:

FYI
It seems that lustre-client-dkms-2.15.4 is still checking for python2 and does not install on AlmaLinux 9.3

# dnf --enablerepo=lustre-client install lustre-client lustre-client-dkms
Last metadata expiration check: 0:04:50 ago on Fri Jan 19 11:43:54 2024.
Error:
Problem: conflicting requests
  - nothing provides /usr/bin/python2 needed by lustre-client-dkms-2.15.4-1.el9.noarch from lustre-client
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

According to the changelog this should have been fixed (https://wiki.lustre.org/Lustre_2.15.4_Changelog<https://urldefense.com/v3/__https:/wiki.lustre.org/Lustre_2.15.4_Changelog__;!!OUGTln_Lrg!UFvRWmjp6SVJYjhBBuGKITiKvpICPOjXV_6cu90wK4MQf_w6X1xHXFcuxOYFOaIXkwOtBMGE6qXh1oyHJPdWyA$>).

Regards,
Martin Balvers

Cheers, Andreas
--
Andreas Dilger
Lustre Principal Architect
Whamcloud






Ce message électronique et tous les fichiers attachés qu'il contient sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils sont adressés. Si vous avez reçu ce message par erreur, merci de le retourner à son émetteur. Les idées et opinions présentées dans ce message sont celles de son auteur, et ne représentent pas nécessairement celles de DANONE ou d'une quelconque de ses filiales. La publication, l'usage, la distribution, l'impression ou la copie non autorisée de ce message et des attachements qu'il contient sont strictement interdits.

This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented are solely those of its author and do not necessarily represent those of DANONE or any of its subsidiary companies. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.

Cheers, Andreas
--
Andreas Dilger
Lustre Principal Architect
Whamcloud

Cheers, Andreas
--
Andreas Dilger
Lustre Principal Architect
Whamcloud







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20240207/37fb50e5/attachment-0001.htm>


More information about the lustre-discuss mailing list