[LU-12626] Attempt to create existing net returns EINVAL Created: 02/Aug/19 Updated: 09/Dec/19 Resolved: 15/Aug/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.13.0, Lustre 2.12.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Olaf Faaland | Assignee: | Olaf Faaland |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | llnlfixready | ||
| Issue Links: |
|
||||
| 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"
|
| Comments |
| Comment by Peter Jones [ 02/Aug/19 ] |
|
Olaf You've marked this as llnlfixready - does that mean that you'll be pushing the fix? Peter |
| Comment by Gerrit Updater [ 02/Aug/19 ] |
|
Olaf Faaland-LLNL (faaland1@llnl.gov) uploaded a new patch: https://review.whamcloud.com/35681 |
| Comment by Gerrit Updater [ 15/Aug/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35681/ |
| Comment by Peter Jones [ 15/Aug/19 ] |
|
Landed for 2.13 |
| Comment by Gerrit Updater [ 28/Aug/19 ] |
|
Minh Diep (mdiep@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35953 |
| Comment by Gerrit Updater [ 12/Sep/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35953/ |