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.1-RC1~67 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F33%2F28233%2F2;p=fs%2Flustre-release.git 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. Lustre-change: https://review.whamcloud.com/26029 Lustre-commit: 75eb91aeabcd167fe586e5e0f707cee5e8966133 Seagate-bug-id: MRP-3806 Signed-off-by: Jadhav Vikram Reviewed-by: Vladimir Saveliev Reviewed-by: Alexandr Boyko Change-Id: Ie7d897534197af7e01d92d29613123a0290ffc4c Reviewed-by: Fan Yong Reviewed-by: Alexander Boyko Reviewed-by: Emoly Liu Signed-off-by: Minh Diep Reviewed-on: https://review.whamcloud.com/28233 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: John L. Hammond --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 4bca875..4781738 100755 --- 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 \