[LU-6016] sanity-lfsck test_20a: FAIL: (1) Fail to start MDS! Created: 10/Dec/14  Updated: 19/Jan/16  Resolved: 22/Dec/14

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.5.4
Fix Version/s: Lustre 2.5.4

Type: Bug Priority: Blocker
Reporter: Jian Yu Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: None
Environment:

Lustre build: https://build.hpdd.intel.com/job/lustre-b2_5/106/


Issue Links:
Related
is related to LU-7682 Interop 2.7.1<->master - sanity-bench... Resolved
Severity: 3
Rank (Obsolete): 16764

 Description   

sanity-lfsck test 20a failed as follows:

start mds1
CMD: shadow-50vm7 mkdir -p /mnt/mds1
CMD: shadow-50vm7 test -b /dev/lvm-Role_MDS/P1
CMD: shadow-50vm7 mkdir -p /mnt/mds1; mount -t lustre -o user_xattr  		                   /dev/lvm-Role_MDS/P1 /mnt/mds1
shadow-50vm7: mount.lustre: according to /etc/mtab /dev/mapper/lvm--Role_MDS-P1 is already mounted on /mnt/mds1
 sanity-lfsck test_20a: @@@@@@ FAIL: (1) Fail to start MDS! 

Maloo report: https://testing.hpdd.intel.com/test_sets/c0e13104-8071-11e4-a434-5254006e85c2



 Comments   
Comment by Jian Yu [ 10/Dec/14 ]

This is a regression failure introduced by the patch http://review.whamcloud.com/12740 for LU-4958 in Lustre b2_5 build #106.

It looked like $SINGLEMDS was already mounted before running test 20a. However, it's strange that in the patch review test session, test 20a passed.

Comment by Jian Yu [ 10/Dec/14 ]

The root cause is that patch http://review.whamcloud.com/12740 was submitted without considering patch http://review.whamcloud.com/10818, which removed formatall and setupall from lfsck_prep(). So, while running review test session, test 20a passed with reformatting the filesystem. After the two patches were landed on Lustre b2_5 branch, test 20a failed because formatall and setupall were removed.

I'm creating a patch to fix test 20a to remove starting $SINGLEMDS.

Comment by Gerrit Updater [ 10/Dec/14 ]

Jian Yu (jian.yu@intel.com) uploaded a new patch: http://review.whamcloud.com/13025
Subject: LU-6016 tests: do not need start MDS in sanity-lfsck test 20a
Project: fs/lustre-release
Branch: b2_5
Current Patch Set: 1
Commit: f1ad071041152605ead72ca4ca432c1231249e4b

Comment by Jian Yu [ 11/Dec/14 ]

This is blocking review testing on Lustre b2_5 patches.

Comment by Gerrit Updater [ 21/Dec/14 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/13025/
Subject: LU-6016 tests: do not need start MDS in sanity-lfsck test 20a
Project: fs/lustre-release
Branch: b2_5
Current Patch Set:
Commit: e835226b17309ec21fd7b46cf397e5fd557049bd

Comment by Jian Yu [ 22/Dec/14 ]

Patch was landed on Lustre b2_5 branch.

Generated at Sat Feb 10 01:56:28 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.