[LU-15445] sanity test_160p defect: wrong start mds1 call Created: 12/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   

start() requires 2nd parameter device. If start() is called without the 2nd parameter - the
empty mds1_dev is exported:

start() {
        local facet=$1
        shift
        local device=$1
..
        eval export ${dev_alias}_dev=${device}

and test fails on failover setup with:
CMD: lm0301 loop_dev=$(losetup -j | cut -d : -f 1);
lm0301: losetup: option requires an argument – 'j'

dm_create_dev()
  local real_dev=<empty>
        -> setup_loop_device $facet <empty>

To reproduce the failure just run:
ONLY=160p sh sanity.sh
on failover setup where mds1_HOST != mds1failover_HOST.

Fixes: c7d8fe3106 ("LU-14731 mdd: clear orphans changelog entries")



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

"Elena Gryaznova <elena.gryaznova@hpe.com>" uploaded a new patch: https://review.whamcloud.com/46073
Subject: LU-15445 tests: sanity test_160p() fix
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 91ebc44c1ff328c5ae72c9d3fac8cc563ee78940

Comment by Gerrit Updater [ 26/Jan/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/46073/
Subject: LU-15445 tests: sanity test_160p() fix
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: bad5875f130be1ecdfbd1c3f24350ac5982faf74

Comment by Peter Jones [ 26/Jan/22 ]

Landed for 2.15

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