[LU-14539] LNet: lnet shouldn't need to be configured explicitly when lustre is loaded Created: 19/Mar/21  Updated: 19/Mar/21

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Serguei Smirnov Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: config, lnet, lnetctl, startup

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

If using 

modprobe lustre 

with lustre.conf containing

options lnet networks="o2ib0(ib0,ib1),tcp0(eno1)"

this results in the following network configuration:

# lnetctl net show
net:
    - net type: lo
      local NI(s):
        - nid: 0@lo
          status: up
    - net type: o2ib
      local NI(s):
        - nid: 10.1.0.20@o2ib
          status: up
          interfaces:
              0: ib0
        - nid: 10.2.0.20@o2ib
          status: up
          interfaces:
              0: ib1
    - net type: tcp
      local NI(s):
        - nid: 10.0.0.68@tcp
          status: up
          interfaces:
              0: eno1

However, attempts to make changes fail until "lnetctl lnet configure" is executed:

# lnetctl net del --net tcp
del:
    - net:
          errno: -22
          descr: "cannot del network: Invalid argument"
# lnetctl lnet configure
# lnetctl net del --net tcp
# lnetctl net show
net:
    - net type: lo
      local NI(s):
        - nid: 0@lo
          status: up
    - net type: o2ib
      local NI(s):
        - nid: 10.1.0.20@o2ib
          status: up
          interfaces:
              0: ib0
        - nid: 10.2.0.20@o2ib
          status: up
          interfaces:
              0: ib1

 


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