[LMR-5] Robinhood lhsm_remove policy not compatible with Lemur Created: 19/May/17 Updated: 19/May/17 |
|
| Status: | Open |
| Project: | Lemur |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Matt Rásó-Barnett (Inactive) | Assignee: | Lemur Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
I noticed today during some testing that the Robinhood feature of delayed This may well be a Robinhood problem, but I wondered if you were aware of it My setup is with Robinhood v3.0.0, and it's the 'lhsm_remove' policy. I create Robinhood then submits a HSM_REMOVE operation for this file, I see the 'remove' lrh=[type=10680000 len=136 idx=1/5] fid=[0x200000bd0:0x3:0x0] dfid=[0x200000bd0:0x3:0x0] compound/cookie=0x591c1c41/0x591c1c3e action=REMOVE archive#=1 flags=0x0 extent=0x0-0xffffffffffffffff gid=0x0 datalen=0 status=SUCCEED data=[] and then I see the following in lhsmd logs: ALERT 2017/05/17 15:01:19 /root/rpmbuild/BUILD/lemur-.5.1_2_g55041d6/src/github.com/intel-hpdd/lemur/cmd/lhsmd/agent/agent_action.go:127: Error reading UUID: trusted.lhsm_uuid: no such file or directory (id:3 REMOVE [0x200000bd0:0x3:0x0] ) Is this because it's trying to do the equivalent of a 'lfs hsm_remove FID' on a I think this feature works with lhsmtool_posix because they use the file's FID 1495099675.796599 lhsmtool_posix[3859]: '[0x200000bd0:0xc:0x0]' action REMOVE reclen 72, cookie=0x591c1c42 1495099675.797789 lhsmtool_posix[3859]: cannot get path of FID [0x200000bd0:0xc:0x0]: No such file or directory (2) 1495099675.797837 lhsmtool_posix[3859]: removing file '/mnt/qstar/rds-s1/hsm/000c/0000/0bd0/0000/0002/0000/0x200000bd0:0xc:0x0' 1495099675.828181 lhsmtool_posix[3859]: Action completed, notifying coordinator cookie=0x591c1c42, FID=[0x200000bd0:0xc:0x0], hp_flags=0 err=0 1495099675.828969 lhsmtool_posix[3859]: llapi_hsm_action_end() on '/rds-s1/.lustre/fid/0x200000bd0:0xc:0x0' ok (rc=0) I'm not sure how the Lemur UUID is constructed, I presume if a request like |