Whamcloud - gitweb
LU-15060 tests: sanity-flr test_208[a,b] fix 30/45130/3
authorElena Gryaznova <elena.gryaznova@hpe.com>
Tue, 5 Oct 2021 17:08:59 +0000 (20:08 +0300)
committerOleg Drokin <green@whamcloud.com>
Sun, 17 Oct 2021 18:12:00 +0000 (18:12 +0000)
commit91a8ce84845c4db1b0ac4bd5d11687880b6c06b8
treed76c950c5dcdd48af8fe25eee925094b44bc7dcf
parentebed0531abed9512682574e44dd17f465fa9b04c
LU-15060 tests: sanity-flr test_208[a,b] fix

sanity-flr  test_208a  and test_208b failed as:
  test_208a returned 2
  test_208b returned 2
on Lustre setup where osts are located not on one host
because of stack_trap "do_nodes $osts $LCTL set_param $old"
returns 2. Let's use save_lustre_params() instead of trying to
set not-existing parameters.

Fixes: 8507472dd37e ("LU-14996 lov: prefer mirrors on non-rotational OSTs")
Test-Parameters: trivial testlist=sanity-flr env=ONLY=208
Signed-off-by: Elena Gryaznova <elena.gryaznova@hpe.com>
Change-Id: I19cedc0a9745d0d112ac05fe3a800347ab4c40d3
Reviewed-on: https://review.whamcloud.com/45130
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Vladimir Saveliev <vlaidimir.saveliev@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-flr.sh