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

lnet-selftest fails due to clients and server lists are empty

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • Lustre 2.12.5
    • None
    • 3
    • 9223372036854775807

    Description

      lnet-selftest does not load modules before getting clients and servers list_nids:

      lst_SERVERS=${lst_SERVERS:-$(comma_list "$(host_nids_address $nodes $NETTYPE)")}
      host_nids_address()->do_nodes $nodes "$LCTL list_nids 
      

      reproducer:

      NAME=ncli LOAD_MODULES_REMOTE=true sh llmountcleanup.sh 
      modules unloaded.
      # NAME=ncli sh lnet-selftest.sh 
      ...
      cleanup () { trap 0; echo killing $1 ... ; kill -9 $1 || true; }
      /usr/sbin/lst new_session --timeo 100000 hh
      /usr/sbin/lst add_group c 
      /usr/sbin/lst add_group s 
      /usr/sbin/lst add_batch b
      ..
      SESSION: hh FEATURES: 1 TIMEOUT: 100000 FORCE: No
      add_group: Usage: lst group NAME IDs [IDs]...
       lnet-selftest test_smoke: @@@@@@ FAIL: /tmp/smoke.sh failed: 255 
      

      Attachments

        Activity

          People

            egryaznova Elena Gryaznova
            egryaznova Elena Gryaznova
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: