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

dkms-lustre does not install all modules on initial autoinstall

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.10.1, Lustre 2.11.0
    • Lustre 2.10.0
    • None
    • 3
    • 9223372036854775807

    Description

      When I run the following command to install DKMS built Lustre:

      # yum install kernel-devel-[0-9]*_lustre lustre lustre-dkms kmod-lustre-osd-ldiskfs zfs
      
      

      the result after the installation is that only the lustre.ko (built from dkms-lustre) module is in /lib/modules/3.10.0-514.21.1.el7_lustre.x86_64/extra/:

      # ls -l /lib/modules/3.10.0-514.21.1.el7_lustre.x86_64/extra/
      total 4836
      -rw-r--r-- 1 root root 1615824 Jul  7 14:01 lustre.ko
      drwxr-xr-x 3 root root      16 Jul  7 13:55 lustre-osd-ldiskfs
      -rw-r--r-- 1 root root  353632 Jul  7 13:55 splat.ko
      -rw-r--r-- 1 root root  170024 Jul  7 13:55 spl.ko
      -rw-r--r-- 1 root root   14016 Jul  7 13:57 zavl.ko
      -rw-r--r-- 1 root root   75848 Jul  7 13:57 zcommon.ko
      -rw-r--r-- 1 root root 2205152 Jul  7 13:57 zfs.ko
      -rw-r--r-- 1 root root  132488 Jul  7 13:57 znvpair.ko
      -rw-r--r-- 1 root root   34000 Jul  7 13:57 zpios.ko
      -rw-r--r-- 1 root root  330920 Jul  7 13:57 zunicode.ko
      
      

      Notice that all of the other supporting modules are missing.

      After the above, if I then remove the module with dkms uninstall -m lustre/2.10.0_RC1 -k 3.10.0-514.21.1.el7_lustre.x86_64 and then run /etc/kernel/postinst.d/dkms 3.10.0-514.21.1.el7_lustre.x86_64 to emulate what happens during the yum installation above, /lib/modules/3.10.0-514.21.1.el7_lustre.x86_64/extra/ contains all of the necessary Lustre modules.

      So there seems to be some subtle issue with the lustre-dkms RPM that only occurs during the initial installation.

      Attachments

        1. config.log
          726 kB
        2. make.log
          55 kB
        3. transcsript
          61 kB

        Activity

          [LU-9745] dkms-lustre does not install all modules on initial autoinstall
          bhoagland Brad Hoagland (Inactive) made changes -
          Link Original: This issue is related to JFC-21 [ JFC-21 ]
          pjones Peter Jones made changes -
          Labels Original: LTS
          pjones Peter Jones made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          bhoagland Brad Hoagland (Inactive) made changes -
          Link New: This issue is related to JFC-21 [ JFC-21 ]
          mdiep Minh Diep made changes -
          Fix Version/s New: Lustre 2.10.1 [ 13090 ]
          Fix Version/s New: Lustre 2.11.0 [ 13091 ]
          mdiep Minh Diep made changes -
          Labels New: LTS
          utopiabound Nathaniel Clark made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          brian Brian Murrell (Inactive) made changes -
          Attachment New: config.log [ 27729 ]
          Attachment New: make.log [ 27730 ]
          brian Brian Murrell (Inactive) made changes -
          Attachment New: transcsript [ 27717 ]
          utopiabound Nathaniel Clark made changes -
          Link Original: This issue duplicates LDEV-85 [ LDEV-85 ]

          People

            utopiabound Nathaniel Clark
            brian Brian Murrell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: