[LU-15429] mount_mds_client() / umount_mds_client() defects Created: 10/Jan/22  Updated: 26/Jan/22  Resolved: 26/Jan/22

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

Type: Bug Priority: Minor
Reporter: Elena Gryaznova Assignee: Elena Gryaznova
Resolution: Fixed Votes: 0
Labels: None

Epic/Theme: patch
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

mount_mds_client() / umount_mds_client() defect:

mount/umount client is to be executed on active facet/host, not on mds1_HOST. Without this fix test_140a() fails on failover setup:
CMD: lm0101 umount /mnt/lustre2 2>&1
CMD: lm0102 rmdir /mnt/lustre2
lm0102: rmdir: failed to remove '/mnt/lustre2':
No such file or directory
test_140a: FAIL: no clients with recovery disabled

To reproduce the failure just run:
ONLY="107 140a" sh recovery-small.sh
on failover setup where mds1_HOST != mds1failover_HOST.

Fixes: 8bd04b4e57 ("LU-12722 target: disable recovery for local clients")



 Comments   
Comment by Gerrit Updater [ 11/Jan/22 ]

"Elena Gryaznova <elena.gryaznova@hpe.com>" uploaded a new patch: https://review.whamcloud.com/46043
Subject: LU-15429 tests: mount_mds_client() fix
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c5463878da351feb60bab39702bcbefb5de73ae5

Comment by Gerrit Updater [ 26/Jan/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46043/
Subject: LU-15429 tests: mount_mds_client() fix
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 1d2e2195873e82a603531e34f3f7d4c634490209

Comment by Peter Jones [ 26/Jan/22 ]

Landed for 2.15

Generated at Sat Feb 10 03:18:14 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.