From: Jadhav Vikram Date: Wed, 15 Mar 2017 17:50:56 +0000 (+0530) Subject: LU-9219 tests: add missing mgs reformat to conf-sanity/56 X-Git-Tag: 2.10.51~82 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=75eb91aeabcd167fe586e5e0f707cee5e8966133 LU-9219 tests: add missing mgs reformat to conf-sanity/56 conf-sanity/test_56 timedout while mounting client the reason of timeout is mounting mds failed with -EADDRINUSE. Registering mdt to MGS while mounting mds index of server was already present in MGS configuration database so mds mount failed with -EADDRINUSE and further test stuck while client mount so test timedout. This change adds missing mgs reformat when mgs and mds separate before starting mdt and osts, This will make sure index of mdt will not be present in MGS config database. Seagate-bug-id: MRP-3806 Signed-off-by: Jadhav Vikram Reviewed-by: Vladimir Saveliev Reviewed-by: Alexandr Boyko Tested-by: Elena V. Gryaznova Change-Id: Ie7d897534197af7e01d92d29613123a0290ffc4c Reviewed-on: https://review.whamcloud.com/26029 Reviewed-by: Fan Yong Reviewed-by: Alexander Boyko Tested-by: Jenkins Reviewed-by: Emoly Liu Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index d3a515a..a251e23 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -4169,9 +4169,7 @@ test_56a() { MDSJOURNALSIZE=16 - for num in $(seq 1 $MDSCOUNT); do - format_mdt $num - done + formatall add ost1 $(mkfs_opts ost1 $(ostdevname 1)) --index=10000 --reformat \ $(ostdevname 1) $(ostvdevname 1) add ost2 $(mkfs_opts ost2 $(ostdevname 2)) --index=1000 --reformat \