Whamcloud - gitweb
LU-3003 tests: Do "lctl conf_param" on mds1 in t32_test()
authorLi Wei <wei.g.li@intel.com>
Mon, 25 Mar 2013 05:59:25 +0000 (13:59 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 27 Mar 2013 22:00:10 +0000 (18:00 -0400)
commitc95b4c92009ebcf6361986d3973ae689d25d7c7a
treed63b4b9f41e94b07de64e2f7080021fa64891a13
parent2455dd4602ef5f211deb7eda5feb7aa0aa5d5b5b
LU-3003 tests: Do "lctl conf_param" on mds1 in t32_test()

With DNE, conf-sanity 32c inovkes "lctl conf_param" on mds2's host,
which may not be where the MGS is running, causing errors like:

  CMD: c05 /usr/sbin/lctl conf_param
  t32fs-MDT0001.mdc.max_rpcs_in_flight=9
  c05: No device found for name MGS: Invalid argument
  c05: This command must be run on the MGS.
  c05: error: conf_param: No such device
   conf-sanity test_32c: @@@@@@ FAIL: Setting MDT1
  "max_rpcs_in_flight"

This patch changes these "lctl conf_param" commands to set the same
parameters but on mds1's host, which always hosts the MGS.

Change-Id: Ibdca2802eaf33db504ed2b41a356d7a18be33f10
Signed-off-by: Li Wei <wei.g.li@intel.com>
Reviewed-on: http://review.whamcloud.com/5829
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/conf-sanity.sh