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

Attempt to add route using non-local gateway should return EHOSTUNREACH, not EINVAL

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0, Lustre 2.12.4
    • Lustre 2.13.0
    • None
    • 3
    • 9223372036854775807

    Description

      My fix (https://review.whamcloud.com/#/c/35198/2) for
      LU-12411 was flawed. While we do not want to allow adding routes to unreachable gateways, this shouldn't be a fatal error when parsing routes entries. lnet_add_route() should return EHOSTUNREACH in such a case, so that lnet_parse_route() will continue working and add any routes that are reachable. Unreachable routes are still logged to the console, but they are not added to route table.

      Attachments

        Issue Links

          Activity

            [LU-12595] Attempt to add route using non-local gateway should return EHOSTUNREACH, not EINVAL
            pjones Peter Jones made changes -
            Labels Original: LTS12
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.12.4 [ 14690 ]
            pjones Peter Jones made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            adilger Andreas Dilger made changes -
            Fix Version/s New: Lustre 2.13.0 [ 14290 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is duplicated by LU-12596 [ LU-12596 ]
            pjones Peter Jones made changes -
            Labels New: LTS12
            hornc Chris Horn made changes -
            Link New: This issue is related to LU-12411 [ LU-12411 ]
            hornc Chris Horn created issue -

            People

              hornc Chris Horn
              hornc Chris Horn
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: