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

lnetctl import LNetError: 16581:0:(api-ni.c:2182:lnet_ni_unlink_locked()) ASSERTION( !list_empty(&ni->ni_netlist) ) failed:

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      LNetError: 16581:0:(api-ni.c:2182:lnet_ni_unlink_locked()) ASSERTION( !list_empty(&ni->ni_netlist) ) failed:
      

      Happened when trying out different yaml configs. I believe the config that caused the LBUG was:

      net:
          - net type: o2ib
            local NI(s):
              - interfaces:
                    0: ib0
                tunables:
                lnd tunables:
                CPT: "[1]"
              - interfaces:
                    0: ib3
                tunables:
                lnd tunables:
                CPT: "[2]"
              - interfaces:
                    0: ib4
                tunables:
                lnd tunables:
                CPT: "[3]" 
      [root@kjlmo204 ~]# lnetctl lnet unconfigure
      [root@kjlmo204 ~]# !vim
      vim /tmp/lnetctl.conf
      (reverse-i-search)`un': lnetctl lnet ^Cconfigure
      [root@kjlmo204 ~]# lnetctl lnet configure
      [root@kjlmo204 ~]# lnetctl import < /tmp/lnetctl.conf
      2020 Apr 18 13:12:30 kjlmo204 LNetError: 16581:0:(api-ni.c:2182:lnet_ni_unlink_locked()) ASSERTION( !list_empty(&ni->ni_netlist) ) failed:
      2020 Apr 18 13:12:30 kjlmo204 IEC: 026000012: LNET LASSERT: { "pid": "16581", "ext_pid": "0", "filename": "api-ni.c", "line": "2182", "func_name": "lnet_ni_unlink_locked", "assert_info": "( !list_empty(&ni->ni_netlist) ) failed: " }         
      2020 Apr 18 13:12:30 kjlmo204 LNetError: 16581:0:(api-ni.c:2182:lnet_ni_unlink_locked()) LBUG
      [root@kjlmo200 hornc]#
      

      Looks like this code path fails before anything is added to ni_netlist, but lnet_ni_unlink_locked() expects it to be non-empty.

      Attachments

        Activity

          People

            hornc Chris Horn
            hornc Chris Horn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: