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

lnetctl error "cannot add network: invalid argument"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.10.0
    • Fix Version/s: None
    • Labels:
      None
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      trying to add second interface getting an error

      nbpt-serv1 ~ # ip -4 addr 
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
       inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
      6: ib0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65520 qdisc mq state UP qlen 1024
       inet 192.168.41.10/24 brd 192.168.41.255 scope global ib0
       valid_lft forever preferred_lft forever
      7: ib1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65520 qdisc mq state UP qlen 1024
       inet 10.151.20.103/18 brd 10.151.63.255 scope global ib1
       valid_lft forever preferred_lft forever
      8: ib2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65520 qdisc mq state UP qlen 1024
       inet 192.168.44.10/24 brd 192.168.44.255 scope global ib2
       valid_lft forever preferred_lft forever
      9: ib3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65520 qdisc mq state UP qlen 1024
       inet 10.151.63.233/18 brd 10.151.63.255 scope global ib3
       valid_lft forever preferred_lft forever
      10: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
       inet 172.17.0.156/16 brd 172.17.255.255 scope global bond0
       valid_lft forever preferred_lft forever
      
      
      nbpt-serv1 ~ # lnetctl net show 
      net:
       - net type: lo
       local NI(s):
       - nid: 0@lo
       status: up
       - net type: o2ib
       local NI(s):
       - nid: 10.151.20.103@o2ib
       status: up
       interfaces:
       0: ib1
      
      
      nbpt-serv1 ~ # lnetctl net add --net o2ib --if ib3
      add:
       - net:
       errno: -22
       descr: "cannot add network: Invalid argument"
      
      
      nbpt-serv1 ~ # lnetctl net del --net o2ib --if ib1
      del:
       - net:
       errno: -22
       descr: "cannot del network: Invalid argument"
      

       

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ashehata Amir Shehata
                Reporter:
                mhanafi Mahmoud Hanafi
              • Votes:
                2 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: