[LU-11039] Wrong HSMTOOL_BASE name when kill copytools Created: 21/May/18  Updated: 19/Dec/18  Resolved: 07/Aug/18

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

Type: New Feature Priority: Minor
Reporter: Qian Yingjin (Inactive) Assignee: Qian Yingjin (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-10627 tests/utils: lhsmtool_posix now runs ... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

When running sanity-hsm.sh on the local node, the lhsmtool_posix programm name is "lt-lhsmtool_posix", not "lhsmtool_posix". (where the path is lustre/utils/)

 

[root@server lustre-release]# cd lustre/utils/
[root@server utils]# ./lhsmtool_posix --help
 Usage: lt-lhsmtool_posix [options]... <mode> <lustre_mount_point>
...

 while the program run the lhsmtool_posix directly (the path is /usr/sbin/lhsmtool_posix), the output is:

[root@server utils]# lhsmtool_posix --help
 Usage: lhsmtool_posix [options]... <mode> <lustre_mount_point>
...

Thus, when running sanity-hsm.sh locally, it wrongly gets the HSMTOOL_BASE with "lhsmtool_posix", not "lt-lhsmtool_posix", and during the cleanup of HSM tests in kill_copytools, "killall -q $HSMTOOL_BASE" will kill nothing, and execute the wrong cleanup action.



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

Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/32464
Subject: LU-11039 hsm: Wrong HSMTOOL_BASE name when kill copytools
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 55984854f674c53ea93b90ebd8f956a89c42d371

Comment by James A Simmons [ 06/Aug/18 ]

Now that the patch for LU-10627 landed can you tell me if this is still an issue?

Comment by Qian Yingjin (Inactive) [ 07/Aug/18 ]

No, It is not an issue anymore. 

Please close this ticket. Thanks!

Comment by James A Simmons [ 07/Aug/18 ]

The work from LU-10627 resolved this. Landed for 2.12

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