[LU-7420]  obdfilter-survey.sh test_3a: tgt_request_handle()) @@@ echo_srv: No target for connected export Created: 12/Nov/15  Updated: 09/Apr/18  Resolved: 09/Apr/18

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

Type: Bug Priority: Major
Reporter: alyona romanenko (Inactive) Assignee: Mikhail Pershin
Resolution: Fixed Votes: 0
Labels: None
Environment:

master, single MDS/MGS, single OSS, two OSTs


Issue Links:
Related
is related to LU-8921 make network and netdisk mode of obdf... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The obdechosurvey test 3 on the Master has following error:

tgt_request_handle()) @@@ echo_srv: No target for connected export

According to client's log, commands for odbecho were send and received by server successfully. After receiving the server has been provided attach and setup of the obdecho without errors.
During setup the obdecho was not configured into obd_device and doesn't represented in lu device but use legacy obd device stack. In that case it lack an ability to execute an any network requests so have a root cause of test failing.
Obdecho survey test 3 uses a special obd srv target to simulate fast disk storage. Previously it replaced an obdfilter module in lustre stack and provides a operations over fake device. Then obdfilter replaced with OFD and unified target project landed but not obd echo srv. Now, the obd echo srv has to be also rewrited to use an lu device stack with target support.



 Comments   
Comment by Mikhail Pershin [ 21/Nov/15 ]

Yes, I agree that current echo server target is not functional and should be updated. At the same time that looks wrong this test passes at Maloo, seems it does just nothing.

Comment by Mikhail Pershin [ 22/Nov/15 ]

I've made quick review of the code to update, that shouldn't be difficult, most of code can be copied from OFD and adapted for Echo Server.

Comment by Gerrit Updater [ 13/Feb/16 ]

Mike Pershin (mike.pershin@intel.com) uploaded a new patch: http://review.whamcloud.com/18443
Subject: LU-7420 echo: fix echo server to work with unified target
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ea4647bfbfbe4b932115141194dd15ff317d1bd4

Comment by Jinshan Xiong (Inactive) [ 08/Dec/16 ]

This patch has been sitting here for almost a year. We should consider landing it.

Comment by Peter Jones [ 08/Dec/16 ]

Jinshan

It needs rebasing and then some reviewers added

Peter

Comment by Mikhail Pershin [ 12/Dec/16 ]

I've just updated patch for the latest master

Comment by Cory Spitz [ 06/Mar/18 ]

Considering the progress here, can we set the Fix Version to 2.11.0?

Comment by Peter Jones [ 06/Mar/18 ]

spitzcor the Fix Version is not an indicator of the progress it is a marker of the importance relating to the release. Let's discuss in more detail in the upcoming LWG call.

Comment by Gerrit Updater [ 09/Apr/18 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/18443/
Subject: LU-7420 echo: fix echo server to work with unified target
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 7ec8e4751fdf22894eef67972b094cd9f28ec3a0

Comment by Peter Jones [ 09/Apr/18 ]

Landed for 2.12

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