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

Don’t deploy the “lustre” init script on clients

Details

    • 12877

    Description

      The "lustre" init script, etc/rc.d/init.d/lustre, is I think intended for use on Lustre servers only. Can it be removed from the payload for client nodes?

      Attachments

        Activity

          [LU-4707] Don’t deploy the “lustre” init script on clients
          haasken Ryan Haasken added a comment -

          Thanks Dmitry. I've opened LU-5454 to get the lnet init script ported to SLES.

          /etc/init.d/functions and /etc/sysconfig/network are specific to RHEL, but as far as I can tell, it's not using anything in /etc/init.d/functions.

          haasken Ryan Haasken added a comment - Thanks Dmitry. I've opened LU-5454 to get the lnet init script ported to SLES. /etc/init.d/functions and /etc/sysconfig/network are specific to RHEL, but as far as I can tell, it's not using anything in /etc/init.d/functions.

          I don't know why those scripts are specific to Red Hat distributive but those scripts are enabled if /etc/init.d/functions and /etc/sysconfig/network files exists.

          dmiter Dmitry Eremin (Inactive) added a comment - I don't know why those scripts are specific to Red Hat distributive but those scripts are enabled if /etc/init.d/functions and /etc/sysconfig/network files exists.
          haasken Ryan Haasken added a comment -

          The above change also has the side-effect that the lnet init script will not be included for non-redhat builds due to the "if INIT_SCRIPTS" check in lustre/scripts/Makefile.am.

          Why do the init scripts not support a non-redhat environment? As far as I can tell, it actually looks like the lnet init script doesn't use anything from the redhat-specific /etc/rc.d/init.d/functions, and it would work on a SLES machine.

          haasken Ryan Haasken added a comment - The above change also has the side-effect that the lnet init script will not be included for non-redhat builds due to the "if INIT_SCRIPTS" check in lustre/scripts/Makefile.am. Why do the init scripts not support a non-redhat environment? As far as I can tell, it actually looks like the lnet init script doesn't use anything from the redhat-specific /etc/rc.d/init.d/functions, and it would work on a SLES machine.

          Patch landed to b2_5 for 2.5.2.

          adilger Andreas Dilger added a comment - Patch landed to b2_5 for 2.5.2.
          dmiter Dmitry Eremin (Inactive) added a comment - patch for b2_5: http://review.whamcloud.com/9940 patch for b2_4: http://review.whamcloud.com/9941

          Patch have landed to master.

          dmiter Dmitry Eremin (Inactive) added a comment - Patch have landed to master.
          dmiter Dmitry Eremin (Inactive) added a comment - Patch is http://review.whamcloud.com/9535

          this is a Lustre bug - converting to an LU ticket, per IML triage meeting.

          agarcia Andrea Garcia (Inactive) added a comment - this is a Lustre bug - converting to an LU ticket, per IML triage meeting.

          People

            dmiter Dmitry Eremin (Inactive)
            malkolm Malcolm Cowe (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: