[LU-7529] conf-sanity test_32a fails when using seperate MGS Created: 08/Dec/15  Updated: 26/Feb/18  Resolved: 19/Apr/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.10.0

Type: Bug Priority: Minor
Reporter: Li Xi (Inactive) Assignee: Emoly Liu
Resolution: Fixed Votes: 0
Labels: patch

Issue Links:
Related
is related to LU-10717 several conf-sanity tests failed: FAI... Resolved
is related to LU-8688 All Lustre test suites should run/PAS... Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

test_32a doesn't umount MGS before starting compatibility test, thus the MGS will be left mounted. And further mounting of MDS (Only if $FSNAME is left as 'lustre') or module removal will fail.

Following is what I used to drive the test. Please note that MGS and MDT are seperate devices.

#!/bin/sh
pushd /usr/lib64/lustre/tests > /dev/null
mgs_HOST=vm12 \
mds_HOST=vm12 \
ost1_HOST=vm12 \
ost2_HOST=vm12 \
MGSDEV=/dev/sdb1 \
MDSDEV1=/dev/sdb2 \
OSTDEV1=/dev/sdb3 \
OSTDEV2=/dev/sdb5 \
PDSH="pdsh -S -w" \
NAME=local \
REFORMAT="--reformat" \
ONLY=32a \
sh conf-sanity.sh
popd



 Comments   
Comment by Gerrit Updater [ 08/Dec/15 ]

Li Xi (lixi@ddn.com) uploaded a new patch: http://review.whamcloud.com/17507
Subject: LU-7529 test: umount mgs in conf-sanity
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 234e9692127153483ed503b865149f8f4c9e36e3

Comment by Peter Jones [ 08/Dec/15 ]

Emoly

Could you please look at this patch?

Thanks

Peter

Comment by Li Xi (Inactive) [ 11/Dec/15 ]

In conf-sanity:27b,47,84, it is assumed that conf-sanity assumes OST/MDT are shared by two VMs right? But that might not be true for some. Can we add some option or check to skip those cases so that tests won't fail on some environment?

Comment by Emoly Liu [ 17/Dec/15 ]

Li Xi, thanks for updating the patch!

Comment by Gerrit Updater [ 19/Apr/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/17507/
Subject: LU-7529 test: fix tiny problems of tests in conf-sanity.sh
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 51f0876dc6fbe0e90ba512c8c7f124a282b4eec0

Comment by Peter Jones [ 19/Apr/17 ]

Landed for 2.10

Generated at Sat Feb 10 02:09:41 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.