SLURM AccountingStorageEnforce =协会没有效果
问题描述:
我管理与SLURM和slurmdbd(与MySQL)SLURM AccountingStorageEnforce =协会没有效果
我已经设置在/etc/slurm/slurm.conf
AccountingStorageEnforce=associations
我如下选项的一个集群已重新载入配置:
scontrol reconfig
我在sacctmgr中配置了一些关联。
问题是,我仍然能够提交一个工作与一个非现有的slurm用户。我对AccountingStorageEnforce = associations选项的理解是,非现有用户无权提交工作。
答
看来,这种修改需要考虑到,你需要做一个完整的重启slurm守护进程,重载是不够的。
答
的slurm.conf
手册页指出
AccountingStorageEnforce
This controls what level of association-based enforcement to impose on job submissions. Valid options are any combination of associations, limits, nojobs, nosteps,
qos, safe, and wckeys, or all for all things.
[...]
When AccountingStorageEnforce is changed, a restart of the slurmctld daemon is required (not just a "scontrol reconfig").
,所以你必须确保重新启动SLURM控制后台程序(和辅助控制器如果配置)。