Hello,
I work with Wojciech - here is some more context on this issue we've
run into. I wonder if anyone has seen this before?
We are using Robinhood v3.0-final, along with Lustre 2.7.
robinhood is failing for us when it goes to execute a policy run,
specifically the LHSM remove policy with the error Wojciech provided:
BUG | in policy_run.c::set_max_time_attrs(), line 436: Unsupported LRU
sort attribute
Here is the config we have for that policy:
lhsm_remove_rules {
rule default {
condition { rm_time > 30d }
}
}
lhsm_remove_trigger {
trigger_on = scheduled;
check_interval = 1h;
}
and the policy template:
#####################################################
# Policy definitions for Lustre/HSM
# Do not modify without the agreement
# of your robinhood support!
#####################################################
# used to be rbh 2.5 "migration" policy for Lustre/HSM
define_policy lhsm_archive {
scope { type == file
and no_archive != 1
and (status == new or status == modified) }
status_manager = lhsm(archive);
status_current = archiving;
default_action = lhsm.archive;
default_lru_sort_attr = last_mod;
}
# used to be rbh 2.5 "purge" policy for Lustre/HSM
define_policy lhsm_release {
scope { type == file
and no_release != 1
and status == synchro }
status_manager = lhsm(release);
default_action = lhsm.release;
default_lru_sort_attr = last_access;
}
# used to be rbh 2.5 "hsm_rm" policy for Lustre/HSM
define_policy lhsm_remove {
scope { type == file }
status_manager = lhsm(removed);
default_action = lhsm.hsm_remove;
default_lru_sort_attr = rm_time;
}
If we remove the lhsm remove policy so it's not running, then
robinhood continues running perfectly for other policies such as
archive.
The error message seems to imply that it doesn't recognise rm_time as
a sort attribute, although it's the default for that policy.
Has anyone else seen this before by any chance?
Thanks,
Matt Raso-Barnett
On Sun, Oct 30, 2016 at 9:52 PM, Wojciech Turek <[email protected]> wrote:
> I am using Robinhood v3. Robinhood service dies the messages in the
> robinhood log says:
> BUG | in policy_run.c::set_max_time_attrs(), line 436: Unsupported LRU sort
> attribute
>
> It was working fine few days and now service does not want to restart. The
> filesystem has just few days and is pretty much empty with just a small
> number of test files.
>
> I tried to run rescan of the filesystem but it does not help.
>
> --
> Wojciech Turek
>
>
>
> ------------------------------------------------------------------------------
> The Command Line: Reinvented for Modern Developers
> Did the resurgence of CLI tooling catch you by surprise?
> Reconnect with the command line and become more productive.
> Learn the new .NET and ASP.NET CLI. Get your free copy!
> http://sdm.link/telerik
> _______________________________________________
> robinhood-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/robinhood-support
>
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support