Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-16626

Don't use or check for python2 for lustre-zfs-dkms rpm

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0, Lustre 2.15.4
    • Lustre 2.16.0
    • None
    • 3
    • 9223372036854775807

    Description

      2023-03-09T04:43:04 trevis-99vm3 - Yum installing lustre-osd-zfs...
      2023-03-09T04:43:04 trevis-99vm3 - Attempt 1
      2023-03-09T04:43:06 trevis-99vm3 - yum install completed: out=[Updating Subscription Management repositories.
      Last metadata expiration check: 0:12:10 ago on Thu 09 Mar 2023 04:30:56 AM UTC.
      (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
      ] err=[Error: 
       Problem: conflicting requests
        - nothing provides /usr/bin/python2 needed by lustre-all-dkms-2.15.54_62_g7bc5c20-1.el9.noarch
        - nothing provides kernel-debuginfo-common-x86_64 needed by lustre-all-dkms-2.15.54_62_g7bc5c20-1.el9.noarch
        - nothing provides /usr/bin/python2 needed by lustre-zfs-dkms-2.15.54_62_g7bc5c20-1.el9.noarch
      ] status=[pid 10915 exit 1]
      

      https://testing.whamcloud.com/test_sets/fc1e57ba-4aff-43b3-bf14-4ab2bf4ecb69

      Attachments

        Issue Links

          Activity

            [LU-16626] Don't use or check for python2 for lustre-zfs-dkms rpm

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51426/
            Subject: LU-16626 build: remove python2 dependencies
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set:
            Commit: 53f40033ccf9eeb4155b18f4046f33b19252aa18

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51426/ Subject: LU-16626 build: remove python2 dependencies Project: fs/lustre-release Branch: b2_15 Current Patch Set: Commit: 53f40033ccf9eeb4155b18f4046f33b19252aa18

            "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51426
            Subject: LU-16626 build: remove python2 dependencies
            Project: fs/lustre-release
            Branch: b2_15
            Current Patch Set: 1
            Commit: c1c2850089fd5fb04f883be45fee3ebb4b67496c

            gerrit Gerrit Updater added a comment - "Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51426 Subject: LU-16626 build: remove python2 dependencies Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: c1c2850089fd5fb04f883be45fee3ebb4b67496c
            pjones Peter Jones added a comment -

            Landed for 2.16

            pjones Peter Jones added a comment - Landed for 2.16

            "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50241/
            Subject: LU-16626 build: remove python2 dependencies
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 404a1e827b0a9d86864695c8699e1ca076be6c9d

            gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50241/ Subject: LU-16626 build: remove python2 dependencies Project: fs/lustre-release Branch: master Current Patch Set: Commit: 404a1e827b0a9d86864695c8699e1ca076be6c9d
            yujian Jian Yu added a comment -

            Thank you, Alex.

            yujian Jian Yu added a comment - Thank you, Alex.
            Deiter Alex Deiter added a comment - Hello yujian , Please review: https://review.whamcloud.com/c/fs/lustre-release/+/50241 Thank you!

            "Alex Deiter <alex.deiter@gmail.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50241
            Subject: LU-16626 build: remove python2 dependencies
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: ca45e33b8846e0cedca393109b4f846b53133824

            gerrit Gerrit Updater added a comment - "Alex Deiter <alex.deiter@gmail.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50241 Subject: LU-16626 build: remove python2 dependencies Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: ca45e33b8846e0cedca393109b4f846b53133824
            yujian Jian Yu added a comment -

            Hi Deiter,
            Could you please help with this?
            I'm not sure if just changing python2 to python3 in the shebang line in lustre/scripts/zfsobj2fid works.

            yujian Jian Yu added a comment - Hi Deiter , Could you please help with this? I'm not sure if just changing python2 to python3 in the shebang line in lustre/scripts/zfsobj2fid works.
            yujian Jian Yu added a comment -
            lustre/scripts/zfsobj2fid:1:#!/usr/bin/env python2
            
            yujian Jian Yu added a comment - lustre/scripts/zfsobj2fid:1:#!/usr/bin/env python2

            People

              Deiter Alex Deiter
              yujian Jian Yu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: