[LU-15175] conf-sanity ldev based tests not functional Created: 28/Oct/21  Updated: 23/Dec/21  Resolved: 23/Dec/21

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

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

conf-sanity ldev based tests not functional on setup with mdt or ost targets located on several server and on "failover" setup with <facet>_HOST != <facet>failover_HOST
Example: test_92 failed with:

ldev: Fatal: /tmp/ldev.conf line 2: local and foreign host not mapped to each other
..
conf-sanity test_92: @@@@@@ FAIL: ldev failed mgs nid '', expected 'lm0521@tcp:lm0522@tcp'

because generate_ldev_conf() works only with 1 mds host and 1 ost host :

generate_ldev_conf()
       local mdsfo_host=$mdsfailover_HOST;
..
        printf "%s\t%s\t%s-MDT%04d\t%s%s\n" \
                        $mds_HOST \
                        $mdsfo_host \

        printf "%s\t%s\t%s-OST%04d\t%s%s\n" \
                        $ost_HOST \



 Comments   
Comment by Gerrit Updater [ 18/Nov/21 ]

"Elena Gryaznova <elena.gryaznova@hpe.com>" uploaded a new patch: https://review.whamcloud.com/45613
Subject: LU-15175 tests: fix ldev tests
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: a067272aa89f6a320cc20f93afbd1a9d085a5da8

Comment by Gerrit Updater [ 23/Dec/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45613/
Subject: LU-15175 tests: fix ldev tests
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: ca7fdbb15e93a7c3cbd8f3e1ca676fefda675915

Comment by Peter Jones [ 23/Dec/21 ]

Landed for 2.15

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