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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 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

          People

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

            Dates

              Created:
              Updated: