[LU-16859] socklnd: can't add an NI using an interface if its alias was used to add NI first Created: 30/May/23  Updated: 08/Jan/24  Resolved: 13/Dec/23

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0

Type: Bug Priority: Minor
Reporter: Serguei Smirnov Assignee: Serguei Smirnov
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

If "bond01" is an alias interface of "bond0" created for example like this:

ip addr add 1.2.13.6/24 brd + dev bond0 label bond01 

then the following sequence of commands results in an error when adding NI on bond0:

# modprobe lnet
# lnetctl lnet configure
# lnetctl net add --net tcp --if bond01
# lnetctl net add --net tcp --if bond0
---
add:
- net: 
  errno: -17
  descr: Object exists
...

Adding bond0 first, then bond01 works fine.

 

 



 Comments   
Comment by Gerrit Updater [ 31/Oct/23 ]

"Serguei Smirnov <ssmirnov@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52918
Subject: LU-16859 lnet: incorrect check for duplicate NI
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 25833d2bf3cd104e6cb09d2e589a2540bf6a0591

Comment by Gerrit Updater [ 13/Dec/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/52918/
Subject: LU-16859 lnet: incorrect check for duplicate NI
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 7dcdb9eb0ded98e956fe417abbd835433a8de3f0

Comment by Peter Jones [ 13/Dec/23 ]

Landed for 2.16

Generated at Sat Feb 10 03:30:36 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.