[LU-15750] UDSP: non existing src and dst nids can be successfully added Created: 15/Apr/22  Updated: 18/Apr/22

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

Type: Bug Priority: Minor
Reporter: Sarah Liu Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Non existing source and destination nids can be successfully added

[root@trevis-89vm3 tests]# lnetctl net show
net:
    - net type: lo
      local NI(s):
        - nid: 0@lo
          status: up
    - net type: tcp
      local NI(s):
        - nid: 10.240.43.102@tcp
          status: up
          interfaces:
              0: eth0
        - nid: 10.240.43.109@tcp
          status: up
          interfaces:
              0: eth0:0
        - nid: 10.240.43.110@tcp
          status: up
          interfaces:
              0: eth0:1
        - nid: 10.240.43.117@tcp
          status: up
          interfaces:
              0: eth0:1:0
[root@trevis-89vm3 tests]# lnetctl udsp add --src 10.222.22.2@tcp1
[root@trevis-89vm3 tests]# lnetctl udsp show
udsp:
    - idx: 0
      src: 10.222.22.2@tcp1
      dst: NA
      rte: NA
      action:
          priority: 0
[root@trevis-89vm3 tests]# lnetctl udsp add --dst 10.222.22.2@tcp1
[root@trevis-89vm3 tests]# lnetctl udsp show
udsp:
    - idx: 0
      src: 10.222.22.2@tcp1
      dst: NA
      rte: NA
      action:
          priority: 0
    - idx: 1
      src: NA
      dst: 10.222.22.2@tcp1
      rte: NA
      action:
          priority: 0
[root@trevis-89vm3 tests]# echo $?
0

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