[LU-17368] recovery-[mds,oss,random]-scale: init the variables in correct order Created: 15/Dec/23  Updated: 15/Dec/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.16.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Elena Gryaznova Assignee: Elena Gryaznova
Resolution: Unresolved Votes: 0
Labels: None

Epic/Theme: patch
Severity: 3
Rank (Obsolete): 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


 Comments   
Comment by Gerrit Updater [ 15/Dec/23 ]

"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

Generated at Sat Feb 10 03:34:52 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.