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

Dynamic Discovery - discovery hangs if max_interfaces is changed from 200->16

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      NOTE: I see that after this patch:
      https://review.whamcloud.com/#/c/28702/

      Without this patch the problem was being hidden, by an immediate failure.

      Steps:

      Peer 2:
      net:
          - net type: lo
            local NI(s):
              - nid: 0@lo
                status: up
          - net type: tcp
            local NI(s):
              - nid: 192.168.122.30@tcp
                status: up
                interfaces:
                    0: eth0
              - nid: 192.168.122.31@tcp
                status: up
                interfaces:
                    0: eth1
              - nid: 192.168.122.32@tcp
                status: up
                interfaces:
                    0: eth2
              - nid: 192.168.122.33@tcp
                status: up
                interfaces:
                    0: eth3
              - nid: 192.168.122.34@tcp
                status: up
                interfaces:
                    0: eth4
              - nid: 192.168.122.35@tcp
                status: up
                interfaces:
                    0: eth5
              - nid: 192.168.122.36@tcp
                status: up
                interfaces:
                    0: eth6
              - nid: 192.168.122.37@tcp
                status: up
                interfaces:
                    0: eth7
              - nid: 192.168.122.38@tcp
                status: up
                interfaces:
                    0: eth8
              - nid: 192.168.122.39@tcp
                status: up
                interfaces:
                    0: eth9
              - nid: 192.168.122.40@tcp
                status: up
                interfaces:
                    0: eth10
              - nid: 192.168.122.41@tcp
                status: up
                interfaces:
                    0: eth11
              - nid: 192.168.122.42@tcp
                status: up
                interfaces:
                    0: eth12
              - nid: 192.168.122.43@tcp
                status: up
                interfaces:
                    0: eth13
              - nid: 192.168.122.44@tcp
                status: up
                interfaces:
                    0: eth14
              - nid: 192.168.122.45@tcp
                status: up
                interfaces:
                    0: eth15
              - nid: 192.168.122.46@tcp
                status: up
                interfaces:
                    0: eth16
      
      #peer 1
      modprobe lnet
      lnetctl lnet configure
      lnetctl net add --net tcp --if eth0,eth1
      # max_interfaces default to 200
      lnetctl discover 192.168.122.30@tcp
      lnetctl set max_interfaces 16
      # discover hangs (I kill it... so it might come back after a while, but haven't waited)
      lnetctl discover 192.168.122.30@tcp
      

        Attachments

          Activity

            People

            • Assignee:
              ashehata Amir Shehata
              Reporter:
              ashehata Amir Shehata
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: