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

Attempt to create existing net returns EINVAL

    XMLWordPrintable

Details

    • 3
    • 9223372036854775807

    Description

      When "lnetctl net add" is called for an interface/net pair that already exists, the error code returned is EINVAL. It should be EEXIST, so the user knows that the net is already configured.

      [olaf@diane lustre]$ sudo lnet/utils/lnetctl net add --net tcp1 --if enp0s3
      [olaf@diane lustre]$ sudo lnet/utils/lnetctl net add --net tcp1 --if enp0s3
      add:
          - net:
                errno: -22
                descr: "cannot add network: Invalid argument"
      

      Attachments

        Activity

          People

            ofaaland Olaf Faaland
            ofaaland Olaf Faaland
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: