Details

    • 9223372036854775807

    Description

      This is effectively porting the initd version of the lnet service to systemd. This ticket should:

      1. Create an lnet systemd unit file
      2. Correctly determine if systemd is on the target system and setup the rpm to install the unit file and enable the service

      Attachments

        Issue Links

          Activity

            [LU-9439] Introduce an lnet systemd service

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/28106/
            Subject: LU-9439 scripts: add lnet script in .gitignore
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 6ca43d539b2856d68d330023f04643f9e09a8cfa

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/28106/ Subject: LU-9439 scripts: add lnet script in .gitignore Project: fs/lustre-release Branch: master Current Patch Set: Commit: 6ca43d539b2856d68d330023f04643f9e09a8cfa

            Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: https://review.whamcloud.com/28106
            Subject: LU-9439 scripts: add lnet script in .gitignore
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 67305d237d75b608f49a7e264b6cef971e8c7494

            gerrit Gerrit Updater added a comment - Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: https://review.whamcloud.com/28106 Subject: LU-9439 scripts: add lnet script in .gitignore Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 67305d237d75b608f49a7e264b6cef971e8c7494

            LU-9655 for the file redirection fix.

            dinatale2 Giuseppe Di Natale (Inactive) added a comment - LU-9655 for the file redirection fix.

            I'll go ahead and submit a patch to correct that today.

            dinatale2 Giuseppe Di Natale (Inactive) added a comment - I'll go ahead and submit a patch to correct that today.

            lnetctl handles both redirection and just providing it a file name directly. So that change proposed should work.

            ashehata Amir Shehata (Inactive) added a comment - lnetctl handles both redirection and just providing it a file name directly. So that change proposed should work.

            I believe the redirect on line 16 of the systemd lnet.service.in file causes failure on startup. Switching "lnetctl import < /etc/lnet.conf" to "lnetctl import /etc/lnet.conf" on the installed lnet.service file seems to work fine.

            If redirection is necessary for systemd service files, I've seen people do things like:
            ExecStart=/bin/sh -c '/usr/sbin/lnetctl import < /etc/lnet.conf'

            -Nate

            nathan.crawford@uci.edu Nathan Crawford added a comment - I believe the redirect on line 16 of the systemd lnet.service.in file causes failure on startup. Switching "lnetctl import < /etc/lnet.conf" to "lnetctl import /etc/lnet.conf" on the installed lnet.service file seems to work fine. If redirection is necessary for systemd service files, I've seen people do things like: ExecStart=/bin/sh -c '/usr/sbin/lnetctl import < /etc/lnet.conf' -Nate
            pjones Peter Jones added a comment -

            Landed for 2.10

            pjones Peter Jones added a comment - Landed for 2.10

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26971/
            Subject: LU-9439 scripts: Provide a sample lnet.conf file
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 25ee73e7733214f7a46f81b2540b7fca67b0eef1

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26971/ Subject: LU-9439 scripts: Provide a sample lnet.conf file Project: fs/lustre-release Branch: master Current Patch Set: Commit: 25ee73e7733214f7a46f81b2540b7fca67b0eef1

            Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27213/
            Subject: LU-9439 scripts: Change behavior of lustre_rmmod
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: c6e5f4069edaecb8461df2d03566bd5e333b8a5c

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27213/ Subject: LU-9439 scripts: Change behavior of lustre_rmmod Project: fs/lustre-release Branch: master Current Patch Set: Commit: c6e5f4069edaecb8461df2d03566bd5e333b8a5c

            Giuseppe Di Natale (dinatale2@llnl.gov) uploaded a new patch: https://review.whamcloud.com/27214
            Subject: LU-9439 scripts: lnet systemd service
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 1656727e8ab2fa2b5d29d7f356f2c45131db6bae

            gerrit Gerrit Updater added a comment - Giuseppe Di Natale (dinatale2@llnl.gov) uploaded a new patch: https://review.whamcloud.com/27214 Subject: LU-9439 scripts: lnet systemd service Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 1656727e8ab2fa2b5d29d7f356f2c45131db6bae

            People

              dmiter Dmitry Eremin (Inactive)
              dinatale2 Giuseppe Di Natale (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: