[LU-13663] LNet: lnetctl crashes on import of yaml config that it fails to parse Created: 11/Jun/20  Updated: 11/Jun/20

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: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The following yaml causes a problem (note empty interfaces):

 net:
    - net type: tcp
      local NI(s):
        - nid: 10.122.36.80@tcp
          status: up
          interfaces:
          statistics:
              send_count: 0
              recv_count: 0
              drop_count: 0
          tunables:
              peer_timeout: 180
              peer_credits: 8
              peer_buffer_credits: 0
              credits: 256
          lnd tunables:
          tcp bonding: 0
          dev cpt: -1
numa:
    range: 0
# lnetctl import lnetconf2.txt 
error:
	fatal: out of memory
??S??:
Segmentation fault 

This was reproduced on 7.8 Centos, b2_12 patchless client system (https://build.whamcloud.com/job/lustre-b2_12-patchless/83/)  

and on master.


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