[LU-12982] interop: conf-sanity test 5i fails with “ start mdt should fail “ Created: 19/Nov/19  Updated: 06/Aug/21  Resolved: 30/Jun/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.13.0, Lustre 2.14.0, Lustre 2.15.0
Fix Version/s: Lustre 2.15.0

Type: Bug Priority: Minor
Reporter: James Nunez (Inactive) Assignee: James Nunez (Inactive)
Resolution: Fixed Votes: 0
Labels: interop
Environment:

2.12.2 (and later) servers and Lustre version 2.12.53.62 (and later) clients.


Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

conf-sanity test_5i started failing with “ start mdt should fail “ on 27 MAY 2019 for 2.12.2 and later servers and Lustre version 2.12.53.62 and later clients.

The issue is that conf-sanity test 5i was added by patch https://review.whamcloud.com/34724 on 25 MAY 2019 and included in Lustre version 2.12.54 which is after 2.12.2 was produced. We should skip this test for Lustre server versions 2.12.53 and earlier.

After test 5i fails, we see tests 6, 7, 8, 17 fail because they try to mount the MDT, but it is already mounted. For example, conf-sanity test 6, we see the following error

Starting mds1:   /dev/mapper/mds1_flakey /mnt/lustre-mds1
CMD: trevis-45vm12 mkdir -p /mnt/lustre-mds1; mount -t lustre   /dev/mapper/mds1_flakey /mnt/lustre-mds1
trevis-45vm12: mount.lustre: according to /etc/mtab /dev/mapper/mds1_flakey is already mounted on /mnt/lustre-mds1
Start of /dev/mapper/mds1_flakey on mds1 failed 17
 conf-sanity test_6: @@@@@@ FAIL: MDT start failed 

Similarly, test 9 fails because the OSTs were never unmounted/cleaned up after test 5i failed.

Starting ost1:   /dev/mapper/ost1_flakey /mnt/lustre-ost1
CMD: trevis-45vm11 mkdir -p /mnt/lustre-ost1; mount -t lustre   /dev/mapper/ost1_flakey /mnt/lustre-ost1
trevis-45vm11: mount.lustre: according to /etc/mtab /dev/mapper/ost1_flakey is already mounted on /mnt/lustre-ost1
Start of /dev/mapper/ost1_flakey on ost1 failed 17
 conf-sanity test_9: @@@@@@ FAIL: OST start failed 

Logs for these failures are at
https://testing.whamcloud.com/test_sets/cc8aab4a-07a6-11ea-bbc3-52540065bddc
https://testing.whamcloud.com/test_sets/9d33a094-cc4c-11e9-90ad-52540065bddc



 Comments   
Comment by Gerrit Updater [ 20/Nov/19 ]

James Nunez (jnunez@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36811
Subject: LU-12982 tests: skip conf-sanity 5h/i for old servers
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ceae6ba68bcb1b2853de5f2b1758b0a1329acf81

Comment by Gerrit Updater [ 30/Jun/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36811/
Subject: LU-12982 tests: skip conf-sanity 5i for old servers
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: fee87077d83436005d6bef1c5c9673877ac4d7c1

Comment by Peter Jones [ 30/Jun/21 ]

Landed for 2.15

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