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

LNet: initial ni status is "up" if starting with link disconnected

    XMLWordPrintable

Details

    • 3
    • 9223372036854775807

    Description

      Adding NI if the corresponding interface is disconnected results in NI listed as "up" while it is expected to be "down". For example:

      7: bond0: <NO-CARRIER,BROADCAST,MULTICAST,MASTER,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
          link/ether 52:54:00:a3:1a:44 brd ff:ff:ff:ff:ff:ff
          inet 192.168.122.239/24 brd 192.168.122.255 scope global noprefixroute dynamic bond0
             valid_lft 3264sec preferred_lft 3264sec
          inet6 fe80::5054:ff:fea3:1a44/64 scope link 
             valid_lft forever preferred_lft forever
      # lnetctl net add --net tcp --if bond0
      # lnetctl net show
      net:
          - net type: lo
            local NI(s):
              - nid: 0@lo
                status: up
          - net type: tcp
            local NI(s):
              - nid: 192.168.122.239@tcp
                status: up
                interfaces:
                    0: bond0

       

      Attachments

        Issue Links

          Activity

            People

              ssmirnov Serguei Smirnov
              ssmirnov Serguei Smirnov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: