[LU-13688] Handle in-tree executed HSM copytools correctly Created: 17/Jun/20  Updated: 23/Jan/21  Resolved: 23/Jan/21

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

Type: Bug Priority: Minor
Reporter: Nikitas Angelinas Assignee: Nikitas Angelinas
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-11742 ERROR: RPATH is not allowed Resolved
is related to LU-14034 test-framework and sanity-hsm use lib... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The Lustre test suite and HSM copytools can be invoked from either within /usr/lib/ if they have been installed from source or from packages, or from within the Lustre source tree, usually for testing purposes; in the latter case, the name of the copytool process is prepended with an "lt-", due to being invoked via a libtool wrapper script. The Lustre test framework relies on libtool execute to distinguish between these two cases, parse the command parameters and send signals to the correct process name. Unfortunately, this doesn't seem to work for lhsmtool_posix as its wrapper script is placed in lustre/utils, but the Lustre test suite is in lustre/tests, which doesn't allow the libtool execute parsing and replacing to succeed.



 Comments   
Comment by Gerrit Updater [ 17/Jun/20 ]

Nikitas Angelinas (nikitas.angelinas@hpe.com) uploaded a new patch: https://review.whamcloud.com/38961
Subject: LU-13688 tests: remove duplicate HSM functions
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: cb788a6d131b6d1c2db62c2fec5670f45709c73e

Comment by Gerrit Updater [ 17/Jun/20 ]

Nikitas Angelinas (nikitas.angelinas@hpe.com) uploaded a new patch: https://review.whamcloud.com/38962
Subject: LU-13688 hsm: handle in-tree executed copytools correctly
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f3bd51fec694ffa769a492f228b09ced0e06e079

Comment by Gerrit Updater [ 13/Aug/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38961/
Subject: LU-13688 tests: remove duplicate HSM functions
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 4c9f24201d5c782357f2ad3e050fa32f0c5b4455

Comment by Gerrit Updater [ 13/Aug/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/38962/
Subject: LU-13688 hsm: handle in-tree executed copytools correctly
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 29bb063654c9a74d495e5d4cea17694a2b70f6a0

Comment by Peter Jones [ 13/Aug/20 ]

Landed for 2.14

Comment by Nikitas Angelinas [ 23/Jan/21 ]

LU-14034 addresses this issue.

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