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

lnetctl net declares success upon failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.12.0
    • None
    • 3
    • 9223372036854775807

    Description

      I am writing a script, and needed to test if lnet was configured.  I thought a quick way would be lnetctl net show, but:

      {{
      [root@oss1 ~]# rpm -q lustre
      lustre-2.12.0-1.el7.x86_64
      [root@oss1 ~]# lsmod | grep lnet
      [root@oss1 ~]# lnetctl net show
      opening /dev/lnet failed: No such file or directory
      }}

      I would expect a non-zero return for this case.

      Attachments

        Activity

          People

            sharmaso Sonia Sharma (Inactive)
            schamp Stephen Champion
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: