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

Please name the RHEL repos using the $releasever yum variable

Details

    • Improvement
    • Resolution: Not a Bug
    • Minor
    • Lustre 2.8.0
    • Lustre 2.7.0
    • None
    • RHEL6, RHEL7
    • 9223372036854775807

    Description

      The lustre 2.7.0 release stores RPMS for RHEL6 under: https://downloads.hpdd.intel.com/public/lustre/lustre-2.7.0/el6.6

      This path is inflexible and cannot be generalized for future RHEL 6 minor release updates (6.X), as there exist no yum variable specifying X.

      Solution:

      • provide a symbolic link el6 -> el6.6, which points to the latest release.

      After that change the lustre yum repo file can just contain for any RHEL version, e.g. for the server :
      ...
      baseurl=https://downloads.hpdd.intel.com/public/lustre/lustre-2.7.0/el$releasever/server
      ...

      Users who want to stay with 6.6 build of lustre will be able to use the explicit:
      .../latest-feature-release/el6.6

      This is the method used for handling minor releases by the official CentOS repositories: http://mirror.centos.org/centos/

      A similar problem exist for https://downloads.hpdd.intel.com/public/lustre/lustre-2.7.0/el7
      which should be a link to 7.0.1406 or whatever version of RHEL 7 lustre has been built against.

      For more information about yum variables see: unix.stackexchange.com/questions/19701/yum-how-can-i-view-variables-like-releasever-basearch-yum0

      Attachments

        Activity

          [LU-6379] Please name the RHEL repos using the $releasever yum variable
          pjones Peter Jones added a comment -

          Great - thanks for confirming Marcin.

          pjones Peter Jones added a comment - Great - thanks for confirming Marcin.
          marcindulak Marcin Dulak added a comment -

          It looks OK for me - the directory structure of https://downloads.hpdd.intel.com/public/lustre/

          {latest-feature-release,lustre-2.7.0}

          contains subdirectories named with el$releasever for both RHEL 6 and 7.

          marcindulak Marcin Dulak added a comment - It looks OK for me - the directory structure of https://downloads.hpdd.intel.com/public/lustre/ {latest-feature-release,lustre-2.7.0} contains subdirectories named with el$releasever for both RHEL 6 and 7.
          mdiep Minh Diep added a comment -

          Hi Marcin

          I have made the change, could you verify?

          mdiep Minh Diep added a comment - Hi Marcin I have made the change, could you verify?

          People

            mdiep Minh Diep
            marcindulak Marcin Dulak
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: