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

route import with NID-range is not working

Details

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

    Description

      In 2.15 you can use NID-range syntax to specify gateways:

      cassini-hosta:~ # cat lnet.conf
      net:
          - net type: o2ib
            local NI(s):
              - interfaces:
                    0: heth0
      route:
          - net: kfi
            gateway: 10.151.0.[1,2,3,4,5,6,7,8]@o2ib
            hop: 1
      cassini-hosta:~ # lnetctl import lnet.conf
      cassini-hosta:~ # lnetctl route show
      route:
          - net: kfi
            gateway: 10.151.0.5@o2ib
          - net: kfi
            gateway: 10.151.0.8@o2ib
          - net: kfi
            gateway: 10.151.0.6@o2ib
          - net: kfi
            gateway: 10.151.0.3@o2ib
          - net: kfi
            gateway: 10.151.0.1@o2ib
          - net: kfi
            gateway: 10.151.0.7@o2ib
          - net: kfi
            gateway: 10.151.0.2@o2ib
          - net: kfi
            gateway: 10.151.0.4@o2ib
      cassini-hosta:~ #
      

      But this seems to fail silently with 2.16

      cassini-hosta:~ # lctl --version
      lctl 2.16.50_133_g24b2825
      cassini-hosta:~ # lnetctl import lnet.conf
      cassini-hosta:~ # echo $?
      0
      cassini-hosta:~ # lnetctl route show
      cassini-hosta:~ #
      

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              hornc Chris Horn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: