[LU-11860] lnetctl fails when configuring numeric addresses Created: 15/Jan/19  Updated: 16/Mar/19  Resolved: 16/Mar/19

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

Type: Bug Priority: Minor
Reporter: Gregoire Pichon Assignee: Gregoire Pichon
Resolution: Fixed Votes: 0
Labels: patch

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The lnet configuration library does not support the configuration of numeric addresses (non IPv4 addresses). This was working fine in lustre 2.7 but does not work anymore since lustre 2.10.

This is problematic for the configuration of PTL4LND addresses. The GNILND case has already been treated in a specific (non-generic) fix through LU-10453.

 

Here is an example

#  lnetctl net add --net ptlf --if 0
add:
    - net:
          errno: -1
          descr: "bad parameter"

 

I am going to post a patch that fixes the issue.



 Comments   
Comment by Gerrit Updater [ 15/Jan/19 ]

Grégoire Pichon (gregoire.pichon@bull.net) uploaded a new patch: https://review.whamcloud.com/34028
Subject: LU-11860 lnet: support config of LNDs with numeric intf name
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 462fc3f1c102204cd1879e919bb60a48843098b6

Comment by Joseph Gmitter (Inactive) [ 15/Jan/19 ]

Assigning to Gregoire as he already has a patch.

Comment by Gerrit Updater [ 15/Mar/19 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34028/
Subject: LU-11860 lnet: support config of LNDs with numeric intf name
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 96aca3e4c0e4092f504ab75bbc156387222342c4

Comment by Peter Jones [ 16/Mar/19 ]

Landed for 2.13

Generated at Sat Feb 10 02:47:34 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.