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

Ubuntu dkms packages do not list all dependancies required

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0, Lustre 2.15.0
    • Lustre 2.14.0
    • None
    • Ubuntu 18.04 and Ubuntu 20.04
    • 9223372036854775807

    Description

      When you try and install a lustre-client-modules-dkms package on a clean upstream ubuntu image then installation fails unless a number of other packages are installed in advance.

       

      Adding the following patch to lustre 2.14.0 appears to solve the issue.

      From d9b448a0cc81830345e5f8ab081fc5e24046e4e4 Mon Sep 17 00:00:00 2001
      From: James Beal <jb23@sanger.ac.uk>
      Date: Tue, 14 Sep 2021 11:22:30 +0100
      Subject: [PATCH 1/2] Add packages needed for an install on an upstream cloud
       image---
       debian/control | 2 +-
       1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/debian/control b/debian/control
      index 77a22a2efe..3bc78e783c 100644
      --- a/debian/control
      +++ b/debian/control
      @@ -108,7 +108,7 @@ Package: lustre-client-modules-dkms
       Section: admin
       Architecture: i386 armhf powerpc ppc64el amd64 ia64
       Priority: optional
      -Depends: dkms, automake, libtool, libyaml-dev, linux-headers-generic | linux-headers | linux-headers-amd64, zlib1g
      +Depends: dkms, automake, libtool, libyaml-dev, linux-headers-generic | linux-headers | linux-headers-amd64, zlib1g, python3-distutils, python3-dev, libnl-genl-3-dev, zlib1g-dev, pkg-config
       Recommends: linux-image, lustre-client-utils
       Provides: lustre-client-modules
       Description: Lustre Linux kernel module (DKMS)
      -- 
      2.25.1
      From b280f22cf03b6602024f41b78be73a1aef02c6b7 Mon Sep 17 00:00:00 2001
      From: James Beal <jb23@sanger.ac.uk>
      Date: Tue, 14 Sep 2021 13:58:14 +0100
      Subject: [PATCH 2/2] control.main is copied inside---
       debian/control.main | 2 +-
       1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/debian/control.main b/debian/control.main
      index 77a22a2efe..3bc78e783c 100644
      --- a/debian/control.main
      +++ b/debian/control.main
      @@ -108,7 +108,7 @@ Package: lustre-client-modules-dkms
       Section: admin
       Architecture: i386 armhf powerpc ppc64el amd64 ia64
       Priority: optional
      -Depends: dkms, automake, libtool, libyaml-dev, linux-headers-generic | linux-headers | linux-headers-amd64, zlib1g
      +Depends: dkms, automake, libtool, libyaml-dev, linux-headers-generic | linux-headers | linux-headers-amd64, zlib1g, python3-distutils, python3-dev, libnl-genl-3-dev, zlib1g-dev, pkg-config
       Recommends: linux-image, lustre-client-utils
       Provides: lustre-client-modules
       Description: Lustre Linux kernel module (DKMS)
      -- 
      2.25.1
      

       

       

       

      Attachments

        Activity

          [LU-15005] Ubuntu dkms packages do not list all dependancies required

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47748/
          Subject: LU-15005 build: wrong dependencies for lustre-client-modules deb package
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set:
          Commit: feba0e67fe819e9a3f1cb154f9d324c3ac28e7e4

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47748/ Subject: LU-15005 build: wrong dependencies for lustre-client-modules deb package Project: fs/lustre-release Branch: b2_15 Current Patch Set: Commit: feba0e67fe819e9a3f1cb154f9d324c3ac28e7e4

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47747/
          Subject: LU-15005 build: wrong dependencies for lustre-client-modules deb package
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: b9d818a77b3c33d8d0e907aba1779323792d43ff

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47747/ Subject: LU-15005 build: wrong dependencies for lustre-client-modules deb package Project: fs/lustre-release Branch: master Current Patch Set: Commit: b9d818a77b3c33d8d0e907aba1779323792d43ff

          "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47748
          Subject: LU-15005 build: wrong dependencies for lustre-client-modules deb package
          Project: fs/lustre-release
          Branch: b2_15
          Current Patch Set: 1
          Commit: d746574cd92d612879db0a0ea7c221b41da82dba

          gerrit Gerrit Updater added a comment - "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47748 Subject: LU-15005 build: wrong dependencies for lustre-client-modules deb package Project: fs/lustre-release Branch: b2_15 Current Patch Set: 1 Commit: d746574cd92d612879db0a0ea7c221b41da82dba

          "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47747
          Subject: LU-15005 build: wrong dependencies for lustre-client-modules deb package
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: e0bb0ff54d77553eee54f2efc9892e04f15c3794

          gerrit Gerrit Updater added a comment - "Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47747 Subject: LU-15005 build: wrong dependencies for lustre-client-modules deb package Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: e0bb0ff54d77553eee54f2efc9892e04f15c3794
          pjones Peter Jones added a comment -

          Landed for 2.15

          pjones Peter Jones added a comment - Landed for 2.15

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44999/
          Subject: LU-15005 build: Ubuntu dkms packages missing dependancies
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 98eb212b1b6b1882b0776d16b081f72b04980326

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44999/ Subject: LU-15005 build: Ubuntu dkms packages missing dependancies Project: fs/lustre-release Branch: master Current Patch Set: Commit: 98eb212b1b6b1882b0776d16b081f72b04980326

          "James Beal <james.beal@sanger.ac.uk>" uploaded a new patch: https://review.whamcloud.com/44999
          Subject: LU-15005 build: Ubuntu dkms packages missing dependancies
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 446dd20f141fe25b75cad39c69944be6c228574d

          gerrit Gerrit Updater added a comment - "James Beal <james.beal@sanger.ac.uk>" uploaded a new patch: https://review.whamcloud.com/44999 Subject: LU-15005 build: Ubuntu dkms packages missing dependancies Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 446dd20f141fe25b75cad39c69944be6c228574d

          People

            james beal James Beal
            james beal James Beal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: