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

Attempt to create existing net returns EINVAL

    Details

    • Severity:
      3
    • Rank (Obsolete):
      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

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

              Dates

              • Created:
                Updated:
                Resolved: