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

LNet: lnet shouldn't need to be configured explicitly when lustre is loaded

    XMLWordPrintable

Details

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

    Description

      If using 

      modprobe lustre 

      with lustre.conf containing

      options lnet networks="o2ib0(ib0,ib1),tcp0(eno1)"

      this results in the following network configuration:

      # lnetctl net show
      net:
          - net type: lo
            local NI(s):
              - nid: 0@lo
                status: up
          - net type: o2ib
            local NI(s):
              - nid: 10.1.0.20@o2ib
                status: up
                interfaces:
                    0: ib0
              - nid: 10.2.0.20@o2ib
                status: up
                interfaces:
                    0: ib1
          - net type: tcp
            local NI(s):
              - nid: 10.0.0.68@tcp
                status: up
                interfaces:
                    0: eno1

      However, attempts to make changes fail until "lnetctl lnet configure" is executed:

      # lnetctl net del --net tcp
      del:
          - net:
                errno: -22
                descr: "cannot del network: Invalid argument"
      # lnetctl lnet configure
      # lnetctl net del --net tcp
      # lnetctl net show
      net:
          - net type: lo
            local NI(s):
              - nid: 0@lo
                status: up
          - net type: o2ib
            local NI(s):
              - nid: 10.1.0.20@o2ib
                status: up
                interfaces:
                    0: ib0
              - nid: 10.2.0.20@o2ib
                status: up
                interfaces:
                    0: ib1

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: