From: Andriy Skulysh Date: Sat, 17 Mar 2012 23:45:07 +0000 (+0200) Subject: LU-840 tests: Fix conf-sanity.sh test_32b X-Git-Tag: 2.2.52~46 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=fd1a5c19ea412f3b9637be4fdbe8d30eeec1858c LU-840 tests: Fix conf-sanity.sh test_32b Fix correct settings debug level Fix correct mdt.upcall path Fix mgs node settings to able to connect to correct host (alternative way to fix it's - add waiting for export to wait ost<>mgs connection established) Xyratex-bug-id: MRP-233 Signed-off-by: Andriy Skulysh Change-Id: I4bc21fe4abfff0cf89dbb83a1149f822ba69438c Reviewed-by: Alexey Lyashkov Reviewed-by: Bruce Korb Reviewed-on: http://review.whamcloud.com/1695 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Yu Jian Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 36b2f97..313d16e 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -1277,11 +1277,13 @@ test_32b() { { skip_env "Cannot untar $DISK1_8" && return ; } load_modules - $LCTL set_param debug="config" + $LCTL set_param debug="+config" local NEWNAME=lustre # writeconf will cause servers to register with their current nids - $TUNEFS --writeconf --fsname=$NEWNAME $tmpdir/mds || error "tunefs failed" + $TUNEFS --writeconf --erase-params \ + --param mdt.identity_upcall=$L_GETIDENTITY \ + --fsname=$NEWNAME $tmpdir/mds || error "tunefs failed" combined_mgs_mds || stop mgs start32 mds1 $tmpdir/mds "-o loop" && \ @@ -1291,7 +1293,8 @@ test_32b() { echo MDS uuid $UUID [ "$UUID" == "${NEWNAME}-MDT0000_UUID" ] || error "UUID is wrong: $UUID" - $TUNEFS --mgsnode=$HOSTNAME --writeconf --fsname=$NEWNAME $tmpdir/ost1 ||\ + $TUNEFS --writeconf --erase-params \ + --mgsnode=$HOSTNAME --fsname=$NEWNAME $tmpdir/ost1 ||\ error "tunefs failed" start32 ost1 $tmpdir/ost1 "-o loop" || return 5 UUID=$($LCTL get_param -n obdfilter.${NEWNAME}-OST0000.uuid)