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

DLC: lnetctl import does not configure any networks

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.7.0
    • Lustre 2.7.0
    • 3
    • Dynamic LNET Configuration
    • 16844

    Description

      I can bring up a network with lctl net up and once up I used lnetctl export to create a configuration file. After I brought down the network and attempted to bring the network usig lnetctl import < myconfig.yaml it failed with the following message:

      >lnetctl import < lnet.yaml
      yaml:

      • builder:
        errno: -1
        descr: Failed to handle token:10 [state=6, rc=-2]

      Attachments

        Issue Links

          Activity

            [LU-6043] DLC: lnetctl import does not configure any networks

            You fixed it. Now it works. Thank you.

            simmonsja James A Simmons added a comment - You fixed it. Now it works. Thank you.

            I fixed your issue in a different patch:
            http://review.whamcloud.com/#/c/13304/

            ashehata Amir Shehata (Inactive) added a comment - I fixed your issue in a different patch: http://review.whamcloud.com/#/c/13304/

            Here is the lnet yaml file giving me headaches.

            simmonsja James A Simmons added a comment - Here is the lnet yaml file giving me headaches.

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13115/
            Subject: LU-6043 lnet: Fix YAML FSM and other cleanup
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 943469dc33ab665d3908847a21dfee6a3b574505

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13115/ Subject: LU-6043 lnet: Fix YAML FSM and other cleanup Project: fs/lustre-release Branch: master Current Patch Set: Commit: 943469dc33ab665d3908847a21dfee6a3b574505

            sorry was on vacation.

            Can you please share your lnet.yaml file so I can test on my side.

            ashehata Amir Shehata (Inactive) added a comment - sorry was on vacation. Can you please share your lnet.yaml file so I can test on my side.

            So I did a few different approach with your included patch.

            First I found without the patch lnetctl net configure --all only adds lo interface after I run modprobe lnet. The system is configured for o2ib as well. With the patch it does work

            The test of running modprobe lnet; lnetctl net configure; lnetctl import < lnet.yaml still fails with the reported error.

            simmonsja James A Simmons added a comment - So I did a few different approach with your included patch. First I found without the patch lnetctl net configure --all only adds lo interface after I run modprobe lnet. The system is configured for o2ib as well. With the patch it does work The test of running modprobe lnet; lnetctl net configure; lnetctl import < lnet.yaml still fails with the reported error.

            People

              ashehata Amir Shehata (Inactive)
              simmonsja James A Simmons
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: