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

lustre RPM dependencies don't work with lustre-dkms server package

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.10.0
    • Lustre 2.9.0, Lustre 2.10.0
    • 3
    • 9223372036854775807

    Description

      Keith reported that the lustre userspace tools RPM requires the kmod-lustre package to be installed even when using the lustre-dkms generated modules. The lustre-2.9.50_1_g49d7617 RPM package Requires kmod-lustre = 2.9.50_1_g49d7617 dependency (for example). This means that the user tools can't be used easily with the lustre-dkms package. I'm not sure what the right solution is - either the lustre-dkms package Provides kmod-lustre with the appropriate version, or lustre requires only a generic package like lustre-modules >= some version or similar. At some point, we won't even be able to Require lustre-modules or kmod-lustre, since the modules in the upstream kernel RPM will not provide this component. Maybe we should just remove the link between the kernel modules and the userspace tools, and just ensure that the kernel components trigger the right dependencies (i.e. lustre-osd-zfs Requires lustre-osd-zfs-mount, which I think works today) to ensure people install the right packages.

      Attachments

        Issue Links

          Activity

            [LU-8934] lustre RPM dependencies don't work with lustre-dkms server package
            utopiabound Nathaniel Clark made changes -
            Link New: This issue is duplicated by LU-9299 [ LU-9299 ]
            pjones Peter Jones made changes -
            Link New: This issue is related to LDEV-567 [ LDEV-567 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.10.0 [ 12204 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            utopiabound Nathaniel Clark made changes -
            Affects Version/s New: Lustre 2.10.0 [ 12204 ]
            adilger Andreas Dilger made changes -
            Assignee Original: WC Triage [ wc-triage ] New: Dmitry Eremin [ dmiter ]
            adilger Andreas Dilger made changes -
            Description Original: Keith reported that the {{lustre}} userspace tools RPM requires the {{kmod-lustre}} package to be installed even when using the {{lustre-dkms}} generated modules. The {{lustre-2.9.50_1_g49d7617}}{{}} RPM package Requires {{kmod-lustre = 2.9.50_1_g49d7617}} dependency (for example). This means that the user tools can't be used easily with the {{lustre-dkms}} package. I'm not sure what the right solution is - either the {{lustre-dkms}} package Provides {{kmod-lustre}} with the appropriate version, or {{lustre}} requires only a generic package like {{lustre-modules}} {{>= some version}} or similar. At some point, we won't even be able to Require {{lustre-modules}} or {{kmod-lustre}}, since the modules in the upstream kernel RPM will not provide this component. Maybe we should just remove the link between the kernel modules and the userspace tools, and just ensure that the kernel components trigger the right dependencies (i.e. {{lustre-osd-zfs}} Requires {{lustre-osd-zfs-mount}}, which I think works today) to ensure people install the right packages. New: Keith reported that the {{lustre}} userspace tools RPM requires the {{kmod-lustre}} package to be installed even when using the {{lustre-dkms}} generated modules. The {{lustre-2.9.50_1_g49d7617}} RPM package Requires {{kmod-lustre = 2.9.50_1_g49d7617}} dependency (for example). This means that the user tools can't be used easily with the {{lustre-dkms}} package. I'm not sure what the right solution is - either the {{lustre-dkms}} package Provides {{kmod-lustre}} with the appropriate version, or {{lustre}} requires only a generic package like {{lustre-modules >= some version}} or similar. At some point, we won't even be able to Require {{lustre-modules}} or {{kmod-lustre}}, since the modules in the upstream kernel RPM will not provide this component. Maybe we should just remove the link between the kernel modules and the userspace tools, and just ensure that the kernel components trigger the right dependencies (i.e. {{lustre-osd-zfs}} Requires {{lustre-osd-zfs-mount}}, which I think works today) to ensure people install the right packages.
            adilger Andreas Dilger created issue -

            People

              dmiter Dmitry Eremin (Inactive)
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: