HSM _not only_ small fixes and to do list goes here (LU-3647)

[LU-3881] sanity-hsm.sh fails with 'No host defined for facet agt1' Created: 04/Sep/13  Updated: 31/Aug/17  Resolved: 01/Jul/15

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

Type: Technical task Priority: Critical
Reporter: John Hammond Assignee: Bruno Faccini (Inactive)
Resolution: Fixed Votes: 0
Labels: HSM, test

Issue Links:
Related
is related to LU-3561 Add a sanity test for HSM Resolved
Rank (Obsolete): 10065

 Description   

After 8d8f071648d64f8a16591481064e13f590629caa LU-3561 tests: improve sanity-hsm.sh to support remote agent, sanity-hsm.sh can not longer be run out of the box. The newly introduced variables

- AGTCOUNT: number of agents
- AGTDEV{N}: target HSM mount point (root path of the backend)
- agt{N}_HOST: hostname of the agent agt{N}
- SINGLEAGT: facet of the single agent

should be given reasonable fallback values so that sanity-hsm.sh can be run with minimal configuration.



 Comments   
Comment by John Hammond [ 20/Feb/14 ]

Still a bug.

# export MOUNT_2=y
# sh ./lustre/tests/llmount.sh
# sh ./lustre/tests/sanity-hsm.sh 
Logging to shared log directory: /tmp/test_logs/1392929634
t: Checking config lustre mounted on /mnt/lustre2
Checking servers environments
Checking clients t environments
t: Checking config lustre mounted on /mnt/lustre
Checking servers environments
Checking clients t environments
Using TIMEOUT=20
disable quota as required
osd-ldiskfs.track_declares_assert=1
running as uid/gid/euid/egid 500/500/500/500, groups:
 [touch] [/mnt/lustre/d0_runas_test/f29394]
excepting tests: 34 35 36 200 221 223b 31a
Killing existing copytools on 
cannot run remote command on killall -q lhsmtool_posix with no_dsh
Set HSM on and start
Waiting 20 secs for update
Updated after 9s: wanted 'enabled' got 'enabled'
Start copytool
No host defined for facet agt1
Comment by Andreas Dilger [ 03/Dec/14 ]

It would be nice to see some progress on this issue. It seems it should be possible to default to use a second mountpoint on the same client for the agent? That allows users to test with a single node config, while avoiding the complexity of having to configure a separate agent mode/VM just to run this test.

Comment by Gerrit Updater [ 08/Dec/14 ]

Faccini Bruno (bruno.faccini@intel.com) uploaded a new patch: http://review.whamcloud.com/12982
Subject: LU-3881 tests: automatic minimal config in sanity-hsm
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f99ebadf43029ca36472a150b613b004fe885c87

Comment by Bruno Faccini (Inactive) [ 08/Dec/14 ]

Sorry to have been so late to start working on this ...
Master patch is at http://review.whamcloud.com/12982.

Comment by Gerrit Updater [ 01/Jul/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/12982/
Subject: LU-3881 tests: single-node minimal config in sanity-hsm
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 64367bafc833531f279467af6c07c5651e153985

Comment by Peter Jones [ 01/Jul/15 ]

Landed for 2.8

Generated at Sat Feb 10 01:37:43 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.