[LU-15778] UDSP inaccurate error msg when adding rule with combined src and rte Created: 22/Apr/22  Updated: 27/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   

Got following error when try to add UDSP rule with both --src and --rte, but we do support add --dst and --rte at the same time

[root@trevis-88vm4 lutf]# lnetctl udsp show
[root@trevis-88vm4 lutf]# lnetctl udsp add --src 10.240.43.83@tcp --rte 10.240.43.80@tcp
add:
    - udsp:
          errno: -1
          descr: "The combination of src, dst and rte is not supported"
[root@trevis-88vm4 lutf]# lnetctl udsp add --dst 10.240.43.81@tcp1 --rte 10.240.43.80@tcp^C
[root@trevis-88vm4 lutf]# lnetctl udsp show
udsp:
    - idx: 0
      src: NA
      dst: 10.240.43.81@tcp1
      rte: 10.240.43.80@tcp

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