From: Elena Gryaznova Date: Sun, 26 Dec 2021 09:53:33 +0000 (+0300) Subject: LU-15298 tests: set mdt_hash permanently X-Git-Tag: 2.14.57~70 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F93%2F45693%2F3;p=fs%2Flustre-release.git LU-15298 tests: set mdt_hash permanently On failover setup where _HOST != _HOST "do_nodes $(comma_list $(mdts_nodes)) lctl set_param" fails: set_param: param_path 'lod/*/mdt_hash': No such file or directory if mdtN facet is active and up on _HOST. Let's set this parameter permanently. Fixes: 0a1cf8da80 ("LU-11025 dne: introduce new directory hash type: "crush"") Signed-off-by: Elena Gryaznova HPE-bug-id: LUS-10601 Reviewed-by: Vladimir Saveliev Change-Id: Ie36745cdc5fde4a33387baafe146e06ce8812eb4 Reviewed-on: https://review.whamcloud.com/45693 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Alexander Zarochentsev Reviewed-by: Lai Siyao Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index f621ec5..ddfcf85 100755 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -5358,8 +5358,7 @@ init_param_vars () { fi (( MDS1_VERSION <= $(version_code 2.13.52) )) || - do_nodes $(comma_list $(mdts_nodes)) \ - "$LCTL set_param lod.*.mdt_hash=crush" + do_facet mgs "$LCTL set_param -P lod.*.mdt_hash=crush" return 0 }