When running sanity-hsm on a single node setup I run into this error:
Set HSM on and start
Waiting 20 secs for update
Waiting 10 secs for update
Update not seen after 20s: wanted 'enabled' got 'stopped'
sanity-hsm : @@@@@@ FAIL: hsm_control state is not 'enabled' on mds1
It seems lctl set_param -P mdt.*.hsm_control enabled silently fails. I do not know if it was recently modified... I tested it on other hsm tunables, it did not work either. Without the -P option, everything works fine.