[LU-13722] LNet lnetctl discrepancy in YAML output Created: 27/Jun/20  Updated: 12/May/21  Resolved: 12/May/21

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

Type: Bug Priority: Minor
Reporter: Amir Shehata (Inactive) Assignee: Cyril Bordage
Resolution: Fixed Votes: 0
Labels: easy, lnet

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

global show:

 global:
    numa_range: 0
    max_intf: 200
    discovery: 1
    drop_asym_route: 0
    retry_count: 2
    transaction_timeout: 50
    health_sensitivity: 100
    recovery_interval: 1
    router_sensitivity: 100
    lnd_timeout: 16

But when setting max_intf we need to use:

lnetctl set max_interfaces <value> 

the literal max_interfaces should be used for both the show and set



 Comments   
Comment by Gerrit Updater [ 16/Oct/20 ]

Cyril Bordage (cbordage@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40269
Subject: LU-13722 utils: lnetctl discrepancy in YAML output
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: dba56362e532cf8f057d81ac18900fd3041606e1

Comment by Bruno Travouillon (Inactive) [ 21/Oct/20 ]

I guess it will change the output of lnetctl export.

If so, lnetctl import should support both `max_intf` and `max_interfaces`?

Comment by Cyril Bordage [ 21/Oct/20 ]

Yes, you are totally right. Will fix that.

Comment by Gerrit Updater [ 11/May/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40269/
Subject: LU-13722 utils: lnetctl discrepancy in YAML output
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: da59e9d89a911b523e729961a46e7677e5bba9c0

Comment by Peter Jones [ 12/May/21 ]

Landed for 2.15

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