[LU-6867] change test-framework to detect active facet based on current Lustre state Created: 17/Jul/15  Updated: 28/Jan/22

Status: Reopened
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.7.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Elena Gryaznova Assignee: Elena Gryaznova
Resolution: Unresolved Votes: 0
Labels: patch

Issue Links:
Duplicate
Related
is related to LU-10827 conf-sanity test 0 fails with ‘rmmod:... Resolved
Severity: 3
Epic: test
Rank (Obsolete): 9223372036854775807

 Description   

Lustre failover tests can not be ran test-by-test (ONLY=1 replay-dual.sh && ONLY=2 replay-dual.sh) on the setup with ${facet}_HOST != ${facet}failover_HOST.
t-f keeps the "active" facet info in "${facet}active" files, which are created
when facet_failover() is executed first time in the test session.
Before facet_failover() executed these files are empty and
active facet is ${facet} by default.
In case when tests are executed test-by-test the active facet is
${facet}failover after 1st test completed, and 2nd test is started
having ${facet}failover active without this info stored in
${facet}active files.

It looks reasonable to detect active facet based on current state.



 Comments   
Comment by Gerrit Updater [ 17/Jul/15 ]

Elena Gryaznova (elena.gryaznova@seagate.com) uploaded a new patch: http://review.whamcloud.com/15638
Subject: LU-6867 test: detect active facet based on current state
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: a5fed9eff74b8a5f376e348bdaef576473b93872

Comment by Gerrit Updater [ 27/Feb/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/15638/
Subject: LU-6867 test: detect active facet based on current state
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 643e3b4316b6c59009c259b96d38495152989df4

Comment by Peter Jones [ 27/Feb/18 ]

Landed for 2.11

Comment by Gerrit Updater [ 27/Mar/18 ]

James Nunez (james.a.nunez@intel.com) uploaded a new patch: https://review.whamcloud.com/31798
Subject: Revert "LU-6867 test: detect active facet based on current state"
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: d569ee134ef736fc47a7cdec6e0008a211176624

Comment by Gerrit Updater [ 29/Mar/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31798/
Subject: Revert "LU-6867 test: detect active facet based on current state"
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 5e5e25e8519e3a31a1aca93c87850fc45569b112

Comment by Peter Jones [ 29/Mar/18 ]

Reverted from 2.11 because of LU-10827

Comment by Gerrit Updater [ 09/Dec/21 ]

"Alexander Boyko <alexander.boyko@hpe.com>" uploaded a new patch: https://review.whamcloud.com/45806
Subject: LU-6867 test: detect active facet based on current state
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ac66dc10236e91e02b15e11b5307126c6a6c85ca

Comment by Gerrit Updater [ 28/Jan/22 ]

"Elena Gryaznova <elena.gryaznova@hpe.com>" uploaded a new patch: https://review.whamcloud.com/46360
Subject: LU-6867 tests: detect active facet based on current state
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 208ac4be4f08ca9da5e762ecde66031d7f835f30

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