Whamcloud - gitweb
LU-1189 tests: run save_lustre_params() on facets
authorJian Yu <jian.yu@intel.com>
Thu, 7 Mar 2013 09:02:40 +0000 (17:02 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 18 Mar 2013 04:55:52 +0000 (00:55 -0400)
commit9936d5095a4fbcdffaae0d127903f2b73deaa909
treed4501b1ff45a87a3bed78b67f7a85d55bf9617cb
parentadd4b5520dcbba0019612031b4f0e8dc76446a40
LU-1189 tests: run save_lustre_params() on facets

This patch fixes save_lustre_params() and restore_lustre_params()
to get and set Lustre parameters through do_facet() instead of
do_node(). This will fix the issue that restore_lustre_params() still
tries to restore the saved params on the original node which will
likely become inactive under failover test environment.

Test-Parameters: envdefinitions=SLOW=yes,ENABLE_QUOTA=yes \
clientcount=4 osscount=2 mdscount=2 austeroptions=-R \
failover=true useiscsi=true \
testlist=replay-vbr,replay-dual

Signed-off-by: Jian Yu <jian.yu@intel.com>
Change-Id: If73adb84c4f1b2f6d6667a3865f2cc0221f0e687
Reviewed-on: http://review.whamcloud.com/5627
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Minh Diep <minh.diep@intel.com>
Reviewed-by: Li Wei <wei.g.li@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/obdfilter-survey.sh
lustre/tests/replay-dual.sh
lustre/tests/replay-vbr.sh
lustre/tests/sanity.sh
lustre/tests/sanityn.sh
lustre/tests/test-framework.sh