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

lctl network down shouldn't error with "LNET unconfigure error 19"

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.10.0
    • None
    • 3
    • 9223372036854775807

    Description

      When lnet modules haven't been loaded, lctl network down returns with "LNET unconfigure error 19" and a non-zero return code. In this case, lctl should simply return an error code of 0 and a message stating lnet is not loaded.

      Logically speaking, the network is already down because lnet isn't even loaded. There are also other places in init scripts where there is an active effort to ignore the error above. Seems to me lctl should just succeed in this case.

      Attachments

        Activity

          [LU-9100] lctl network down shouldn't error with "LNET unconfigure error 19"
          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/25359/
          Subject: LU-9100 lnet: lctl net down success when lnet not loaded
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: db999716eee2ca09f7569d71cd960857ad5af0a7

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/25359/ Subject: LU-9100 lnet: lctl net down success when lnet not loaded Project: fs/lustre-release Branch: master Current Patch Set: Commit: db999716eee2ca09f7569d71cd960857ad5af0a7
          pjones Peter Jones added a comment -

          Sonia

          Could you please review this proposed change?

          Thanks

          Peter

          pjones Peter Jones added a comment - Sonia Could you please review this proposed change? Thanks Peter

          Giuseppe Di Natale (dinatale2@llnl.gov) uploaded a new patch: https://review.whamcloud.com/25359
          Subject: LU-9100 lnet: lctl net down success when lnet not loaded
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 49b509952600439db7b4c8d1e7e85707e5a0ea37

          gerrit Gerrit Updater added a comment - Giuseppe Di Natale (dinatale2@llnl.gov) uploaded a new patch: https://review.whamcloud.com/25359 Subject: LU-9100 lnet: lctl net down success when lnet not loaded Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 49b509952600439db7b4c8d1e7e85707e5a0ea37

          People

            sharmaso Sonia Sharma (Inactive)
            dinatale2 Giuseppe Di Natale (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: