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

recovery-[mds,oss,random]-scale: init the variables in correct order

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • Lustre 2.16.0
    • None
    • 3
    • 9223372036854775807

    Description

      recovery-mds-scale.sh:

      . $LUSTRE/tests/recovery-scale-lib.sh
      init_test_env "$@"
      init_logging
      

      recovery-scale-lib.sh expects the CLIENTS set:

        NODES_TO_USE=${NODES_TO_USE:-$CLIENTS}
      

      but this variable initialized later in recovery-[mds,oss,random]-scale.sh:init_logging() :

        init_logging() ->
          init_clients_lists () ->
            export CLIENTS=$(comma_list $clients)
      

      The current wrong order leads to empty NODES_TO_USE and these suites failed:

         dd: ssh: Could not resolve hostname dd: Name or service not known
      

      Attachments

        Activity

          [LU-17368] recovery-[mds,oss,random]-scale: init the variables in correct order
          pjones Peter Jones added a comment -

          Merged for 2.16

          pjones Peter Jones added a comment - Merged for 2.16

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/53477/
          Subject: LU-17368 tests: init the variables in correct order
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 16161cf2fcb0f4c94260a1bdee0c9b44f8b120a8

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/53477/ Subject: LU-17368 tests: init the variables in correct order Project: fs/lustre-release Branch: master Current Patch Set: Commit: 16161cf2fcb0f4c94260a1bdee0c9b44f8b120a8

          "Elena <elena.gryaznova@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53477
          Subject: LU-17368 tests: init the variables in correct order
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: a55a77084b55811b9c5c35d7141a2a26689221bd

          gerrit Gerrit Updater added a comment - "Elena <elena.gryaznova@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53477 Subject: LU-17368 tests: init the variables in correct order Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: a55a77084b55811b9c5c35d7141a2a26689221bd

          People

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

            Dates

              Created:
              Updated:
              Resolved: