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

lnetctl commands fail to error out with mistyped parameters

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.12.0
    • Lustre 2.10.3
    • None
    • 3
    • 9223372036854775807

    Description

      Adding net or peer using lnetctl command with mistyped parameters doesn't error out and the behaviour is unexpected.

      [root@10 ~]#lnetctl net add --nt  tcp --if eth0
      [root@10 ~]# lnetctl net show 
      net:
       - net type: lo
         local NI(s):
           - nid: 0@lo
           status: up
      
      
      [root@10 ~]# lnetctl peer add --pris_nis 10.211.55.24@tcp
      [root@10 ~]# lnetctl peer show 
      [root@10 ~]# peer:
      
      
      

      Attachments

        Activity

          [LU-10654] lnetctl commands fail to error out with mistyped parameters
          pjones Peter Jones added a comment -

          Landed for 2.12

          pjones Peter Jones added a comment - Landed for 2.12

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/31265/
          Subject: LU-10654 lnet: lnetctl doesn't error out on mistyped options
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 3f2b6d2a7c4ab0bfcca0bcbb914ed3fdff1b1e32

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/31265/ Subject: LU-10654 lnet: lnetctl doesn't error out on mistyped options Project: fs/lustre-release Branch: master Current Patch Set: Commit: 3f2b6d2a7c4ab0bfcca0bcbb914ed3fdff1b1e32

          Sonia Sharma (sonia.sharma@intel.com) uploaded a new patch: https://review.whamcloud.com/31265
          Subject: LU-10654 lnet: lnetctl doesn't error out on mistyped options
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: b485347099f1443663f59de8c2c50e9287135c94

          gerrit Gerrit Updater added a comment - Sonia Sharma (sonia.sharma@intel.com) uploaded a new patch: https://review.whamcloud.com/31265 Subject: LU-10654 lnet: lnetctl doesn't error out on mistyped options Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: b485347099f1443663f59de8c2c50e9287135c94

          People

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

            Dates

              Created:
              Updated:
              Resolved: