Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-13663

LNet: lnetctl crashes on import of yaml config that it fails to parse

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 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.

      Attachments

        Activity

          People

            wc-triage WC Triage
            ssmirnov Serguei Smirnov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: